Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Bad authentication fails silently #44

@kevinywlui

Description

@kevinywlui

With a bad token,

% git trac config --user=fake --token=fake 
Saved trac username.
Saved trac token.
Trac xmlrpc URL:
    https://trac.sagemath.org/xmlrpc (anonymous)
    https://trac.sagemath.org/login/xmlrpc (authenticated)
    realm sage.math.washington.edu
Using token-based authentication with the provided JWT token
generated by the Trac server.  If a username and password were
configured as well, the token takes priority.  To unset the
token use:

    git trac config --token=

Retrieving SSH keys...

On the other hand, a bad password attempt raises an git_trac.trac_error.TracAuthenticationError:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions