2
0
Scenario: I use emacs with EasyPG to automate encryption and decryption of files. I open an empty file called test.gpg. I then paste the following text into the file
;; -*- epa-file-encrypt-to: ("itsme@mydomain.org") -*-
this-is-a-test, any text will do for this test
I then proceed to save the file. Emacs will respond by opening a buffer called *Keys* where I am supposed to select what key to use for the encryption. But as you see above, I already inserted the key spec ("itsme@mydomain.org") into the buffer using the syntax prescribed in the manual. And manually having to search in the other buffer to find and select the intended key is a chore.
Why does not EasyPG check for the key specification upon save? Is there a simple workaround?
That works, thanks much! – reikred – 2019-06-16T19:00:02.070