-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Do not include any padding in the otpauth URI #12646
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
base: develop
Are you sure you want to change the base?
Conversation
da4704f to
f2a5bb7
Compare
f2a5bb7 to
be02d86
Compare
|
Why make any changes at all? This is a SHOULD not a must. I am not in favor of making s change here. It's also still in draft. |
|
Yes, it's only a draft, but that's the be best what we have ATM. The draft states
So far there are multiple bug reports that the padding causes issues... |
|
There is only one and it was ios Google authenticator being dumb. Ironically there are a few many years ago that resulted in things NOT working because padding was missing. (see here: https://github.com/keepassxreboot/keepassxc/issues?q=sort%3Aupdated-desc%20is%3Aissue%20state%3Aclosed%20totp%20padding) |
|
At the end of the day, padding only matters in the QRCode display of the otpauth url. There was a suggestion to add a checkbox to that display to remove padding. That should probably be the implementation we go for here. Removing padding on storage of the BASE32 is not a good idea since other KeePass compatible apps might be requiring it. |
The storage is not changed at all, the padding is just not included in the otpauth URI as recommended by the RFC draft. |
|
I will mull this over |
The IETF draft-linuxgemini-otpauth-uri-02 recommends to not include the padding in Section 3.3.1. cf. https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-02.html#section-3.3.1 (fixes issue keepassxreboot#12540) Signed-off-by: Sven Strickroth <email@cs-ware.de>
be02d86 to
c5c06ce
Compare
The IETF draft-linuxgemini-otpauth-uri-02 recommends to not include the padding in Section 3.3.1. cf. https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-02.html#section-3.3.1
(fixes issue #12540)
Type of change