> The SSHA of the raop1 is placed in > /etc/openxpki/config.d/realm.tpl/auth/handler.yaml as > > raop1: "{ssha}zsmRmCaV2+Mg2t49v5hk3znKOL1VbnRz" > > the openxpkiadm hashpwd of OpenXPKI gives the following output > > Your hashed password is: > $argon2id$v=19$m=32768,t=3,p=1$OTF5RTA5ZEt5cHM5Qmord1hRSktoQT09$fP5TeBuDgqimXDoCXH+q2g > > How the argon2 will be used in handler.yaml file for raop argon2 password??
That would be ... Operator Password: type: Password # The passwords can be generated with "openxpkiadm hashpwd" # or with "openssl passwd -5" # The password below is "openxpki" for all three users role: RA Operator user: raop: "$argon2id$v=19$m=32768,t=3,p=1$OTF5RTA5ZEt5cHM5Qmord1hRSktoQT09$fP5TeBuDgqimXDoCXH+q2g" ... > Furthermore what is the command switch to use SHA512, i am trying the > following one but it is not working > > openxpkiadm hashpwd -s sha512 > Unsupported scheme - supported values: sha|ssha|md5|smd5|crypt|argon2 Works for me: # openxpkiadm hashpwd Please type your password, end with return: **** Please re-type your password: **** Your hashed password is: {ssha256}Fx1qiNnzVWvgG1dwyk973l03lcHNhP7Ffi5Rgjmz2w8rT0Q2Y2lhUUxsL1hqVEtwSUpqektRPT0= # openxpkiadm hashpwd -s sha256 Please type your password, end with return: **** Please re-type your password: **** Your hashed password is: {sha256}iNQmb9TmM40TuEX88olXnSCciXgjuSF9o+Fhk28DFYk # openxpkiadm hashpwd -s sha512 Please type your password, end with return: **** Please re-type your password: **** Your hashed password is: {sha512}2AIvIGCtbv0perc9zFNVybIUBUsNF3ahNqZp0mp9OxT3OqDQ6/8Z7jMzaPAWS2QZqW2knj5IF1Pn6Wtxa9zLbw Regards Martin _______________________________________________ OpenXPKI-users mailing list OpenXPKI-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openxpki-users