GPG

GPG Key

其他独立公钥下载链接

用途 链接
仅主密钥 链接
主密钥 + 签名密钥 链接
主密钥 + 认证密钥 链接
主密钥 + 加密密钥 链接
主密钥 + 不常用加密密钥 链接
主密钥 + 签名密钥 + 认证密钥 + 加密密钥 + 不常用加密密钥 链接
主密钥 + 签名密钥 + 认证密钥 + 加密密钥 链接
信息
如果你想了解 GPG 密钥,我的 GPG 的正确使用姿势 可能对你有帮助。

上面表格最后一行公钥的公钥如下,点击 链接 下载 asc 格式。

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGEbvjsBEADLWrQtDOokP1ln00IhogpD/tjLJKDzhLTDsfQtKeniCxQ0sibC
BLoK6WLfjmzOShfsxor6pI5I5oogns8agsysLZTkUmq8fNy1DG/H2XJK4nLxQz5s
Zo+SltUoIBHmiqFAXQLx5iS3wb1XDqwY/0ZNsYe6O/XDLUdUJlw56deBIhe1S5jq
fJQNxFyzKXJOYcuvh5Okb2Rig9RV8TRLcTzfY4rvU22OwR78uji/g6eDwjnJi3fG
71ENe6TDjeaT45NEx+CXFJu8r7vjLx2Xqyeh6qbTMtZZKSvIoxWIoBFYciG38HXl
JRZgC4uQCvuw4CI/qFB60TvgiQn08r3YwRrKeNhJFBaCIsA/PD4qgCkxZRyIHaVR
NF2WYLORzqgm14OsPCTrpyzVI+6zxu6Ih7FxO0nqHxMwksBYwSnmpVgeIaUM1wXW
4XpHHYHjSUVyngBt6YaPLAXTb7DO5s919JohKTb5ifPTbev4XF848ifpMqniIz6H
Rbt1zvay8gu1Z2iHB448GTgi+t8njmmYfbWNZIbVEP0+gAdfWNHqSaYsbqzDEdwn
Lr1klhqJg61wkakUNifuxQfA/Vy4CEZJ2QdDG/6Ofr/RqJCSNvHtPlf8jtno0Zz7
b4ICe3d8s9uXAPPSptc3T6EcvYE5JGhSbMs/E4o+CJr/oIbT8L7SGgPBRwARAQAB
tBdSYWluc2hhdyA8cnhnQGxpdmUuY29tPokCTgQTAQoAOBYhBBksezVQyAA+5e+R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

如何将 GPG 密钥导入新设备

首先通过 openssl 的 des3 算法解密 sk-enc2.key 文件导入 GPG 加密子密钥

1
$ openssl des3 -d -in sk-enc2.key | gpg --import

Mac 由于未知原因默认版本老旧,需要加一个参数才能正确解密,或者通过 brew 安装新版本的 openssl

1
$ openssl des3 -d -md sha256 -in sk-enc2.key | gpg --import

然后通过 GPG 加密子密钥解密其它子密钥

1
2
3
4
5
6
# 导入主密钥
$ gpg -d sk.key | gpg --import
# 导入签名子密钥
$ gpg -d sk-sign.key | gpg --import
# 导入认证子密钥
$ gpg -d sk-auth.key | gpg --import

如何解密 GPG 吊销证书

首先根据上面的操作导入主密钥,然后利用主密钥解密 rev.key 文件

1
$ gpg -d rev.key