Reimplemented cipher iterations.
commit754bb2eaf10c4426f80f88b760a4c1c73f8a4ed9
authorBen Kibbey <bjk@luxsci.net>
Sun, 27 May 2012 03:02:30 +0000 (26 23:02 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 27 May 2012 03:09:51 +0000 (26 23:09 -0400)
tree8e5fa2177aa4b38035f0eb784fdf0555bebd4d36
parentb28e79672dc1578387c1704df1dbdae3ff9bf5d8
Reimplemented cipher iterations.

This re-adds the "cipher_iterations" and "cipher_progress" configuration
parameters and the defaults of 0 and 2000, respectively. Although
"cipher_iterations" may be 0, 1 iteration is still done. Hopefully this
won't cause any problems like it did in version 1.x. :)

The GETCONFIG command will also return the "cipher_iterations" from the
file header. When the file doesn't exist then the configured default
will be returned.
doc/config.example
doc/magic
doc/pwmd.texi
src/agent.c
src/agent.h
src/commands.c
src/pwmd.c
src/rcfile.c
src/rcfile.h