summaryrefslogtreecommitdiff
path: root/system-profiles/openssh/known-hosts/ca-sign.gup
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles/openssh/known-hosts/ca-sign.gup')
-rw-r--r--system-profiles/openssh/known-hosts/ca-sign.gup2
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
2set -eu 2set -eu
3 3
4export TZ=UTC
5
4keyFile=${2%"-cert.pub"}.pub 6keyFile=${2%"-cert.pub"}.pub
5principalsFile=${keyFile:h}/host-principals 7principalsFile=${keyFile:h}/host-principals
6gup -u ${keyFile} ${principalsFile} 8gup -u ${keyFile} ${principalsFile}