Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debian 9 support #8

Open
abegemann opened this issue Jun 4, 2020 · 0 comments
Open

Add debian 9 support #8

abegemann opened this issue Jun 4, 2020 · 0 comments
Assignees

Comments

@abegemann
Copy link

Currently debian 9 does not like the generated InRelease file.
W: GPG error: https://x InRelease: The following signatures were invalid: x

Comment found on (https://unix.stackexchange.com/questions/387053/)
The cause of the problem is that with no update to the Debian wiki or other similar doco, and pretty much only a couple of largely Ubuntu-related announcements on a non-Debian personal WWW site, support for keys that state a preference for SHA-1 encryption has been turned off in APT as of Debian 9. (Specifically, it was turned off in APT version 1.4~beta1, and Debian 9 has version 1.4.7.)

The following works:

apt-ftparchive --md5 --sha256 release .  > Release 
gpg --digest-algo SHA256 --armor --output Release.gpg --detach-sign Release
gpg --digest-algo SHA256 --clearsign --output InRelease Release
@maerteijn maerteijn self-assigned this Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants