Questions tagged [pgp]

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

Pretty Good Privacy (PGP) is a data encryption and decryption computer program that provides cryptographic privacy and authentication for data communication. PGP is often used for signing, encrypting and decrypting texts, E-mails, files, directories and whole disk partitions to increase the security of e-mail communications. It was created by Phil Zimmermann in 1991.

PGP and similar products follow the OpenPGP standard (RFC 4880) for encrypting and decrypting data.

Resources

11 questions
7
votes
1 answer

Emacs failing to save encrypted file

I've used Emacs' built-in gpg support to encrypt/decrypt files for years. A few days ago, I tried to save an ecrypted file that had changes and the save wouldn't finish. The minibuffer shows "Saving file ..." but doesn't save. Emacs doesn't hang…
vortek
  • 193
  • 4
4
votes
1 answer

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?
wvxvw
  • 11,222
  • 2
  • 30
  • 55
3
votes
2 answers

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 untracked directory on my work machine:…
ivan
  • 1,928
  • 10
  • 20
2
votes
1 answer

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 "C:/Documents and Settings/user/My…
1
vote
1 answer

Emacs mode for exploring/managing pgp/gpg

Is there Emacs mode for exploring/managing pgp/gpg keys? Like starting from gpg --list-keys find individual info about key, refresh it, see web of trust, etc
gavenkoa
  • 3,352
  • 19
  • 36
1
vote
1 answer

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 my init.el was (let ((erc-plist (car…
1
vote
1 answer

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 that might disrupt functionality of the file if…
Sparx
  • 1,111
  • 9
  • 20
1
vote
1 answer

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 recipient's public key, which one of my private…
modulitos
  • 2,432
  • 1
  • 18
  • 36
0
votes
1 answer

Is the GPG signature of Emacs 26.3 still valid?

I was trying to install Emacs on my Windows 8.1 machine (thus WSL is not an option). I downloaded the file from a mirror (emacs-26.3-x86_64.zip), along with his signature (emacs-26.3-x86_64.zip.sig). However, when I try to verify it with Cygwin, I…
0
votes
1 answer

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 question (secret.el) has: # -*- epa-file-encrypt-to:…
HaoZeke
  • 145
  • 4
0
votes
1 answer

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-error "Opening input file" "Can't decrypt" "Exit") …
pusheax
  • 53
  • 5