-
Notifications
You must be signed in to change notification settings - Fork 47
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
otpclient: with FreeOTP+ export, spaces in key URIs are not encoded #367
Comments
hmmm doesn't happened here. I have exported my tokens and all is fine, e.g.:
|
internally, it's using |
I'll check on Debian testing what's going on |
Can confirm that it works fine for me also on Debian testing. I would need a reproducer in order to debug what's happening. |
Apparently the issue occurs only for the issuer. For instance:
The space for the account is correctly encoded, but not the one for the issuer. |
ahhh found the issue! Will fix it asap, thanks @vinc17fr EDIT: it will be part of release 3.7.0 which I plan to release either tomorrow or on the weekend |
I've reproduced on both debian 12.5, testing and unstable. Maybe that will help, You can generate a base32 encoded string like this: And add a new token manually: Export > FreeOTP+ (Key URI) otpauth://totp/test%20123%3Atest%20123?secret=MVRWQ3ZAGEZDGNBVGY3TQOIK&issuer=test 123&digits=6&algorithm=SHA1&period=30 The same content I showed in the bug. In my opinion, the field issuer is coming with uncoded space. |
Hi @paolostivanin,
When using Export → FreeOTP+ (key URI), the URIs in the generated file
have raw space characters. Such characters should be encoded as %20.
Please, see:
https://bugs.debian.org/1074263
Maybe you can tell us if this happens on your side too.
Thanks!
The text was updated successfully, but these errors were encountered: