Skip to content

Hank076/Authenticator

 
 

Repository files navigation

OTPilot Authenticator

OTPilot Authenticator generates 2-Step Verification (OTP) codes in your browser.

Install from the Chrome Web Store

This is a fork of Authenticator-Extension/Authenticator (source of this fork). On top of upstream, this fork adds:

  • Encrypted cloud backup to Dropbox — OAuth Authorization Code + PKCE via chrome.identity.launchWebAuthFlow; no client secret ships in the extension. (Google Drive backup was removed in 2026-07; OneDrive is a disabled placeholder.)
  • Advisor — security recommendations for your accounts.
  • Host-bound autofill — codes are only injected when the page host matches the account.
  • Redesigned import flow and a CSS custom-property design system (sass/_tokens.scss).

Build Setup

# install dependencies (~2 min, downloads puppeteer Chromium)
npm ci

# build for a target
npm run [chrome, firefox, edge, prod]

Notes:

  • Build output goes to chrome/ (bundles under chrome/js/); these directories are gitignored.
  • npm run prod aborts if src/models/credentials.ts is empty (OAuth credentials are kept out of the repo). chrome/test builds only warn — everything works except live cloud backup.
  • Windows: builds run through bash scripts/build.sh, so use a full Git Bash (with complete coreutils). Running npm test from plain PowerShell fails with 'bash' is not recognized.

Development (Chrome)

# watch build
npm run dev:chrome
# then load the unpacked extension from the `chrome/` directory

Testing

npm test

Runs the extension in a real browser via puppeteer with in-browser mocha (headless: false, so a GUI is required).

i18n

_locales/en/messages.json is the source of truth for keys. Crowdin is no longer used; other locales are maintained by hand. All locales must have the exact same key set as en, enforced by:

node scripts/check-i18n.js

Acknowledgment

We would like to extend our heartfelt thanks to Laurent, the Chief Information Security Officer (CISO) of the University of Luxembourg, and the university's information security team for their invaluable security recommendations to the upstream project.

About

OTPilot Authenticator generates 2-Step Verification codes in your browser.

Topics

Resources

License

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 53.3%
  • Vue 31.5%
  • SCSS 12.8%
  • HTML 1.3%
  • Shell 1.1%