I'm hosting some internal repositories using reprepro.
After the upgrade of the clients to Ubuntu 16.04, apt-get update
gives a warning "InRelease: Signature by key ... uses weak digest algorithm (SHA1)".
InRelease file starts like that:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
So, reprepro has signed the InRelease file with a SHA1. How can I change it to SHA256 or SHA512?
gpg.conf
as described above, you may likely need to re-export existing repositories usingreprepro export $codename
to placate clients. – sxc731 Oct 05 '17 at 08:31gpg
at least once so it creates the file. You'd have to do that anyway to create and export your key. – Alexis Wilke Sep 28 '19 at 22:15