tadfisher / pass-otp

A pass extension for managing one-time-password (OTP) tokens
GNU General Public License v3.0
1.26k stars 86 forks source link

NotABug site #194

Open omnigenous opened 4 months ago

omnigenous commented 4 months ago
Cannot parse OTP key URI: otpauth://totp/NotABug.org:%20Free%20code%20hosting:no@mail.com?algorithm=SHA1&digits=6&issuer=NotABug.org%3A+Free+code+hosting&period=30&secret=ABC

Modifying to otpauth://totp/NotABug.org%20Free%20code%20hosting:no@mail.com?algorithm=SHA1&digits=6&issuer=NotABug.org%3A+Free+code+hosting&period=30&secret=ABC (removing : right after totp/NotABug.org) fixes.

Site is barely functional. It failed to display otp image, so I had to view page source to get open it. Not a priority at all, just want to inform.

0xphk commented 1 month ago

It's not correctly url-encoded, the colon : should be represented as %3A, then it should work.

Maybe something went wrong during encoding or the site provided a wrongly encoded URI