Expand description
Recipient management: authorize, revoke, and list vault recipients.
Structs§
- Recipient
Entry - A single recipient entry with resolved display info.
- Recipient
Group - A group of recipients sharing a display name.
- Revoke
Result - Result of revoking a recipient.
Functions§
- authorize_
recipient - Add a recipient to the vault. Returns an error if the pubkey is invalid or already present.
- format_
recipient_ lines - Group recipient entries by display name and format for display. Returns plain-text lines (no ANSI colors).
- key_
type_ label - Return the key type label for a pubkey string.
- list_
recipients - List all recipients in the vault with optional name resolution.
- revoke_
recipient - Remove a recipient from the vault.
recipientcan be a pubkey or a display name. - truncate_
pubkey - Truncate a pubkey for display, keeping start and end.