Skip to main content

Module recipients

Module recipients 

Source
Expand description

Recipient management: authorize, revoke, and list vault recipients.

Structs§

RecipientEntry
A single recipient entry with resolved display info.
RecipientGroup
A group of recipients sharing a display name.
RevokeResult
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. recipient can be a pubkey or a display name.
truncate_pubkey
Truncate a pubkey for display, keeping start and end.