Hi Vincent,

On Tue, 25 Jun 2024 16:41:16 +0200 Vincent Lefevre <[email protected]> wrote:
> 
> When using Export → FreeOTP+ (key URI), the URIs in the generated file
> have raw space characters. Such characters should be encoded as %20.
> 

I tested it here on my side and I've managed reproduce this bug.

Try adding a new token manually and let me know if you get the
same result as me, please.

You can generate a base32 encoded string like this:
$ echo 123456789 | base32
  MVRWQ3ZAGEZDGNBVGY3TQOIK

Enter the decryption password for $HOME/otpclient.enc

Add token > Manually
TOTP - SHA1 - Account: "test 123" - Issuer: "test 123" - Secret: 
MVRWQ3ZAGEZDGNBVGY3TQOIK - Digits: 6 - Period: 30

Export again, please.

See if you get this result:
$ cat $HOME/freeotpplus-exports.txt
  
otpauth://totp/test%20123%3Atest%20123?secret=MVRWQ3ZAGEZDGNBVGY3TQOIK&issuer=test
 123&digits=6&algorithm=SHA1&period=30


Maybe you should open an issue for upstream:
https://github.com/paolostivanin/OTPClient/issues


Regards,
-- 
Francisco Vilmar Cardoso Ruviaro <[email protected]>
4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to