<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8" -->

---
title: Your family should have a shared two-factor...
description: Give every family member the same TOTP code in their authenticator app, and use it to check that a caller really is a relative. Each person reads one half of...
canonical: https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Your family should have a shared two-factor authentication code | daily.dev
og:description: Give every family member the same TOTP code in their authenticator app, and use it to check that a caller really is a relative. Each person reads one half of...
og:url: https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8
og:image: https://api.daily.dev/og/posts/Eu3ZyrHD8.png
og:image:alt: Your family should have a shared two-factor authentication code
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Your family should have a shared two-factor authentication code

**[Terence Eden](https://daily.dev/sources/shkspr)** · 6 min read · 2 upvotes · 1 comments

## Summary

Give every family member the same TOTP code in their authenticator app, and use it to check that a caller really is a relative. Each person reads one half of the current code to the other, so both sides are verified. Sending an attacker a 1-in-a-thousand chance to guess the correct code is, he thinks, an acceptable risk. A browser-based generator makes the shared QR code. The system fails against a stolen device, coercion, man-in-the-middle relaying, one person impersonating another, and clock drift. Easy AI voice cloning is one reason to take impersonation seriously, and he thinks the system is a relatively simple extra layer of protection for family chats.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shkspr.mobi/blog/2026/11/your-family-should-have-a-shared-two-factor-authentication-code>

## Questions this post answers

### How can I use a TOTP authenticator app as a shared family password to verify that a caller really is my relative?

Generate one TOTP QR code and have every family member scan it into their authenticator app so all show the same number. To verify a caller, ask for the first three digits of the current code, then give them the last three. Checking both directions confirms each side knows the code.

_Developers who care about scams and authentication keep up with security practices on daily.dev._

### What are the weaknesses of using a shared TOTP code to verify family members during a phone call?

It has five failure modes: a stolen, unlocked or hacked device that reveals the code; coercion of the caller; a man-in-the-middle relaying codes between two parties; impersonation, since anyone sharing the code can pose as another member; and clock drift between phones, which makes the code fail to validate even for the right person.

_Staying sharp on attack patterns like these is easier with daily.dev's security coverage._

### Why split a shared TOTP verification code into two halves between two people?

Splitting avoids waiting for the code to roll over to the next one. One person reads the first three digits and the other reads the last three, so both are verified quickly. The tradeoff is that an attacker has a 1-in-a-thousand chance of guessing three digits, a risk considered acceptable.

_Weighing security tradeoffs like this is routine for developers reading on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 1 discussion and 96 comments across hackernews (as of 2026-11-29).

**TL;DR:** Most commenters think a shared TOTP code is clever in theory but impractical in the real-world scam scenarios it's meant to prevent, and strongly favor a simpler shared passphrase or challenge-response question instead.

**Sentiment:** 10% positive · 30% mixed · 60% skeptical

**The case for**

- A few people liked the two-part call-and-response idea that proves trust in both directions.
- Some appreciated that it at least gets people thinking about family authentication against AI voice scams.
- One person found the underlying TOTP mechanism clearly explained and technically sound as a concept.

**The pushback**

- Losing or breaking your phone is exactly the scenario where you'd need this, and that's also when you can't access the shared code.
- Reading a time-sensitive code aloud over a call doesn't match how real scam calls (urgent, panicked, no access to a phone) actually play out.
- Many argue a simple pre-shared passphrase or personal challenge question is just as secure and far easier for kids or elderly relatives to use.
- It doesn't address common real scams like 'I'm in jail' or 'I'm stranded abroad' where the caller claims they can't provide any code.
- The shared secret/passphrase approach has its own weaknesses, like being extractable from one family member and replayed against another.
- Calling back a known number or verifying via an already-trusted channel (e.g. Signal) was suggested as a more reliable defense than any code scheme.

**By community**

- hackernews (skeptical): Largely dismisses the TOTP scheme as overengineered and impractical compared to a simple shared passphrase or personal challenge question.

**Hottest debate:** Whether a rotating TOTP code is actually better than a simple, memorable shared passphrase for verifying family members during a scam call.

**Open questions**

- How do you authenticate someone who has genuinely lost their phone and thus can't produce the shared code?
- How do you handle scam scenarios where the caller claims they can't access a phone or device at all (e.g. 'I'm in jail')?
- Is a static secret (passphrase/question) actually more resistant to real attacks than a rotating TOTP code, given both can be extracted or guessed?

**Highlights**

> You're missing the threat model here: you receive a call claiming to be from your relative, who says that they lost their phone and can you please send some money for a cab. But they can't give you the 2FA code, because their phone is lost, and they can't get a new one until after you send the money... How do you tell if the call is legitimate? You live in a time where real-time voice fakes and forging phone numbers is near-trivial for scammers...
> — [degamad on hackernews](https://news.ycombinator.com/item?id=50690660)

> It’s good people are thinking about solutions to this problem, and this idea is cute, but I think it misunderstands the requirements. TOTP is about scale, not reliability. In real world systems, TOTP is basically never the final arbiter; it’s the easy path, and if it fails, you have some backup process (in many cases multiple) which doesn’t scale and which looks a lot more like “memorize the family password”. Also, the normal ways your family communicates with you are probably already in some way MFA, just much more conveniently. If a family member messages you from their own number, WhatsApp, signal, etc, you’re probably not going to question it, and if you do, you have to assume the usual MFA path is compromised anyway.
> — [mistercow on hackernews](https://news.ycombinator.com/item?id=50689194)

> First IT maxim says to not to try to solve the administrative problems with a technical means. The problem in TFA is an 'administrative' one - to authenticate the other party. The means are technical - having a TOTP app on the smartphone. And the most common failure mode is? Losing that smartphone. So in the direst need - when you lost your phone, your wallet and keys and sitting somewhere maybe half-naked with a stranger who gave in and allowed you to have their phone to call your beloved grandma[0] - and now she asks the code which you can't provide. And grandma dutifully follows the rules you made for her: to never trust someone who claims to be you but unable to provide the code - because only the scammers would do so. [0] you somehow remember her phone number despite the last two decades the phonebook entries are migrating to your new devices as soon as you etner your Apple/Google password - and the last time you 'punched in' the phone number of some of your relative was when you entered that number into the phonebook in the first place.
> — [justsomehnguy on hackernews](https://news.ycombinator.com/item?id=50690359)

> If someone is asking for money, just calling them back provides a lot of protection. This is especially true if the scammer is spoofing an existing number. Hanging up and calling back will actually reach that person. It also works if someone is claiming to call from an institution like jail, police in a foreign country, etc. “I’m in jail in East Rutherford, NJ and I need bail money.” Ok, I’ll look up that police dept phone number and call them directly to arrange it. The most simple (cheap) phone number spoofing schemes are not capable of receiving a call at the spoofed number. Whereas any real phone number can be called. This is not foolproof but it greatly raises the bar for the resources needed for a scam to succeed. Just never give money after receiving a phone call. Always place the call yourself first.
> — [snowwrestler on hackernews](https://news.ycombinator.com/item?id=50690555)

> One of the most common family-targeting scams is "hi, I'm in prison and need bail money". Another is "hi, I'm stuck in a foreign country and they stole all my stuff, please send me money". This idea does nothing in these cases. If in doubt, it's simpler to ask about some shared memory the person you're talking to should know, but an attacker won't.
> — [humblefly on hackernews · 2 comments](https://news.ycombinator.com/item?id=50690235)

**Source threads**

- [hackernews](https://news.ycombinator.com/item?id=50687538) · 269 points · 96 comments

## Community discussion

Top comments from developers on daily.dev.

**@pdfopsdev** · 0 upvotes

> this breaks exactly when you need it most honestly, phone dies or gets stolen and the attacker's cover story becomes 'my phone's dead, just wire it.' texting the code as a backup channel feels safer than reading it aloud over a call that could itself be the social engineering.

## Similar posts on daily.dev

- [FIRESIDE CHAT: In the AI age, your MFA, authentication apps can be compromised in minutes](https://daily.dev/posts/fireside-chat-in-the-ai-age-your-mfa-authentication-apps-can-be-compromised-in-minutes-no5sbkcvm) · Security Boulevard · 1 upvotes · 0 comments
- [When attackers already have the keys, MFA is just another door to open](https://daily.dev/posts/when-attackers-already-have-the-keys-mfa-is-just-another-door-to-open-w43ekq8fj) · BleepingComputer · 0 upvotes · 0 comments
- [Two-Factor Authentication Breaks Free from the Desktop](https://daily.dev/posts/two-factor-authentication-breaks-free-from-the-desktop-ufoj6gmjt) · Dark Reading · 0 upvotes · 0 comments
- [Death to one-time text codes: Passkeys are the new hotness](https://daily.dev/posts/death-to-one-time-text-codes-passkeys-are-the-new-hotness-77wsyzdsv) · The Register · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#authentication](https://daily.dev/tags/authentication)

[View this post on daily.dev](https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Your family should have a shared two-factor authentication code","url":"https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8"},"datePublished":"2026-11-29T12:38:51.257Z","dateModified":"2026-11-29T20:41:25.324Z","description":"Give every family member the same TOTP code in their authenticator app, and use it to check that a caller really is a relative. Each person reads one half of...","image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","thumbnailUrl":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","isAccessibleForFree":true,"articleSection":"Terence Eden","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Terence Eden","logo":"https://media.daily.dev/image/upload/s--nhylgPuf--/f_auto,q_auto/v1774964413/logos/shkspr?_a=BAMAMiWQ0","url":"https://daily.dev/sources/shkspr"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"security,authentication","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Terence Eden","item":"https://daily.dev/sources/shkspr"},{"@type":"ListItem","position":3,"name":"Your family should have a shared two-factor authentication code"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8","comment":[{"@type":"Comment","text":"this breaks exactly when you need it most honestly, phone dies or gets stolen and the attacker’s cover story becomes ‘my phone’s dead, just wire it.’ texting the code as a backup channel feels safer than reading it aloud over a call that could itself be the social engineering.","datePublished":"2026-11-29T18:03:42.299Z","url":"https://daily.dev/posts/Eu3ZyrHD8#c-EdRTYJn8g","author":{"@type":"Person","name":"PDFops","url":"https://daily.dev/pdfopsdev","image":"https://media.daily.dev/image/upload/s---8isRBKc--/f_auto/v1782922291/avatars/avatar_orjMeK8QKaaVZwGq7ScPz?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/your-family-should-have-a-shared-two-factor-authentication-code-eu3zyrhd8#faq","mainEntity":[{"@type":"Question","name":"How can I use a TOTP authenticator app as a shared family password to verify that a caller really is my relative?","acceptedAnswer":{"@type":"Answer","text":"Generate one TOTP QR code and have every family member scan it into their authenticator app so all show the same number. To verify a caller, ask for the first three digits of the current code, then give them the last three. Checking both directions confirms each side knows the code. Developers who care about scams and authentication keep up with security practices on daily.dev."}},{"@type":"Question","name":"What are the weaknesses of using a shared TOTP code to verify family members during a phone call?","acceptedAnswer":{"@type":"Answer","text":"It has five failure modes: a stolen, unlocked or hacked device that reveals the code; coercion of the caller; a man-in-the-middle relaying codes between two parties; impersonation, since anyone sharing the code can pose as another member; and clock drift between phones, which makes the code fail to validate even for the right person. Staying sharp on attack patterns like these is easier with daily.dev's security coverage."}},{"@type":"Question","name":"Why split a shared TOTP verification code into two halves between two people?","acceptedAnswer":{"@type":"Answer","text":"Splitting avoids waiting for the code to roll over to the next one. One person reads the first three digits and the other reads the last three, so both are verified quickly. The tradeoff is that an attacker has a 1-in-a-thousand chance of guessing three digits, a risk considered acceptable. Weighing security tradeoffs like this is routine for developers reading on daily.dev."}}]}
```

