diff options
author | lloyd <[email protected]> | 2010-06-15 20:15:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-15 20:15:52 +0000 |
commit | 72f7d1292bf9a38013e9f69a7db4fa262064795c (patch) | |
tree | 0f168cf718ef85a334faacb1bfc4bbbd66a97dd8 /src/pk_pad | |
parent | 6565cf0df1ed88a818aecf6de7635531e05c0871 (diff) |
Increase the iteration count and salt size used for encrypted
private keys.
For the older PBES1, we can only increase the iteration
count (from 2048 to 10000); the salt is fixed by the standard to
64 bits. This is probably OK, since PBES1 is also limited to
(at best) 64-bit encryption keys and thus is pretty unsafe
anyway.
For PBES2, increase the iteration count (also 2048 to 10000) and
increase the size of the salt from 64 bits to 96 bits.
This will only affect keys which are encrypted by a version after
this revision.
Diffstat (limited to 'src/pk_pad')
0 files changed, 0 insertions, 0 deletions