tadfisher / pass-otp

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

Using pass-otp with addons.mozilla.org #143

Closed ghost closed 2 years ago

ghost commented 3 years ago

Hello and thank you for your work!

There are reports of pass-otp working with Mozilla's 2FA (https://blog.mozilla.org/addons/2021/03/11/two-factor-authentication-required-for-extension-developers/)

However, now Mozilla is not giving me the otpauth:// , it is only giving me a set of 16 alphanumerics.

How do I import them into pass-otp?

ghost commented 3 years ago

There have been reports (https://www.opennet.ru/openforum/vsluhforumID3/124465.html#204) that the otpauth:// should like something like:

otpauth://totp/000000@Bitstamp?secret=A23UCSQTHJADET2I

However, on my machine it still does not work, complaining about:

can't connect to 'socket:///home/lockywolf/.gnupg/log-socket': Connection refused
OTP secret encryption aborted.
tadfisher commented 2 years ago

You can enter the secret using pass otp insert --secret and it will generate a URI for you. See pass otp --help for more options.