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]>
7 lines
269 B
TypeScript
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(" ");
|
|
}
|