#!/usr/bin/env bash trap 'echo -e "\033[31mScript failed with an unexpected error!\033[0m" >&2; exit 1' ERR function usage() { cat 1>&2 < ~/.ssh/allowed_signers git config --global gpg.ssh.allowedSignersFile ~/.ssh/allowed_signers git config --global commit.gpgsign true git config --global gpg.format ssh git config --global user.signingkey $key ls -alh ~/.ssh