lib/rultor/encrypt.rb in rultor-0.3.2 vs lib/rultor/encrypt.rb in rultor-0.4
- old
+ new
@@ -59,9 +59,10 @@
if [ -e \"${asc}\" ]; then
echo \"file already exists: ${asc}\"
exit -1
fi
cd #{Shellwords.escape(@dir)}
+ gpg --version
gpg --symmetric --armor --verbose --batch --no-tty \
--passphrase #{Shellwords.escape(@key)} \
-o \"${enc}\" \"${file}\"
gpg --keyserver hkp://pool.sks-keyservers.net \
--verbose --recv-keys 9AF0FA4C