Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167456 - app-crypt/gnupg-1.4.6 - apply Jari Ruusu's increased salt iteration patch
Summary: app-crypt/gnupg-1.4.6 - apply Jari Ruusu's increased salt iteration patch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-18 11:13 UTC by Scott Squires
Modified: 2007-02-20 06:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Squires 2007-02-18 11:13:12 UTC
Please include this patch for gnupg 1.4.6 as has been done with past versions.
http://loop-aes.sourceforge.net/updates/gnupg-1.4.6.diff.bz2

"When gpg encrypts data with symmetric cipher only or when gpg encrypts
secret keyring keys with secret passphrase, gpg uses seeded (salted) and
iterated key setup. However, default amount of iteration is tuned for slow
processors and can be increased for better resistance against dictionary
attacks. Larger key iteration makes key setup much slower, but also makes
dictionary attacks much slower too.

Included optional gpg patch makes gpg password iteration 128 times slower.
gpg stores new iteration value along with seed bytes into symmetric cipher
encrypted output file or secret keyring, so unpatched gpg versions will read
and decrypt the data just fine."

Reproducible: Always

Steps to Reproduce:
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-18 16:07:43 UTC
Why don't you use gnupg-2 with:
--s2k-mode
--s2k-count

Options which are doing exactly this...?
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-20 06:22:37 UTC
Well... Since upstream has this feature in mainstream version, I don't see why we need to maintain an external patch...