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 [encryption]

The tag has no usage guidance.

2
votes
1answer
35 views

Run shell program on e-mail in mu4e

I receive GnuPG-encrypted (and signed) e-mails through an MS Exchange server. Unfortunately, the exchange server messes up the GPG format, such that mu4e cannot decrypt correctly. This is a known ...
2
votes
0answers
29 views

Encrypting Org export

I have a GPG encrypted Org file (title.org.gpg) that I interact with transparently using epa. I would like to export this to a GPG encrypted PDF. Currently I do this by using the usual LaTeX export (C-...
1
vote
1answer
144 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
203 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
29 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
37 views

which e-mailclient for emacs supports smime signing and encryption?

Which e-mail frontends for emacs are capable of handling smime encryption and signing of messages? gnus: is capable and pretty usable notmuch: seems not to be able to handle smime Notes: It is ...
0
votes
1answer
197 views

Encryption via gpg: “no such file”

When attempting to save some file.gpg, the minibuffer returns Opening output file: Searching for program, no such file or directory, gpg. According to the EmacsWiki, all that should be required is the ...
0
votes
0answers
215 views

Org-crypt not working

Having trouble here, not sure why. Emacs v25.3.2 Org v9.1.1 In my emacs init file: (setq org-tag-alist '(("@crypt" . ?c) ("@init" . ?i))) (require 'org-crypt) (org-crypt-use-before-save-magic) (...
7
votes
0answers
95 views

Saving a .tar.gpg file

Saving a .tar file in Emacs works as expected. Saving a .gpg file also works as expected. However, when I save a .tar.gpg file, instead of saving an encrypted form of the actual tar file, it instead ...
2
votes
1answer
318 views

org-encrypt-entry doesn't work

Below is debugger results. epa does work fwiw. Debugger entered--Lisp error: (error "Encrypt failed") signal(error ("Encrypt failed")) error("Encrypt failed") org-encrypt-entry() funcall-...
3
votes
1answer
69 views

How to encrypt different headings to different keys

I'd like to encrypt different headings in my org file to different keys, e.g., * Heading 1 * Heading 2 where Heading 1 should be encrypted to me1@example.com and Heading 2 should be encrypted to ...
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 "...
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 ...
1
vote
1answer
428 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 ...
5
votes
1answer
105 views

Specifying how history is managed for each buffer

After editing a couple of encrypted files with Emacs and EasyPG Assistant I realized that parts of those files were still stored in various lists within Emacs, e.g the kill-ring and the minibuffer ...
8
votes
1answer
732 views

How do you select under emacs the key you sign/encrypt with when using mml?

Long time mutt user, I am currently trying to learn how to deal with my mail from within emacs with the help of mu4e. When it comes to signing mail, I use the following (add-hook 'message-send-hook '...
10
votes
1answer
2k views

How to automatically encrypt orgmode files?

I have a git repository where some org-mode files live. Some of them have a private nature and the server where the git repository lives can be accessed by some untrusted third party. Thatswhy I want ...