DragonFly BSD
DragonFly commits List (threaded) for 2011-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: cryptdisks - update to support options


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Jun 2011 15:58:31 -0700 (PDT)

commit 5e1ed6ba26f072c751d1fdccdb9f02a6a0231238
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]