gpg 密钥生成同步到密钥服务器,不是密钥 ID:跳过

gpg 密钥生成同步到密钥服务器,不是密钥 ID:跳过

我尝试创建 GPG 密钥

Real name: Political Science
Email address: @
You selected this USER-ID:
    "Political Science "

Change (N)ame, (E)mail, or (O)kay/(Q)uit? O
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: key 8D32FF6AEEB7BA37 marked as ultimately trusted
gpg: directory '/home/debian/.gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/home/debian/.gnupg/openpgp-revocs.d/980265BC6D8749B0B57526888D32FF6AEEB7BA37.rev'
public and secret key created and signed.

pub   rsa3072 2020-06-11 [SC] [expires: 2022-06-11]
      980265BC6D8749B0B57526888D32FF6AEEB7BA37
uid                      Political Science 
sub   rsa3072 2020-06-11 [E] [expires: 2022-06-11]

现在我无法理解上面哪一个是我的密钥,我应该将其同步到密钥服务器

debian@osboxes:~/$ gpg --keyserver keyserver.ubuntu.com --send-keys 8749B0B57526888D32FF6AEEB7BA37
gpg: "8749B0B57526888D32FF6AEEB7BA37" not a key ID: skipping
debian@osboxes:~/$ gpg --keyserver keyserver.ubuntu.com --send-keys 32FF6AEEB7BA37
gpg: "32FF6AEEB7BA37" not a key ID: skipping

我正在尝试根据答案做到这一点这里

答案1

这个问题很老了,你现在无疑已经找到了答案 - 但在这里,你需要在密钥 ID 前面加上一个 0x:0x8749B0B57526888D32FF6AEEB7BA37

这告诉系统这是一个十六进制数。

相关内容