检索 Launchpad 密钥时,“gpg --fingerprint” 无输出

检索 Launchpad 密钥时,“gpg --fingerprint” 无输出

我正在尝试签署 ubuntu 代码行为以创建我自己的 ppa。我gpg --fingerprint按照启动板操作指南的要求在我的服务器上运行该命令。问题是 - 没有任何输出。这是我第一次运行该命令时得到的输出:

$ gpg --fingerprint
gpg: directory `/home/eimantas/.gnupg' created
gpg: new configuration file `/home/eimantas/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/eimantas/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/home/eimantas/.gnupg/pubring.gpg' created
gpg: /home/eimantas/.gnupg/trustdb.gpg: trustdb created

随后的命令调用根本没有输出。我甚至尝试将输出重定向到文件(认为它会检查 stdout 类型),但仍然没有结果。输出到哪里了?我应该配置一些额外的东西吗?

答案1

默认情况下,您的密钥环上没有密钥。这些消息可以忽略,如果您删除目录~/.gnupg,这些消息将再次可见。

您需要首先创建 GPG 密钥,Launchpad 的帮助页面上描述了 GUI 和 CLI 方式:https://help.launchpad.net/YourAccount/ImportingYourPGPKey

相关内容