Hacker GitHub

← All repos

google/google-authenticator

View on GitHub ↗ ★ 5,357 Java archived

Open source version of Google Authenticator (except the Android app)

23 mentions on Hacker News by 21 people: 4 stories, 19 comments · first 2015-03-01 · latest 2025-04-24

Mentions per year 23 mentions · busiest year 2015 (5)
20082026
  1. ▲ 3
    TOTP Key URI Format
    story by fanf2 · 2025-04-24 · 0 comments
  2. …where you copy a server-generated secret to your phone through a QR-code-encoded otpauth:// URI ( https://github.com/google/google-authenticator/wiki/Key-Uri-... ). That doesn't happen in a "forgot password" flow. Incidentally, if you…
  3. …encoded into the QR code. [0]: https://shkspr.mobi/blog/2022/05/why-is-there-no-formal-spec... [1]: https://github.com/google/google-authenticator/wiki/Key-Uri-...
  4. otpauth:// is a de-facto standard, since Google Authenticator uses it: https://github.com/google/google-authenticator/wiki/Key-Uri-... The TOTP QR codes decode to one of these URIs
    comment by SaberTail · 2023-08-15 · in GitHub will disable non-2FA accounts?
  5. ▲ 1
    Google Authenticator open source fork archived
    story by roundandround · 2023-01-06 · 0 comments
  6. Seriously, the QR is just a URI that any QR reader can decode (preferably one you trust). https://github.com/google/google-authenticator/wiki/Key-Uri-...
  7. …com?secret=HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ&issuer=ACME%20Co&algorithm=SHA1&digits=6&period=30 (From: https://github.com/google/google-authenticator/wiki/Key-Uri-... ). Notice all parameters I mentioned above are present, as well as a user…
  8. https://github.com/google/google-authenticator/wiki/Key-Uri-... That's the format that gets encoded into the QR code. If you can decode the QR code you can get the secret key easily.
    comment by Jtsummers · 2021-08-27 · in How does Google Authenticator work?
  9. Whoa. TIL https://github.com/google/google-authenticator/wiki/Key-Uri-...
    comment by thephyber · 2020-06-20 · in Turn on MFA Before Crooks Do It for You
  10. …https://en.wikipedia.org/wiki/Time-based_One-time_Password_a... https://github.com/google/google-authenticator/wiki/Key-Uri-...
  11. …configurable number of digits, so Google Authenticator could support that too if it wanted to. [1] https://github.com/google/google-authenticator/wiki/Key-Uri-...
  12. …from what's in the app stores, so patches here won't necessarily show up in those versions. Source: https://github.com/google/google-authenticator/blob/master/R...
  13. …the result in an encrypted file. A variant of the Google Authenticator source code is available at https://github.com/google/google-authenticator but is not what's on the iOS/Android app stores.
  14. ▲ 2
    Any Open Source OTP Hardware Token?
    story by reinhardt1053 · 2016-09-26 · 1 comment
  15. …digit code seems a bit weak. It seems that 6 digits is fixed in Google Authenticator at the moment: https://github.com/google/google-authenticator/wiki/Key-Uri-... . HOTP might also be possible, but then you also have to store state (the…
  16. …no connection to my google account. If I Google kicked me off the two factor app would keep running https://github.com/google/google-authenticator
  17. Ah, indeed. There's a seperate function for HOTP: https://github.com/google/google-authenticator/blob/3fb90bda... And of course the switch statement that handles the core logic starts by checking scratch codes, and if that doesn't work,…
  18. …enter is an invalid scratch code, the system will check to see if it was a valid time-based code): https://github.com/google/google-authenticator/blob/3fb90bda... This older article shows a bit of the hoops one could jump through to get a…
  19. …0, +30, -30). But don't take my word for it, Google has Authenicator source code available here: https://github.com/google/google-authenticator/blob/master/l... Look at "window" or "window_size" options. To quote Google's own comment: > By…
  20. Google also created a PAM module for OTP [1]. [1] https://github.com/google/google-authenticator
    comment by nadams · 2015-08-23 · in One-Time SSH Keys
  21. …to login right away. That to me would be a targeted attack rather than some random phish. [1] - https://github.com/google/google-authenticator/wiki
    comment by nadams · 2015-06-30 · in Google hacked account
  22. An open source one at that! https://github.com/google/google-authenticator/
    comment by __david__ · 2015-03-27 · in Slack was hacked
  23. ▲ 4
    Google Authenticator
    story by xvirk · 2015-03-01 · 0 comments