Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 657438

Summary: net-mail/cmd5checkpw-0.30-r1 broken CRAM-MD5
Product: Gentoo Linux Reporter: Alex Efros <powerman-asdf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: major CC: jstein, net-mail+disabled, treecleaner
Priority: Normal Keywords: PATCH, PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 828307    
Attachments: uint4.patch

Description Alex Efros 2018-06-06 00:40:48 UTC
Created attachment 535002 [details, diff]
uint4.patch

CRAM-MD5 always fail because HMAC-MD5 is calculated incorrectly.

Problem is source dated 1991 :) and nowadays this is wrong:
  /* UINT4 defines a four byte word */
  typedef unsigned long int UINT4;

Attached trivial patch fix the issue, also I've emailed author.
Comment 1 Alex Efros 2019-11-21 15:59:42 UTC
This issue is still actual, please include this patch.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-20 16:31:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb2f02da424e21e6c4dc8c56b3bca1be0f8a6a5

commit 5fb2f02da424e21e6c4dc8c56b3bca1be0f8a6a5
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-12-20 16:20:30 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-12-20 16:30:22 +0000

    net-mail/cmd5checkpw: treeclean
    
    Closes: https://bugs.gentoo.org/657438
    Closes: https://bugs.gentoo.org/833292
    Closes: https://bugs.gentoo.org/334981
    Closes: https://bugs.gentoo.org/721236
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-mail/cmd5checkpw/Manifest                   |  1 -
 net-mail/cmd5checkpw/cmd5checkpw-0.30-r2.ebuild | 65 -------------------------
 net-mail/cmd5checkpw/cmd5checkpw-0.30-r3.ebuild | 65 -------------------------
 net-mail/cmd5checkpw/files/euid_030.diff        | 49 -------------------
 net-mail/cmd5checkpw/files/poppasswd            |  3 --
 net-mail/cmd5checkpw/files/reloc.diff           | 63 ------------------------
 net-mail/cmd5checkpw/metadata.xml               |  5 --
 profiles/package.mask                           |  1 -
 8 files changed, 252 deletions(-)