FeaturesEntry types
PGPKey — PGP keys
PGP public/private key material.
PGP Key type (PGPKey, discriminant 2) — Passwords category. PGP public/private key material.
Classification
← Types index · Category: Passwords · Discriminant: 2
Field schema (EntryData)
| Field | Rust type | Optional | Protected | UI label |
|---|---|---|---|---|
pgp_email | Option<String> | yes | no | |
pgp_key_id | Option<String> | yes | no | Key ID |
pgp_public_key | String | no | yes | Public key |
pgp_private_key | String | no | yes | Private key |
passphrase | Option<String> | yes | yes | Passphrase (optional) |
notes | Option<String> | yes | no | Notes |
Secrets
Protected fields (masked in UI, EntryType::is_protected_field): pgp_public_key, pgp_private_key, passphrase.
Attachments
Attachments
Like all entry types, a PGPKey entry may have encrypted attachments via Entry.attachments (EntryAttachments: files, folders). Add them by drag-and-drop in the entry editor; binary content is encrypted with the vault.
In the app
Create a PGP Key entry: vault → + → type PGPKey → fill fields → add attachments (optional, all types) → Save. Validation: only title is required (validation_service.rs).