]> err.no Git - pwstore/commitdiff
Say --armor when encrypting
authorPeter Palfrader <peter@palfrader.org>
Thu, 9 Oct 2008 17:45:41 +0000 (19:45 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 9 Oct 2008 17:45:41 +0000 (19:45 +0200)
pws

diff --git a/pws b/pws
index 6a6ee4a16f7906a3d80ee5a0484dcd6701b97f5c..b58ea387d2299a35ac7975f6adb8276e9e134ce5 100755 (executable)
--- a/pws
+++ b/pws
@@ -436,6 +436,7 @@ class EncryptedFile
   def encrypt(content, recipients)
     args = recipients.collect{ |r| "--recipient=#{r}"}
     args.push "--trust-model=always"
+    args.push "--armor"
     args.push "--encrypt"
     (outtxt, stderrtxt, statustxt, exitstatus) = GnuPG.gpgcall(content, args)