FeaturesEntry types
Passport — Passports
Passport book or card numbers and travel identity.
Passport type (Passport, discriminant 10) — Identity category. Passport book or card numbers and travel identity.
Classification
← Types index · Category: Identity · Discriminant: 10
Field schema (EntryData)
| Field | Rust type | Optional | Protected | UI label |
|---|---|---|---|---|
passport_number | String | no | yes | Passport number |
document_number | Option<String> | yes | yes | Document number |
issuing_country | Option<String> | yes | no | Issuing country |
nationality | Option<String> | yes | no | Nationality |
expiry_date | Option<String> | yes | no | Expiry date |
date_of_birth | Option<String> | yes | no | Date of birth |
place_of_birth | Option<String> | yes | no | Place of birth |
last_name | Option<String> | yes | no | Last name |
first_name | Option<String> | yes | no | First name |
notes | Option<String> | yes | no | Notes |
Secrets
Protected fields (masked in UI, EntryType::is_protected_field): passport_number, document_number.
Attachments
Attachments
Like all entry types, a Passport 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 Passport entry: vault → + → type Passport → fill fields → add attachments (optional, all types) → Save. Validation: only title is required (validation_service.rs).