GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Accstall/accstall-2fa-generator: Browser-only TOTP / 2FA generator. SHA1, 6 digits, 30 seconds. Secret never leaves the tab.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
test
test
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
.nojekyll
.nojekyll
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package.json
package.json
 
 

Repository files navigation

Accstall 2FA Generator

Browser-only TOTP generator. Paste a Base32 secret or an otpauth:// URI and read the current 6-digit code plus the next 30-second window.

Live demo: accstall.com/en/tools/2fa-generator

Privacy contract

  1. Runs in the browser. Parse and generate in JavaScript. The paste is not sent to a backend, logged, or written to localStorage / sessionStorage / IndexedDB.
  2. No query-string secrets. On load, ?secret= is deleted with history.replaceState and a one-line warning is shown. Never put a TOTP secret in a shareable link.
  3. SHA1 / 6 / 30 only. Compatible with Google Authenticator, Authy, and RFC 6238 SHA1 authenticators. otpauth URIs that ask for other digits, periods, or algorithms are rejected. A plausible wrong code is worse than no code.
  4. Clipboard copy prefers navigator.clipboard and falls back to document.execCommand('copy').

Run locally

Open index.html in a browser (file:// works). No build step.

This standalone copy uses the device clock. A wrong OS clock yields wrong codes. The live Accstall page can offset from a server clock (GET /clock → { "t": <unix_ms> }). You can pass { clockUrl: '/clock' } to accstallTotp() if you host that endpoint yourself.

npm test

RFC 4226 HOTP and RFC 6238 TOTP (6-digit) vectors must stay green. Do not tidy the SHA-1 / HMAC bit-twiddling without re-running them. crypto.subtle is intentionally not used so the page still works on plain HTTP / file://.

Sister tools

  • accstall-account-line-parser
  • accstall-cookie-converter

License

MIT

About

Browser-only TOTP / 2FA generator. SHA1, 6 digits, 30 seconds. Secret never leaves the tab.

accstall.github.io/accstall-2fa-generator/

Topics

2fa2fa-authentication2fa-authenticator2fa-codes2fa-generator2fa-security2factor2factor-authentication2fauthaccstall

Resources

Readme
MIT license
Activity
Custom properties

Stars

19 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.