diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-12 14:12:32 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-12 14:12:32 +0100 |
commit | 679d691cd40c45399d9abae9b0f08cd228f596c5 (patch) | |
tree | 153a68a96bcc44179818a31d52f14afb12023b0b /system-profiles/openssh/known-hosts/ca-sign.gup | |
parent | ff32ceaae000fbc44eb54bd01fe4b7bd77995b37 (diff) | |
download | nixos-679d691cd40c45399d9abae9b0f08cd228f596c5.tar nixos-679d691cd40c45399d9abae9b0f08cd228f596c5.tar.gz nixos-679d691cd40c45399d9abae9b0f08cd228f596c5.tar.bz2 nixos-679d691cd40c45399d9abae9b0f08cd228f596c5.tar.xz nixos-679d691cd40c45399d9abae9b0f08cd228f596c5.zip |
openssh: utc validities
Diffstat (limited to 'system-profiles/openssh/known-hosts/ca-sign.gup')
-rw-r--r-- | system-profiles/openssh/known-hosts/ca-sign.gup | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system-profiles/openssh/known-hosts/ca-sign.gup b/system-profiles/openssh/known-hosts/ca-sign.gup index 512f0e84..f9aa3793 100644 --- a/system-profiles/openssh/known-hosts/ca-sign.gup +++ b/system-profiles/openssh/known-hosts/ca-sign.gup | |||
@@ -1,6 +1,8 @@ | |||
1 | #!/usr/bin/env zsh | 1 | #!/usr/bin/env zsh |
2 | set -eu | 2 | set -eu |
3 | 3 | ||
4 | export TZ=UTC | ||
5 | |||
4 | keyFile=${2%"-cert.pub"}.pub | 6 | keyFile=${2%"-cert.pub"}.pub |
5 | principalsFile=${keyFile:h}/host-principals | 7 | principalsFile=${keyFile:h}/host-principals |
6 | gup -u ${keyFile} ${principalsFile} | 8 | gup -u ${keyFile} ${principalsFile} |