Nitrokey / pynitrokey

Python client for Nitrokey devices
Apache License 2.0
98 stars 27 forks source link

Accept OTPAUTH URL #371

Closed szszszsz closed 1 year ago

szszszsz commented 1 year ago

As a Secrets App user I would like to have pynitrokey to interpret the URL for the OTP automatically, instead of asking to transform it by the user.

Example URL:

- otpauth://TYPE/LABEL?PARAMETERS
- otpauth://totp/ACME%20Co:john.doe@email.com?secret=HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ&issuer=ACME%20Co&algorithm=SHA1&digits=6&period=30

More at: https://github.com/google/google-authenticator/wiki/Key-Uri-Format

Details at #370

Bonus points for adding QR screen reader.

szszszsz commented 1 year ago

Duplicate of #369