9 votes

Emacs failing to save encrypted file

Downgrade to GnuPG 2.4.0 should help. There is an issue registered in gnupg and numerous reports in other resources: https://dev.gnupg.org/T6481 It is still not fixed as of GnuPG 2.4.3, unfortunately.
Maxim Kim's user avatar
  • 1,691
5 votes

How to configure EasyPG with Gpg4win or any other Windows GPG version?

I had this problem and got it to work. Needed to spelunk through the code in epg.el and epg-config.el to determine what to fiddle with. This is what worked for me: (custom-set-variables '(epg-gpg-...
Cheeso's user avatar
  • 235
5 votes

How to get gpg-agent to cache the passphrases I enter when reading/saving *.gpg files?

https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html#Agent-Options In this documentation, the options you might be interested in default-cache-ttl n, Set the time a cache entry is ...
junnu's user avatar
  • 780
3 votes

org-encrypt-entry doesn't work

I had the same problem -- for me the private key set up for the encryption was expired. # First try whether you can encrpyt anything from the command line touch /tmp/test.txt gpg --encrypt --...
ricma's user avatar
  • 146
2 votes

Run shell program on e-mail in mu4e

From the view buffer press a R and see if that works for you. (defun mu4e-repair-file (msg) (let ((path (mu4e-message-field msg :path)) (maildir (mu4e-message-field msg :maildir))) (...
jagrg's user avatar
  • 3,854
1 vote

Emacs failing to save encrypted file

If downgrading gnupg is not an option one can also set this in the Emacs config: (fset 'epg-wait-for-status 'ignore) After that Emacs is able to write the *.gpg file just fine. Source: https://www....
zzantares's user avatar
  • 227
1 vote

Simple password based file decryption/encryption compatible with command line program?

On ccrypt.sourceforge.net I found version 1.11 of ccrypt which comes with a ps-ccrypt.el that works with emacs 28.0.50. It is easy enough to activate that file: Put the file into .../whateverdir. If ...
Harald's user avatar
  • 220
1 vote

Emacs not prompting for password when opening gpg file

For gpg version < 2, caching can be from emacs or the gpg-agent To disable caching from emacs, set epa-file-cache-passphrase-for-symmetric-encryption to nil if it is not nil in emacs config file (...
junnu's user avatar
  • 780
1 vote

Can I convince EPA encrypt for an expired key

Set the time on your computer to last year ? I guess any year after 1970 can be set , though individual hardware, software, interfaces would add restrictions.
Jeeves's user avatar
  • 621
1 vote

How to encrypt different headings to different keys

To encrypt or decrypt the contents under headings using different keys you will need to set the CRYPTKEY property value to the uid of the desired key as listed in your key-ring. Setup gpg key-ring as ...
Melioratus's user avatar
  • 4,564

Only top scored, non community-wiki answers of a minimum length are eligible