Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticator with TOTP support #15

Closed
stcarrez opened this issue Feb 27, 2023 · 0 comments
Closed

Authenticator with TOTP support #15

stcarrez opened this issue Feb 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@stcarrez
Copy link
Owner

We can use akt as an authenticator with TOTP support (https://www.rfc-editor.org/rfc/rfc6238).

The new auth command has two modes. A first mode where it registers an otpauth URI with a shared secret.
The URI is registered as follows:

akt auth auth.akt otpauth://totp/GitHub:stcarrez?secret=XXXXXXXXXXXXX&issuer=GitHub

Then, to get the authenticate code, the auth command is used and we give the name of the issuer.

akt auth auth.akt GitHub

References:

@stcarrez stcarrez added the enhancement New feature or request label Mar 25, 2023
stcarrez added a commit that referenced this issue Apr 2, 2023
- add --interactive option
- implement several interactive queries to ask for account, secret, digits
@stcarrez stcarrez closed this as completed Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant