diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-11 12:04:03 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-11 12:04:03 +0100 |
commit | c5041c5894f559b42e2ae26c09ad793a925168fc (patch) | |
tree | efd5e1ed3fb4b64e945fd3637c5e0833b1d986e3 /system-profiles/openssh/known-hosts | |
parent | 5c48b7e2f3dc8c2afe49cb6e8eeeca0def4d6f59 (diff) | |
download | nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar.gz nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar.bz2 nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar.xz nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.zip |
custom tai64dec
Diffstat (limited to 'system-profiles/openssh/known-hosts')
-rw-r--r-- | system-profiles/openssh/known-hosts/ca-sign.gup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system-profiles/openssh/known-hosts/ca-sign.gup b/system-profiles/openssh/known-hosts/ca-sign.gup index f9aa3793..527a9763 100644 --- a/system-profiles/openssh/known-hosts/ca-sign.gup +++ b/system-profiles/openssh/known-hosts/ca-sign.gup | |||
@@ -8,4 +8,5 @@ principalsFile=${keyFile:h}/host-principals | |||
8 | gup -u ${keyFile} ${principalsFile} | 8 | gup -u ${keyFile} ${principalsFile} |
9 | gup -u expiration | 9 | gup -u expiration |
10 | 10 | ||
11 | ssh-keygen -h -Us ../ca/ca.pub -I $(uuidgen) -z $(tai64dec) -V "-1d:$(cat expiration)" -n $(cat ${principalsFile}) -f $1 ${keyFile} \ No newline at end of file | 11 | ssh-keygen -h -Us ../ca/ca.pub -I $(uuidgen) -z $(tai64dec --no-ns) -V "-1d:$(cat expiration)" -n $(cat ${principalsFile}) -f $1 ${keyFile} |
12 | sleep 1 | ||