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

Bad authentication fails silently #44

Open
kevinywlui opened this issue Aug 14, 2019 · 0 comments
Open

Bad authentication fails silently #44

kevinywlui opened this issue Aug 14, 2019 · 0 comments

Comments

@kevinywlui
Copy link
Contributor

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:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant