@@ -2034,6 +2034,10 @@ gvmd (int argc, char** argv, char *env[])
2034
2034
& priorities ,
2035
2035
"Sets the GnuTLS priorities for the Manager socket." ,
2036
2036
"<priorities-string>" },
2037
+ { "hashcount" , '\0' , 0 , G_OPTION_ARG_CALLBACK ,
2038
+ parse_authentication_goption_arg ,
2039
+ "Use <hashcount> to enhance the computational cost of creating a password hash." ,
2040
+ "<hashcount>" },
2037
2041
{ "inheritor" , '\0' , 0 , G_OPTION_ARG_STRING ,
2038
2042
& inheritor ,
2039
2043
"Have <username> inherit from deleted user." ,
@@ -2114,6 +2118,10 @@ gvmd (int argc, char** argv, char *env[])
2114
2118
& password ,
2115
2119
"Password, for --create-user." ,
2116
2120
"<password>" },
2121
+ { "pepper" , '\0' , 0 , G_OPTION_ARG_CALLBACK ,
2122
+ parse_authentication_goption_arg ,
2123
+ "Use <pepper> to statically enhance salt of password hashes (maximal 4 character)." ,
2124
+ "<pepper>" },
2117
2125
{ "port" , 'p' , 0 , G_OPTION_ARG_STRING ,
2118
2126
& manager_port_string ,
2119
2127
"Use port number <number>." ,
@@ -2227,14 +2235,6 @@ gvmd (int argc, char** argv, char *env[])
2227
2235
& verify_scanner ,
2228
2236
"Verify scanner <scanner-uuid> and exit." ,
2229
2237
"<scanner-uuid>" },
2230
- { "pepper" , '\0' , 0 , G_OPTION_ARG_CALLBACK ,
2231
- parse_authentication_goption_arg ,
2232
- "Use <pepper> to statically enhance salt of password hashes (maximal 4 character)." ,
2233
- "<pepper>" },
2234
- { "hashcount" , '\0' , 0 , G_OPTION_ARG_CALLBACK ,
2235
- parse_authentication_goption_arg ,
2236
- "Use <hashcount> to enhance the computational cost of creating a password hash." ,
2237
- "<hashcount>" },
2238
2238
{ "version" , '\0' , 0 , G_OPTION_ARG_NONE ,
2239
2239
& print_version ,
2240
2240
"Print version and exit." ,
0 commit comments