-2014-04-04 - Silvio Rhatto <rhatto@riseup.net>
+2014-04-06 - Silvio Rhatto <rhatto@riseup.net>
+
+ Be more verbose on recrypt errors
Adding "commit" action which is a wrapper around "git commit"
decrypted="$($GPG --use-agent -d "$KEYDIR/$FILE" 2> /dev/null)"
if [ "$?" != "0" ]; then
- echo "Decryption error."
+ echo "Decryption error on $1."
exit 1
fi
recrypted="`echo "$decrypted" | $GPG --use-agent --armor -e -s $(keyringer_recipients "$RECIPIENTS_FILE")`"
if [ "$?" != "0" ]; then
- echo "Recryption error."
+ echo "Recryption error on $1."
exit 1
fi