Summary: | sys-apps/portage-2.1.10.49: internal version of whirlpool algorithm generates wrong hash | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Kacper Kowalik (Xarthisius) (RETIRED) <xarthisius> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 409383 |
Description
Kacper Kowalik (Xarthisius) (RETIRED)
2012-03-01 10:58:38 UTC
It gets the correct result if the entire file content is passed to the update method in one big hunk. I guess I'll go through the code and compare it to whirlpool.c from the reference implementation (assuming it gets the same result as openssl): http://www.larc.usp.br/~pbarreto/whirlpool.zip This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=3596fc3822bb82dfe05a58fdb78220e399175a4d This is in 2.2.0_alpha91, but I'll leave this bug open until it's in an unmasked release. This is fixed in 2.1.10.50. |