git: cryptdisks - update to support options
Alex Hornung
alexh at crater.dragonflybsd.org
Fri Jun 17 16:00:07 PDT 2011
commit 5e1ed6ba26f072c751d1fdccdb9f02a6a0231238
Author: Alex Hornung <ahornung at gmail.com>
Date: Fri Jun 17 23:54:16 2011 +0100
cryptdisks - update to support options
* Update cryptdisks to support options in the last column of the
crypttab file.
* Supported options are:
- 'tries' specifies the number of password retries before failing
- 'timeout' specifies the timeout before the interactive prompt
times out.
- 'keyscript' specifies a script to use instead of a passphrase
prompt.
* Changed default number of 'tries' to 3 (was 1).
Summary of changes:
sbin/cryptdisks/Makefile | 2 +
sbin/cryptdisks/cryptdisks.c | 224 +++++++++++++++++++++++++++++++++--------
sbin/cryptdisks/safe_mem.c | 175 ++++++++++++++++++++++++++++++++
sbin/cryptdisks/safe_mem.h | 9 ++
share/man/man5/crypttab.5 | 30 +++++-
5 files changed, 391 insertions(+), 49 deletions(-)
create mode 100644 sbin/cryptdisks/safe_mem.c
create mode 100644 sbin/cryptdisks/safe_mem.h
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5e1ed6ba26f072c751d1fdccdb9f02a6a0231238
--
DragonFly BSD source repository
More information about the Commits
mailing list