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
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PATCH
Depends on:
Blocks: 828307
  Show dependency tree
Reported: 2018-06-06 00:40 UTC by Alex Efros
Modified: 2022-02-11 23:08 UTC (History)
2 users (show)

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

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]

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.