-
Notifications
You must be signed in to change notification settings - Fork 431
Phasing out obsolete crypto in rpm #1292
Copy link
Copy link
Closed
Labels
cryptoSignatures, keys, hashes and their verificationSignatures, keys, hashes and their verificationfileformatMatters concerning package (file) formatMatters concerning package (file) formatv6Related to rpm v6 (readiness)Related to rpm v6 (readiness)
Metadata
Metadata
Assignees
Labels
cryptoSignatures, keys, hashes and their verificationSignatures, keys, hashes and their verificationfileformatMatters concerning package (file) formatMatters concerning package (file) formatv6Related to rpm v6 (readiness)Related to rpm v6 (readiness)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Status
Done
We need to come up with a plan how to deal with obsoleted crypto in rpm.
MD5 is practically gone long since and SHA1 is on its way out too, to the point that it's not necessarily even possible to calculate these algorithms anymore (eg MD5 on FIPS mode). Yet we still carry them in various more-or-less prominent and permanent places such as the MD5 header+payload digest, database indexes (RPMDBI_SIGMD5 and RPMDBI_SHA1HEADER), MD5 aliasing for pkgid, and SHA1 aliasing for hdrid, and so on.
Besides the currently obsolete things, new things need to be built with the mindset that all crypto will become obsolete over time, and avoid putting it into new places where it only gets in our way eventually.