无法更新github上的gpg密钥
我目前在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我咬了一颗子弹,幸运的是删除了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.