Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657438 - net-mail/cmd5checkpw-0.30-r1 broken CRAM-MD5
Summary: net-mail/cmd5checkpw-0.30-r1 broken CRAM-MD5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PMASKED
Depends on:
Blocks: 828307
  Show dependency tree
 
Reported: 2018-06-06 00:40 UTC by Alex Efros
Modified: 2022-12-20 16:31 UTC (History)
3 users (show)

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


Attachments
uint4.patch (uint4.patch,630 bytes, patch)
2018-06-06 00:40 UTC, Alex Efros
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)