Files
orca/src/shared/runtime-access-grants.ts
T
Neil ee04233cf2 feat(pairing): show which devices still sign in with their original pairing code (#38949)
* feat(pairing): show which devices still sign in with their original pairing code

Settings lists paired phones and access links that signed in with a pairing
code but never exchanged it (apps from before single-use pairing) with
"Uses an older pairing method. Update ...". Display only; rows from older
builds are never flagged.

* fix(pairing): no update hint for links used by plain-http browsers or still pairing

A link that served a session-only browser key is marked, so the hint stays
off after a host restart drops those keys. Codes still inside the pairing
window are not flagged either: an updated client exchanges within moments.
2026-11-07 02:17:33 -08:00

11 lines
357 B
TypeScript

export type RuntimeAccessGrant = {
deviceId: string
name: string
createdAt: number
lastSeenAt: number | null
/** The link's last sign-in used the older E2EE framing; absent from older hosts. */
usesLegacyEncryption?: boolean
// Signed in with the link but never swapped it for its own credential (an older Orca).
olderPairingMethod?: true
}