Skip to content

Instantly share code, notes, and snippets.

View RobinDaugherty's full-sized avatar

Robin Daugherty RobinDaugherty

View GitHub Profile
@RobinDaugherty
RobinDaugherty / CHANGELOG.md
Last active April 12, 2023 05:22 — forked from nmurthy/getTotps.js
Authy OTP Export

If you fork and modify this gist, please add a note (to the bottom) about what you changed.

  • Detect the "period" instead of assuming 10 seconds (which was incorrect) or deriving the period based on the number of digits. (@RobinDaugherty 2020-01-16)
  • Show a warning about Authy proprietary OTPs, which are unsupported in other apps at this time. If any other app supports these, please comment about it. (@RobinDaugherty 2020-01-16)
  • Added QR Code to the console directly so that the OTP secret isn't sent to Google. This came from @Puddly (@RobinDaugherty 2020-01-17)
  • Fixed proprietary Authy codes (used by Twilio and Cloudflare for example) using the fix from @Puddly