Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [epa]

The tag has no usage guidance.

1
vote
1answer
159 views

Emacs not prompting for password when opening gpg file

I'm trying to get started with encryption on emacs and I'm experiencing the same issue as mentioned in this question:Emacs opens gpg file without asking for passphrase. When I save a .gpg file, emacs ...
7
votes
1answer
219 views

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

I want to work with gpg-encrypted files using Emacs, and would like to be able to enter the passphrase for each encrypted file only once per Emacs session. I used to be able to do this by setting the ...
1
vote
1answer
31 views

Can I convince EPA encrypt for an expired key

Through a series of my own errors my public key is expired and I don't have the master key with me to re-sign it. I use this key to encrypt many files i use on a daily basis, most importantly org ...
0
votes
0answers
29 views

Decryption and emacs client

I started using (server-start) recently and only using emacs client (with -c -a emacs option). The expected behavior when opening a .gpg file is that epa automatically tries to decrypt the file but ...
1
vote
1answer
253 views

Emacs opens gpg file without asking for passphrase

I have an ASCII-armored GPG file that I open with a bookmark, and lately emacs has taken to opening it without asking for the passphrase, even if I just started emacs. I can't remember if I used ...
14
votes
1answer
2k views

Enabling minibuffer pinentry with Emacs 25 and GnuPG 2.1 on Ubuntu Xenial

I had to do quite some diving and hunting through documentation and forums, so I figured I might as well do a Q&A here for others: How do I enable GnuPG passphrase prompting in the minibuffer? ...
2
votes
2answers
378 views

Cache symmetric encryption passphrase for a session or some amount of time

I use symmetric encryption in emacs 24 and somewhere along the line the variable named epa-file-cache-passphrase-for-symmetric-encryption seems to have disappeared from emacs. I am going crazy ...
9
votes
1answer
3k views

Unable to decrypt .gpg file using emacs but command line gpg works

I have an accounts.org.gpg file. I can open it using gpg directly: $ gpg -d ./accounts.org.gpg You need a passphrase to unlock the secret key for user: "Omair Majid <removed@removed>" 4096-...
0
votes
1answer
104 views

Why does viewing PGP encrypted PDF fail?

When I try to open a PGP encrypted PDF file.pdf.gpg, then – after entering the PIN in my smartcard reader – a window pops up with an error message: Error: /syntaxerror in (binary token, type=150) ...
1
vote
1answer
55 views

How do I use epa-sign-file and not disrupt functionality of the file with the ASCII-armored signature

I want to be able to gpg sign specific files, specifically org-mode file. However, doing M-x epa-sign-file RET filename.org will create the file filename.org.asc and introduce new text in that file ...
4
votes
2answers
245 views

EPA (EasyPG Assistant): How to encrypt for *two* of my own keys? OR How are key-ids used to select keys

I want to tell epa to encrypt for two of my public keys. (stored in two different places). I have this at the top of the file: # -*- mode:org; epa-file-encrypt-to: ("arthur@ul___dt.com") -*- which ...
17
votes
2answers
4k views

How to type the password of a .gpg file only when opening it

(I understand the security implications of the following, and I'm fine with them.) I have a single encrypted file in my org directory, diary.org.gpg. I never did any special configuration for it to ...