Questions tagged [pgp]

Pretty Good Privacy (PGP) is a data encryption and decryption computer program that provides cryptographic privacy and authentication for data communication.

Filter by
Sorted by
Tagged with
0
votes
1answer
64 views

How to use an Easy PG encrypted custom-file?

So, inspired by this article. I decided to try adding the following to my init.el: (setq custom-file (expand-file-name "secret.el" user-emacs-directory)) (load custom-file) Where the file in ...
1
vote
1answer
54 views

Using an advice to set default parameters in a interactive function

I'm not sure if this is possible or if there's a workaround for it, but I want M-x erc to set the password after I try to call it, but before I input the actual parameters. What I originally had in ...
3
votes
2answers
226 views

should I gitignore my elpa/gnupg directory?

I keep ~/.emacs.d/ under version control with git. I used to gitignore the elpa/ directory, but recently started including it in case I ever want to rollback a package upgrade. I just noticed an ...
2
votes
1answer
1k views

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

I am having a hard time getting GPG to work in Emacs under Windows. The configuration options I tried: (setq epg-gpg-program "c:/Program Files/GNU/GnuPG/gpg2.exe") (setq epg-gpg-home-directory "...
1
vote
1answer
65 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 ...
0
votes
1answer
369 views

Emacs and Gpg4win Opening input file error

Emacs 24.5.1 in cygwin x64, Windows 7, gpg (GnuPG) 2.0.21 (Gpg4win 2.2.0) Visited file ~/somefile.gpg Got error "Opening input file" "Can't decrypt" "Exit". Debugger entered--Lisp error: (file-...
1
vote
1answer
457 views

EPA (EasyPG Assistant): How to select which private key to use when encrypting?

How does 'epa-encrypt' decide which private key to use? If I have two private keys, and I've only shared one of my public keys with the recipient, and I encrypt with epa-encrypt-region and select the ...
4
votes
1answer
72 views

Gnus, send PGP encrypted message to address distinct from the one registered with the key?

My friend has changed email account, but I only have his old key (which only lists his other email, now defunct). How can I tell Gnus to use the key I have, but to send it to a different email?