mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-06-13 05:43:36 +00:00
spice: use lowercase hostname in ticktet signature
This commit is contained in:
parent
7c410d6301
commit
cb442f35e7
@ -238,7 +238,7 @@ sub assemble_spice_ticket {
|
||||
# Note: RSA signature are too long (>=256 charaters) and makes problems with remote-viewer
|
||||
|
||||
my $secret = &$get_csrfr_secret();
|
||||
my $plain = "pvespiceproxy:$timestamp:$vmid:$node";
|
||||
my $plain = "pvespiceproxy:$timestamp:$vmid:" . lc($node);
|
||||
|
||||
# produces 40 characters
|
||||
my $sig = unpack("H*", Digest::SHA::sha1($plain, &$get_csrfr_secret()));
|
||||
|
Loading…
Reference in New Issue
Block a user