speakeasyjs / speakeasy

**NOT MAINTAINED** Two-factor authentication for Node.js. One-time passcode generator (HOTP/TOTP) with support for Google Authenticator.
MIT License
2.7k stars 228 forks source link

Add function Speakeasy.otpauthFromURL #131

Open mircoCampanella opened 4 years ago

mircoCampanella commented 4 years ago

Hello guys, you are doing a really good job, I wanted to propose the introduction of a function that given an otpauth-url would generate a TOTP | HOTP example: let url = Speakeasy.otpauthURL({ ...options }); let otp = Speakeasy.otpauthFromURL(url)

carvalholeo commented 4 years ago

Hi bro, how are you??

Apparently, this repo isn't maintained nowadays. It's sad news. But, there's a repo with no active development, but actually maintained right now: github.com/mlogan/squeakeasy. Maybe better post it there.