summaryrefslogtreecommitdiff
path: root/system-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-12-11 12:04:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-12-11 12:04:03 +0100
commitc5041c5894f559b42e2ae26c09ad793a925168fc (patch)
treeefd5e1ed3fb4b64e945fd3637c5e0833b1d986e3 /system-profiles
parent5c48b7e2f3dc8c2afe49cb6e8eeeca0def4d6f59 (diff)
downloadnixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar
nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar.gz
nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar.bz2
nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.tar.xz
nixos-c5041c5894f559b42e2ae26c09ad793a925168fc.zip
custom tai64dec
Diffstat (limited to 'system-profiles')
-rw-r--r--system-profiles/openssh/known-hosts/ca-sign.gup3
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
8gup -u ${keyFile} ${principalsFile} 8gup -u ${keyFile} ${principalsFile}
9gup -u expiration 9gup -u expiration
10 10
11ssh-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 11ssh-keygen -h -Us ../ca/ca.pub -I $(uuidgen) -z $(tai64dec --no-ns) -V "-1d:$(cat expiration)" -n $(cat ${principalsFile}) -f $1 ${keyFile}
12sleep 1