[pve-devel] applied: [PATCH common 2/2] encrypt_pw: check return value matches expected format
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Apr 7 21:27:12 CEST 2025
Am 31.03.25 um 12:03 schrieb Fabian Grünbichler:
> since this manually constructs the input string for `crypt`, which looks
> different depending on used prefix/hashing algorithm, ensure that it was
> understood by crypt and that it returned a proper hashed password line.
>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>
> Notes:
> alternatively, we could switch to a wrapper around gen_crypt_salt[_..], but a
> quick search didn't find an applicable perl one.. we do have one in
> proxmox-sys ;)
>
> src/PVE/Tools.pm | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
>
applied this one too, thanks!
More information about the pve-devel
mailing list