Hacker GitHub

← All repos

scito/extract_otp_secrets

View on GitHub ↗ ★ 1,691 Python

Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.

5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2023-01-19 · latest 2025-09-01

Mentions per year 5 mentions · busiest year 2023 (2)
20082026
  1. …I'm glad I did, and I can't recommend it more. IIRC, this¹ helped tremendously along the way. ¹: https://github.com/scito/extract_otp_secrets
    comment by ezst · 2025-09-01 · in De-Googling TOTP Authenticator Codes
  2. This library uses the GPL v3 license: https://github.com/scito/extract_otp_secrets?tab=GPL-3.0-1-o... Your options are to either go open-source or remove the .proto file.
    comment by 1231232131231 · 2024-03-05 · in Show HN: AuthWin – Authenticator App for Windows
  3. …these application-specific QR codes for backup or transfer purposes using a third-party tool: https://github.com/scito/extract_otp_secrets
    comment by password4321 · 2023-07-09 · in WebAuthn Is Great and It Sucks (2020)
  4. …secret keys from google authenticator app and store them in user friendly format/password manager https://github.com/scito/extract_otp_secrets