projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1880975
)
partially fix #2023: Switch to https for yubico.com API
author
Rhonda D'Vine
<rhonda@proxmox.com>
Mon, 18 Feb 2019 10:59:17 +0000
(11:59 +0100)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Tue, 19 Feb 2019 13:23:50 +0000
(14:23 +0100)
Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/OTP.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/OTP.pm
b/src/PVE/OTP.pm
index c062639cc6b94bd085a29c5daaf48ee0ef29647e..019076b444c9e914ef8e62a363bb1f2e73faac29 100644
(file)
--- a/
src/PVE/OTP.pm
+++ b/
src/PVE/OTP.pm
@@
-55,7
+55,7
@@
sub yubico_verify_otp {
die "yubico: wrong OTP length\n" if (length($otp) < 32) || (length($otp) > 48);
- $url = 'http://api2.yubico.com/wsapi/2.0/verify' if !defined($url);
+ $url = 'http
s
://api2.yubico.com/wsapi/2.0/verify' if !defined($url);
my $params = {
nonce => Digest::SHA::hmac_sha1_hex(time(), rand()),