blob: df0feca949c690bc77bd80085a3438ff472dc1fc (
plain)
1
2
3
4
|
#!/bin/sh
GPG_KEY_ID="$GPG_ID_GIT" # see ~/.profile
GPG_KEY_PASSPHRASE="$(pass "gpg/$GPG_KEY_ID.asc" | head -n1)"
gpg --batch --no-tty --pinentry-mode loopback --passphrase "$GPG_KEY_PASSPHRASE" "$@"
|