GPG 1.0.7 decrypting problem

David Shaw dshaw@jabberwocky.com
Thu Jul 25 20:26:01 2002


On Thu, Jul 25, 2002 at 12:07:25PM -0600, Joseph wrote:
> I'm using Geheimnis (shell) with GPG 1.0.7 and I have problem reading a
> file after decrypting it.
> 
> The file.doc I encrypt with two public keys and sign it so the command
> looks like this:
> 
> encrypting: 
> /gpg -v --no-batch -e -s -u xxxxxxxxxxxxxxxx -a -t --no-default-keyring
> --secret-keyring /home/joseph/.gnupg/secring.gpg --keyring
> /home/joseph/.gnupg/pubring.gpg -r xxxxxxxxxxxxx -r xxxxxxxxxxxxxx -o
> /home/joseph/file3.doc.pgp /home/joseph/file.doc 
> 
> Decrypting command looks like this:
> 
> decrypting : 
> gpg -v --no-default-keyring --secret-keyring
> /home/joseph/.gnupg/secring.gpg --keyring
> /home/joseph/.gnupg/pubring.gpg --output /home/joseph/file3.doc
> --decrypt /home/joseph/file3.doc.pgp 
> 
> At his point I can not open the document.
> Any suggestions?
> 
> If I go through the same procedure but chose not to sign it I can
> decrypt and read the decrypted file OK, but when I sign it I can not
> read decrypted file anymore.

Try removing the '-t'.  .doc files are not text.

David

-- 
   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson