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

Add TOTP URL to device form #45

Merged
merged 5 commits into from
Aug 17, 2021
Merged

Conversation

MichielBijland
Copy link
Member

#19: not all TOTP storage devices support qrcode scanning

#19: not all TOTP storage devices support qrcode scanning
@nnist
Copy link
Contributor

nnist commented Mar 18, 2020

When I try to enter the secret which is shown below the QR code into 1password in a OTP field, it returns an error. When I try to scan the QR code it works fine, and auto-fills the field with the following:
otpauth://totp/sandbox%3Asuperuser%40example.com?secret=37IQ5XDQZQ5ZTBPJXYHMZHTI3QGK6OQD&algorithm=SHA1&digits=6&period=30&issuer=sandbox
It looks like they expect a URL to be used when filling in the field manually.

It also seems like the secret which is currently shown is different from the one in the QR code. The one in the URL ends with 3QGK6OQD (32 chars) while the one in the secret ends with 0caf3a03 (40 chars, and looks like a hash).

@nnist nnist self-assigned this Aug 17, 2021
@nnist nnist removed their request for review August 17, 2021 16:06
@nnist nnist changed the title Added token secret to device form Add TOTP URL to device form Aug 17, 2021
@nnist nnist merged commit e677a29 into master Aug 17, 2021
@nnist nnist deleted the feature/add_secret_to_device_form branch August 17, 2021 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants