ietf-openpgp
[Top] [All Lists]

Re: [openpgp] 4880bis: Update S2K

2015-04-23 05:38:05
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/23/2015 09:38 AM, Nils Durner wrote:
Hi,


-- Mode 3 has a maximum working factor of 255 (one octet to
specify iterations),


The one octet encodes much larger values, see RFC 4880 section
3.7.1.3. for the formula applied to it. A literal value of 255 in
this octet would compute to an iteration count of 65 millions.

Yep, sorry, my mistake. It is possible to tune the work factor to
match common ones for PBKDF2 in S2K.
The point on fixed memory requirements, on the other hand, still holds
in favor of scrypt

Cheers

Alessandro

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREIAAYFAlU4y4IACgkQE+mB79BmI3FR1AEAmiJ25uiY3cGP8HC2Kb66ZoO4
S7cD++B76xa598iBzqoBAJhFY2/bQb35Fw15NeLlay6gqY/TNi/LEwNaooyVGHBz
=6tlE
-----END PGP SIGNATURE-----

_______________________________________________
openpgp mailing list
openpgp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/openpgp