apt (1.4~beta1) unstable; urgency=medium
Support for GPG signatures using the SHA1 or RIPE-MD/160 hash
algorithms has been disabled. Repositories using Release files
signed in such a way will stop working. This change has been made
due to security considerations, especially with regards to possible
further breakthroughs in SHA1 breaking during the lifetime
of this APT release series.
It is possible (but STRONGLY ADVISED AGAINST) to revert to the previous
behaviour by setting the options
APT::Hashes::SHA1::Weak "yes";
APT::Hashes::RIPE-MD/160::Weak "yes";
Note that setting these options only affects the verification of the overall
repository signature.
-- Julian Andres Klode <jak@debian.org> Fri, 25 Nov 2016 13:19:32 +0100
并从 linuxcnc debian repo 更新导致以下错误:
$ apt update
[...]
Err:14 http://linuxcnc.org jessie Release.gpg
The following signatures were invalid: EEDD0D29F81DCAA0D258661F3CB9FD148F374FEF
[...]
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://linuxcnc.org jessie Release: The following signatures were invalid: EEDD0D29F81DCAA0D258661F3CB9FD148F374FEF
W: Failed to fetch http://linuxcnc.org/dists/jessie/Release.gpg The following signatures were invalid: EEDD0D29F81DCAA0D258661F3CB9FD148F374FEF
W: Some index files failed to download. They have been ignored, or old ones used instead.
由于 apt 的 1.4 版(目前在 sid 中),不支持 debian 存储库中的 SHA1 哈希:
并从 linuxcnc debian repo 更新导致以下错误:
Release.gpg 文件应该使用比 SHA1 更强的散列来签名。
我认为(但我不完全确定)这应该有所帮助:https ://debian-administration.org/users/dkg/weblog/48例如,将您的回购密钥的默认摘要设置为其他内容。