add Actions scripts
[claws.git] / tools / gpg-sign
1 #!/bin/sh
2 TMPFILE=`mktemp $HOME/.XXXXXX` || exit 1
3 cat - > $TMPFILE
4 ssh-askpass | gpg --clearsign --no-tty -o - --passphrase-fd 0 $TMPFILE
5 rm $TMPFILE