1234567891011121314 |
- #!/bin/sh
- set -x
- printenv GNUPG_IMPORT | gpg --import --import-options import-show
- for fingerprint in $(gpg --list-keys --with-colons | grep '^fpr:' | cut -d ':' -f 10); do
- echo -e '5\ny\n' | gpg --command-fd 0 --batch --edit-key $fingerprint trust
- done
- # -d -d: log level notice
- # -T: inactivity timeout (before input at EOF?, default: none)
- # -t: reply timeout (after input at EOF, default: 0.5s)
- exec socat -v -d -d -T4 -t16 tcp-l:6156,fork exec:/invoke-gpgit.sh
|