20 entry types
Catalog of QubKey's 20 entry types — EntryData schema, protected fields, and UI labels (PassManagerWebV4).
QubKey implements 20 entry types defined in the desktop app (Rust EntryType / EntryData in models.rs). Each type has a typed field schema; secrets are masked via is_protected_field.
Attachments: all 20 types accept encrypted files and folders. Stored in Entry.attachments (EntryAttachments); the Document type uses DocumentInner.files / folders with the same DocumentAttachment / DocumentFolder model (attachment_store_mut in document_service.rs).
This section mirrors the product model exactly: discriminants, categories (EntryCategory), fields, Rust types, and UI labels (PassManagerWebV4 i18n). Only the entry title is required by validation.
From web logins to crypto wallets — typed schema, masked secrets, and encrypted attachments on all 20 types.
Attachments on every type — drag-and-drop encrypted files, folder organization, attachment badge in the vault list (v1.0.2+).
Browse by category
Passwords
6 types
Password
Password
Website or app password with optional TOTP.
SSHKey
SSH Key
SSH host, keys, and passphrase.
PGPKey
PGP Key
PGP public/private key material.
TokenLogin
Token Login
Bearer tokens, API keys, OAuth-style secrets.
Passkey
Passkey
WebAuthn credentials and key handles.
RecoveryCodes
Recovery Codes
One-time or backup code lists.
Financial
3 types
Identity
6 types
NationalID
National ID
Government-issued national ID card.
Passport
Passport
Passport book or card numbers and travel identity.
DriverLicense
Driver License
Motor vehicle licence.
HealthID
Health Card
Health insurance or medical card.
Profile
Profile
Person profile: contact, tax, and PII.
ContactAddress
Contact/Address
Postal address and non-secret contact info.
Document
1 types
Note
3 types
Device Access
1 types
Sync
Source of truth: src/models.rs, i18n src/i18n/locales/en.json, guide Docs/01_Development/Features/Adding_New_Entry_Type.md. Regenerate: node lib/docs/scripts/sync-entry-types-catalog.mjs.
All 20 types
| Type | Disc. | Category | Description |
|---|---|---|---|
| Password | 0 | Passwords | Website or app password with optional TOTP. |
| SSHKey | 1 | Passwords | SSH host, keys, and passphrase. |
| PGPKey | 2 | Passwords | PGP public/private key material. |
| TokenLogin | 3 | Passwords | Bearer tokens, API keys, OAuth-style secrets. |
| Passkey | 4 | Passwords | WebAuthn credentials and key handles. |
| RecoveryCodes | 5 | Passwords | One-time or backup code lists. |
| CreditCard | 6 | Financial | Payment card PAN, expiry, and CVV. |
| BankAccount | 7 | Financial | Bank account number and branch metadata. |
| CryptoWallet | 8 | Financial | On-chain address and private material. |
| NationalID | 9 | Identity | Government-issued national ID card. |
| Passport | 10 | Identity | Passport book or card numbers and travel identity. |
| DriverLicense | 11 | Identity | Motor vehicle licence. |
| HealthID | 12 | Identity | Health insurance or medical card. |
| Profile | 13 | Identity | Person profile: contact, tax, and PII. |
| ContactAddress | 14 | Identity | Postal address and non-secret contact info. |
| Note | 15 | Note | Long text note body. |
| RecoveryPhrase | 16 | Note | BIP39 or similar mnemonic storage. |
| ConfigSnippet | 17 | Note | .env or config paste. |
| Document | 18 | Document | Embedded file attachments (single or multiple) with legacy mirror fields. |
| WiFi | 19 | Device Access | Wireless network name and PSK. |
Attachments
Attachments (all types)
All entry types (discriminants 0–19) accept multi-file attachments with folders, encrypted in the vault.
| Rust location | Types |
|---|---|
Entry.attachments (files, folders) | Password, SSHKey, CreditCard, Note, WiFi, … (all except Document inner payload) |
DocumentInner.files / folders | Document type only (same DocumentAttachment / DocumentFolder structures) |
Shared structures (document_service.rs):
- DocumentAttachment:
id,filename,mime_type,content(protected),folder_id - DocumentFolder:
id,name,parent_id
In the UI: drag-and-drop, attachment badge, “attachments first” sort, vault ZIP/7z export with passmanager-secrets.json.