无法更新github上的gpg密钥

发布于 2025-01-23 23:52:13 字数 208 浏览 1 评论 0原文

我目前在GITHUB帐户上有一个GPG密钥,我一直在用它来验证一堆提交。最近,我决定制作一个单独的签名子钥匙,以使我的主键远离主电脑。但是,由于没有更新选项,因此我似乎无法更新GPG键以添加新的子键,如果我尝试将其作为新密钥上传,它会抱怨它已经存在(它确实可以,但是旧的没有我的新钥匙)。 我唯一删除键并读取它的选择是,但是这次有subkey吗?即使我阅读了密钥,这也能使我所有现有的提交都无法验证吗?

I currently have a GPG key on my Github account, which I've been using to verify a bunch of commits. Recently, I decided to make a separate signing subkey to keep my master key off of my main PC. However, it doesn't seem like I can update the GPG key on Github to add the new subkey because there is no update option, and if I try to upload it as a new key it complains that it already exists (which it does, but the old one doesn't have my new subkey).
Is my only option to delete the key and readd it, but with the subkey this time? Will that unverify all of my existing commits, even after I readd the keys?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南汐寒笙箫 2025-01-30 23:52:13

我咬了一颗子弹,幸运的是删除了GPG键,并添加了同一版本的更新版本,它重新验证了所有最初具有该密钥的投入。

I bit the bullet, and fortunately deleting a GPG key and adding an updated version of the same one one re-verifies all commits that had that key originally.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文