FIx typos
This commit is contained in:
@@ -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,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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user