Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836954 - Upgrade CONTENTS hash algorithm
Summary: Upgrade CONTENTS hash algorithm
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Blocks: 193766
  Show dependency tree
Reported: 2022-04-06 21:40 UTC by Jonathan Davies
Modified: 2023-03-11 23:47 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Davies 2022-04-06 21:40:07 UTC
I'd like to use on my Gentoo systems. This uses an xattr with a hash of what the file was measured to be at some point in time and I would like to pull this hash out of what portage saw when it installed the file.

MD5 is not usable with IMA, and SHA1 is also considered shattered - could we please have the hash recorded in CONTENTS to be SHA256?

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2022-04-07 06:07:22 UTC
See also bugs: