Same code twice? We ask first
We're adding TOTP authenticator codes to Prominic Verify, and one design decision is worth writing about.
Migration is the easy part: Verify reads Google Authenticator's multi-QR export, so an existing set of codes moves across in a few scans. The harder part is what happens when a code you're importing collides with one you already have.
Google Authenticator doesn't ask - import the same export twice and you get a duplicate of every account. But blindly skipping collisions is worse. When two codes share a name and differ in key, it usually means the credential was re-enrolled after a revocation, and the new one is the live one. Skip it automatically and you've quietly kept only the dead key.
So Verify asks. Exact duplicates are skipped without ceremony. A name collision with a different key gets a question: replace the old entry, keep both, or skip. The decision is made before anything is written, so declining costs nothing.
In development now, shipping in the next release.
#prominicverify #news #ios #android