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
Pipeline #12044 passed with stages
in 3 minutes and 27 seconds
......@@ -228,7 +228,7 @@ public getKeys(id?: Identity) {
for (let id of resp) {
var validstr: String;
validstr = id.Valid[0];
id.expiry = Date.parse(validstr.split(" ")[3])
id.expiry = Date.parse(validstr.split(" ")[3]+"Z")
res.push(id);
}
return res
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment