Files
t5de-hub/apps/web/lib/importer.ts
T
dhkatzandClaude Opus 5.5 dcc39d82ab
Pull request / title (pull_request) Successful in 2s
CI / test (pull_request) Successful in 1m18s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped
feat: importer IMVU accounts and settings from the console
The importer sends its RSA public key (POST /importer/hello); the console
looks IMVU accounts up, confirms them in a dialog, and seals each password
in the browser for that key. The hub keeps only the sealed copy, until the
importer confirms it has it. Accounts are tried in order; settings (rate,
jobs at once) come from the console too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 10:01:11 -08:00

7 lines
269 B
TypeScript

// Shared by the console's importer page and its client parts.
/** The start of a key's fingerprint, for people to compare: "1a2b 3c4d 5e6f 7a8b". */
export function shortFingerprint(hex: string): string {
return (hex.slice(0, 16).match(/.{4}/g) ?? []).join(" ");
}