|
UnENVerse 0.42.6
Local-first desktop secrets manager — TypeScript frontend
|
Importing and exporting authenticator seeds (Phase 22). More...
import st;Variables | |
| const | invoke = invokeTauri |
| export interface | SkippedImport |
| One entry the importer declined, and why. | |
| reason | __pad0__ |
| export interface | MergeReport |
What totp_import_merge hands back. | |
| format | __pad1__ |
| created | __pad2__ |
| account | __pad3__ |
| updated | __pad4__ |
| account | __pad5__ |
| unchanged | __pad6__ |
| account | __pad7__ |
| conflicts | __pad8__ |
| Entries already holding a different seed. | |
| account | __pad9__ |
| skipped | __pad10__ |
| export const | EXPORT_FORMATS |
| Formats the exporter can write, in the order the picker offers them. | |
| label | __pad11__ |
| ext | __pad12__ |
| ext | label |
| ext | ext |
Importing and exporting authenticator seeds (Phase 22).
@description Ente Auth, Aegis, 2FAS, andOTP, Bitwarden and Google Authenticator on the way in; a portable otpauth:// list, Aegis or 2FAS on the way out.
Six formats parsed twice is six chances for the app and the CLI to disagree about what a file meant, and a disagreement here is a seed that imports with the wrong period and produces codes the issuer rejects. So this module holds no parser, no format writer and — the part with real consequences — no merge rules. vault_core::totp_import owns all three; unv totp import and the button wired up here call the same functions.
What is left here is the file picker, the confirmation, and turning the report into a sentence.
buildTotpExport returns plaintext seeds. It is handed straight to a download and never to a toast, a log or the clipboard — the app's equivalent of the CLI's --out, which is the only way a real value leaves there either.
| const invoke = invokeTauri |
| export interface SkippedImport |
One entry the importer declined, and why.
Never carries a secret.
| reason __pad0__ |
| export interface MergeReport |
What totp_import_merge hands back.
| format __pad1__ |
| created __pad2__ |
| account __pad3__ |
| updated __pad4__ |
| account __pad5__ |
| unchanged __pad6__ |
| account __pad7__ |
| conflicts __pad8__ |
Entries already holding a different seed.
Left alone; see the note below.
| account __pad9__ |
| skipped __pad10__ |
| export const EXPORT_FORMATS |
Formats the exporter can write, in the order the picker offers them.
| label __pad11__ |
| ext __pad12__ |
| ext label |
| ext ext |