Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#38533 - [libgcrypt] PBKDF2 very slow

Attached to Project: Arch Linux
Opened by Olivier Brunel (jjacky) - Wednesday, 15 January 2014, 18:43 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 17 January 2014, 09:17 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



PBKDF2 implementation in libgcrypt is very slow, this is easilly noticable e.g. when using cryptsetup to luksOpen using a keyfile, since it now (since libgcrypt 1.6.0 in recent update) uses it, instead of its own implementation as it used to before.

Issue has been reported on cryptsetup[1], and a patch for libgcrypt[2] has actually already been accepted.

Considering that luksOpenning a device with a keyfile can now take minutes where it used to be instant (also see [3]) it might be interesting to repackage with the patch.

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 17 January 2014, 09:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.6.0-2, patch has been commited to 1.6 branch
Comment by Andreas Radke (AndyRTR) - Thursday, 16 January 2014, 11:19 GMT
The patch has gone only into git master branch. As nothing is broken so far I won't patch our pkg
and point to use abs for affected users.

See 1.6 branch:;a=shortlog;h=refs/heads/LIBGCRYPT-1-6-BRANCH