Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

App refuses some valid secrets #690

Open
marcomarsala opened this issue Jan 28, 2020 · 1 comment
Open

App refuses some valid secrets #690

marcomarsala opened this issue Jan 28, 2020 · 1 comment

Comments

@marcomarsala
Copy link

marcomarsala commented Jan 28, 2020

For ex. the key "ABCDR", is not accepted with manual insertion or scanning a QR code from inside the app, altough perfectly valid. It is accepted if calling the Key Uri from outside the app or opening the QR Code containing the otp:// link with the camera app or another QR code reader.

@marcomarsala marcomarsala changed the title Documentation Fault for "Key Uri Format" Manual insertion refuses some secrets Jan 28, 2020
@marcomarsala marcomarsala changed the title Manual insertion refuses some secrets App refuses some valid secrets Jan 28, 2020
@ThomasHabets
Copy link
Contributor

I see you removed a lot of information in your edits.

REQUIRED: The secret parameter is an arbitrary key value encoded in Base32 according to RFC >> 3548.

But Google Authenticator works only if the secret is exactly 48 characters.

What exactly is the problem, here? GA implements SHA-1 only. Why would you expect, or want, a 5 character secret?

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

2 participants