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 — Show an account's QR on the Share screen to add it to another app by gentslava · Pull Request #5 · authenticator-sh/2fa

Conversation

@gentslava

@gentslava gentslava commented Nov 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

What this changes

Adds Move to another app to the Share screen: a Show QR code button that opens an overlay with the account's otpauth:// QR, so the account can be scanned into Google Authenticator, Aegis or any other authenticator. The existing link form stays and now sits under a Temporary access by link heading; the screen's title becomes Share (it no longer shares only codes). Closes #4.

  • src/components/QrOverlay.tsx — a dialog over the current screen that shows one or more QR "frames" (black on white in both themes, Escape closes only the overlay, focus starts on Done and returns to the opener). Written for more than one frame because a follow-up PR uses it for a Google Authenticator export.
  • src/utils/transfer.ts — nonStandardParams(account): period, digits and algorithm that differ from 30 / 6 / SHA1, read the way generation and buildOTPAuthURL read them, so the warning describes exactly what the QR carries.
  • ShareModal.tsx — the new section; the otpauth URL is built on click and held only while the overlay is open.
  • To keep the screen within the popup's 600px without a scrollbar, the intro line (it repeated the heading and the duration chips) is gone and the password hint is one sentence.
  • 12 new strings in all 20 locales, share.intro removed; README feature bullet.

Why

A site shows its QR once. Without this, an account scanned into the extension cannot be added to a second device later — Share's link carries codes for at most an hour, which is a different job. The secret is already visible in Edit, so this adds a convenience, not an exposure.

Checks

  • npm run verify passes (typecheck, tests, live dependency probe)
  • No new permission in manifest.json
  • No new outbound endpoint
  • No telemetry or analytics of any kind (no new track() events)
  • Nothing here can lose a user's accounts: no storage, vault or backup path is touched

Tests: test/transfer.test.ts (non-standard settings, incl. records missing fields), e2e/share.spec.ts (the QR opens, Escape closes only it; a 60 s / 8-digit / SHA256 account gets the warning naming exactly those). Scanned on a phone with Google Authenticator — codes match.

Translations other than en/ru are mine and would benefit from a native read.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
gentslava and others added 9 commits November 12, 2026 14:59
@gentslava @claude
Name an account's non-standard OTP settings
45f83be
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
Add an overlay that shows one or more QR codes to scan
2d0b65c
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
Show an account's QR on the Share screen to add it to another app
9598ed8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
Start focus inside the QR overlay and hint at scanning only a drawn code
62cc7f5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
Keep the share form as it was and add the QR transfer below it
7ce5dc6
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
Say only what the QR comments can promise
6ad6f15
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
Check the Share QR names an account's non-standard settings
1fcfe41
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
README: moving an account to another app by QR
a4a2c38
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gentslava @claude
Make the Share screen fit without scrolling
f025973
The intro repeated what the chips and the heading already say, and the
password hint spent a second sentence on advice nobody needs. Dropped
both, and the transfer row's hint now fits one line in every language,
so "Move to another app" is on screen at 600px without a scrollbar.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 12, 2026
Show an account's QR code to add it to another authenticator #4
Open
Export to Google Authenticator via migration QR codes #6
Open
Export chosen accounts to Google Authenticator as QR codes #7
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Show an account's QR code to add it to another authenticator

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@gentslava
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.