Emacs encrypts/decrypts .gpg files automatically. But recently I have lost the ability to decrypt files encrypted by the Linux gpg tool and vice versa.

I use:

  • passphrase symmetric encryption
  • gnupg 1.4.11
  • emacs 24.0.92.1
  • Debian sid

Decrypting using gpg (encrypted by emacs) gives:

gpg: decryption failed: bad key

Decrypting using emacs (encrypted by gpg) gives:

epa-file--find-file-not-found-function: Opening input file: Decryption failed,

Any idea how to avoid this?

link|improve this question
Are you sure gpg and emacs are using the same key? – Kevin Jan 4 at 21:29
Not enough info about what is happening in your system for the question to be answerable and useful for others. – imz Jan 4 at 23:12
I use passphrase for symmetric encription – user331426 Jan 5 at 8:31
feedback

1 Answer

up vote 0 down vote accepted

The issue was in this (in Russian) solution which manipulates with input method. At present time it affects on passphrase during encryption/decryption.

link|improve this answer
1  
Could you explain the issue in your post? Both for the benefit of people who don't speak Russian, and to prepare for the inevitable link rot. Thanks. – Gilles Jan 11 at 23:56
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.