Skip to content
Snippets Groups Projects
Commit 201d05e0 authored by Chris Hines's avatar Chris Hines
Browse files

make sure that we interpret SSH certificate expiry as a UTC based time, not in the local timezone

parent 81fda5e0
4 merge requests!106if stat fails, display the error instead of immediately refreshing...,!99Dev,!71Dev,!70Test
Pipeline #12044 passed
...@@ -228,7 +228,7 @@ public getKeys(id?: Identity) { ...@@ -228,7 +228,7 @@ public getKeys(id?: Identity) {
for (let id of resp) { for (let id of resp) {
var validstr: String; var validstr: String;
validstr = id.Valid[0]; validstr = id.Valid[0];
id.expiry = Date.parse(validstr.split(" ")[3]) id.expiry = Date.parse(validstr.split(" ")[3]+"Z")
res.push(id); res.push(id);
} }
return res return res
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment