]> git.proxmox.com Git - qemu-server.git/commit
fix #2457: ga: set-user-password: increase maxLength of password
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 11 Nov 2019 15:18:45 +0000 (16:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 11 Nov 2019 15:28:44 +0000 (16:28 +0100)
commitba728fb53599ddf6a20eb297d0a9f248243d1015
treefe143e14804632b7f977648c61d12a987bc65072
parentb924c4355e45912ddc4fbbafe85e69b6e644ec5f
fix #2457: ga: set-user-password: increase maxLength of password

SHA-512 crypted passwords are longer than 64 byte, and it also does
not make sense to limit passwords to such a short length.  Increase
to 1024, that should be enough for a while, but still limits maximal
password payload to avoid DOS or the like.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu/Agent.pm