security - apt 找不到公钥 6DB5542C356545CF

标签 security heroku apt heroku-cli

运行 sudo apt update 并收到以下 Heroku 存储库错误,表明签名验证失败且缺少公钥 6DB5542C356545CF。我在网上能找到的关于这个 key 的信息只有日语或韩语,我都看不懂,翻译它们也没有透露任何特别有用的信息。我担心这可能是 MITM 攻击,有人有任何信息或建议吗?

完整的错误信息:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://cli-assets.heroku.com/apt ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6DB5542C356545CF
W: Failed to fetch https://cli-assets.heroku.com/apt/./InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6DB5542C356545CF
W: Some index files failed to download. They have been ignored, or old ones used instead.

最佳答案

执行:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6DB5542C356545CF

curl https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -

然后

sudo apt-get update

关于security - apt 找不到公钥 6DB5542C356545CF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67601571/

相关文章:

node.js - 无法在 Node 服务器中打开 SSL key 文件 - ENOENT

postgresql - 尝试卸载 Postgres 服务器时出现 "Can' t locate PgCommon.pm”

javascript - 隐藏/保护 Windows 8 应用程序中的 Javascript 源代码

php - 如何防止 PHP 中的 SQL 注入(inject)?

ruby - 从 OAuth 安全存储 token / secret /等的正确方法?

security - 在没有 ssh 的守护进程模式下使用 rsync 有多不安全

git - 无法在heroku上更新应用程序: "git add ." gives error

Herkou "lacks instrumentation functions"上的PostgreSQL

linux - 如何为静态文件创建原生 Debian 包?

带有源代码操作的 Java 注释处理