From 8f82a8e581e02a32aa97069052cdfccfc522b930 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 4 May 2001 13:05:48 +0000 Subject: More adds for SRP - SRPSHA1 and bcrypt --- src/crypt.gaa | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/crypt.gaa') diff --git a/src/crypt.gaa b/src/crypt.gaa index 157e8c719f..e37a1552bf 100644 --- a/src/crypt.gaa +++ b/src/crypt.gaa @@ -6,8 +6,14 @@ option (u,username) STR "username" { $username = $1 } "specify username." #char *passwd; option (p, passwd) STR "passwd" { $passwd = $1 } "specify a password file." +#char *crypt; +option (c, crypt) STR "crypt" { $crypt = $1 } "specify crypt algorithm (bcrypt/srpsha)." + +#int salt; +option (s, salt) INT "salt" { $salt = $1 } "specify salt/cost size for crypt algorithm." + option (h, help) { gaa_help(); exit(0); } "shows this help text" -init { $username=NULL; $passwd=NULL; } +init { $username=NULL; $passwd=NULL; $crypt=NULL; $salt=0; } OBLIGAT u -- cgit v1.2.1