Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Debian packages use weak digest algorithm #1173

Closed
jtojnar opened this issue Oct 17, 2016 · 3 comments
Closed

Debian packages use weak digest algorithm #1173

jtojnar opened this issue Oct 17, 2016 · 3 comments
Assignees
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers z-bug (Deprecated Label)

Comments

@jtojnar
Copy link

jtojnar commented Oct 17, 2016

Trying to install Synapse on Yaketty Yak

apt-add-repository 'deb https://matrix.org/packages/debian/ yakkety main'
curl https://matrix.org/packages/debian/repo-key.asc | apt-key add -
apt-get update

produces the following warning:

W: https://matrix.org/packages/debian/dists/yakkety/InRelease: Signature by key C35EB17E1EAE708E6603A9B3AD0592FE47F0DF61 uses weak digest algorithm (SHA1)
@ara4n
Copy link
Member

ara4n commented Nov 16, 2016

Guest74897 just reported this too:

the packages hosted on your repo are signed with SHA1
Debian and Ubuntu enforce SHA256 or higher entries in the Release and/or Packages files since March
yeah - so basically users are unable to install or upgrade their matrix installations since march
here is the notice from the apt team: https://juliank.wordpress.com/2016/03/14/dropping-sha-1-support-in-apt/
the fix on your side is simple: you just need to pass --digest-algo SHA512 or --digest-algo SHA256 (or another SHA2 algorithm) to gpg when signing the file

@ara4n ara4n added z-bug (Deprecated Label) maintenance labels Nov 16, 2016
@ara4n ara4n added the A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers label Nov 16, 2016
@Flightkick
Copy link

Any update on this? Packages still seem to be signed with SHA-1. Would love to give Synapse a try 😃

@richvdh
Copy link
Member

richvdh commented Apr 10, 2018

I think we fixed this ages ago.

@richvdh richvdh closed this as completed Apr 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers z-bug (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

5 participants