Files
tldr/pages.zh/common/gpg-card.md

37 lines
762 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gpg-card
> 管理 OpenPGP 和 PIV 智能卡。
> 类似于 `gpg --card-edit`。
> 更多信息:<https://manned.org/gpg-card>。
- 以交互模式启动:
`gpg-card`
- 非交互地调用一个或多个命令:
`gpg-card {{command1}} -- {{command2}} -- {{command3}}`
- 显示智能卡的信息:
`gpg-card list`
- 使用存储在 OpenPGP 卡上的 URL 获取公钥:
`gpg-card fetch`
- 设置 `fetch` 命令使用的 URL
`gpg-card url`
- 更改或解锁 PIN在非交互模式下使用卡的默认操作
`gpg-card passwd`
- 切换 OpenPGP 卡的 forcesig 标志(即要求在签名时输入用户 PIN
`gpg-card forcesig`
- 恢复智能卡的出厂设置(即删除所有数据并重置 PIN
`gpg-card factory-reset`