Skip to main content

Module parked

Module parked 

Source
Expand description

A key held for the operator to admit later.

A caller with no account yet parks a public key under a name; the operator creating that name presents the same key and the park is spent. Nothing lists the parks: one is looked up by the name the operator was told.

Structs§

ParkedKey
A public key parked at this server, waiting for the operator to admit it under a name.
ParkedKeys
Keys parked at this server, in memory, keyed by name and fingerprint.

Constants§

DEFAULT_PARK_TTL
How long a parked key is held, absent configuration: ten minutes.
PARK_RATE_LIMIT
How many bot.did.parkKey and describeParkedKey calls one caller address may make per PARK_RATE_WINDOW, absent configuration.
PARK_RATE_WINDOW
The window PARK_RATE_LIMIT is measured over, absent configuration.

Functions§

fingerprint
The fingerprint a parked key is shown by: SHA256: and the base64url digest of the multibase text, the way OpenSSH shows a key.