9
votes
Accepted
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.
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-...
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 ...
3
votes
Accepted
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 --...
2
votes
Accepted
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)))
(...
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....
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 ...
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
(...
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.
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
encryption × 26org-mode × 7
gpg × 6
epa × 6
pgp × 4
osx × 2
mu4e × 2
security × 2
org-export × 1
spacemacs × 1
init-file × 1
dired × 1
microsoft-windows × 1
git × 1
minibuffer × 1
email × 1
images × 1
config × 1
saving × 1
file-local-variables × 1
history × 1
gnutls × 1
inline-image × 1
passwords × 1
history-variables × 1