功能条目类型
PGPKey — PGP 密钥
PGP 公钥/私钥材料。
PGP 密钥类型(PGPKey,判别式 2)— 密码类别。 PGP 公钥/私钥材料。
分类
← 类型索引 · 类别:密码 · 判别式:2
字段架构 (EntryData)
| 领域 | 锈型 | 可选 | 受保护 | 用户界面标签 |
|---|---|---|---|---|
pgp_email | Option<String> | 是的 | 没有 | 电子邮件 |
pgp_key_id | Option<String> | 是的 | 没有 | 密钥 ID |
pgp_public_key | String | 没有 | 是的 | 公钥 |
pgp_private_key | String | 没有 | 是的 | 私钥 |
passphrase | Option<String> | 是的 | 是的 | 密码(可选) |
notes | Option<String> | 是的 | 没有 | 笔记 |
秘密
受保护字段(在UI中发光,EntryType::is_protected_field):pgp_public_key、pgp_private_key、passphrase。
附件
附件
与所有边境类型相同,PGPKey 边境可能已通过 Entry.attachments(EntryAttachments:files、folders)加密了附件。通过在边境编辑器中拖放来添加它们;二进制内容使用保管库进行加密。
在应用程序中
创建PGP密钥:保管库→+→输入PGPKey→填写字段→添加附件(可选,所有类型)→保存。验证:只需标题(validation_service.rs)。