FIx typos

This commit is contained in:
Christer Warén
2025-11-10 19:48:07 +02:00
parent 77a54ef1f6
commit 54409a4197
8 changed files with 36 additions and 26 deletions
+2 -2
View File
@@ -11,11 +11,11 @@ wxi-ssh-keys-clean(){
rm "$HOME/.ssh/keys/$1.sig" &> /dev/null
fi
else
wx-ssh-keys-clean $ORG
wxi-ssh-keys-clean $ORG
if [[ $USERNAME == "cwchristerw" ]]
then
wx-ssh-keys-clean warengroup
wxi-ssh-keys-clean warengroup
fi
for file in ~/.ssh/keys/*
+2 -2
View File
@@ -2,11 +2,11 @@ wxi-ssh-keys-sign(){
wxi-header "SSH / Keys / Sign"
wxi-restricted
wx-ssh-keys-sign-create $ORG sysadmin 3600
wxi-ssh-keys-sign-create $ORG sysadmin 3600
if [[ $USERNAME == "cwchristerw" ]]
then
wx-ssh-keys-sign-create warengroup sysadmin 3600
wxi-ssh-keys-sign-create warengroup sysadmin 3600
fi
wxi-footer
}
+2 -2
View File
@@ -6,8 +6,8 @@ wxi-ssh-keys-sync(){
then
for name in $(curl https://$VAULT_DOMAIN/v1/cli/metadata/$USERNAME/settings/ssh/keys -X LIST --header "X-Vault-Token: $VAULT_TOKEN" -s | jq -r '.data.keys | @sh' | tr -d \')
do
echo $name
wx-ssh-keys-retrieve $name --multiple
wxi-content text $name
wxi-ssh-keys-retrieve $name --multiple
done
fi
wxi-footer