From 4b499700479f6473f522c3469e9470e9691cab73 Mon Sep 17 00:00:00 2001 From: chapmajs Date: Tue, 30 Jul 2024 16:00:48 -0400 Subject: [PATCH] Add argon2 support to password_hash Adding the argon2 algorithm for `password_hash` -- this is already supported in `passlib` and is now the default hashing algorithm on NetBSD 10. --- lib/ansible/plugins/filter/password_hash.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/filter/password_hash.yml b/lib/ansible/plugins/filter/password_hash.yml index 5776cebfc5d..a2c6150fe85 100644 --- a/lib/ansible/plugins/filter/password_hash.yml +++ b/lib/ansible/plugins/filter/password_hash.yml @@ -17,7 +17,7 @@ DOCUMENTATION: description: Hashing algorithm to use. type: string default: sha512 - choices: [ md5, blowfish, sha256, sha512, bcrypt ] + choices: [ md5, blowfish, sha256, sha512, bcrypt, argon2 ] salt: description: Secret string used for the hashing. If none is provided a random one can be generated. Use only numbers and letters (characters matching V([./0-9A-Za-z]+)). type: string