Previous: Mail-mode integration , Up: Commands By default, every file whose name ends with ‘ .gpg ’ will be treated as encrypted. That is, when you open such a file, the decrypted text is inserted in the buffer rather than encrypted one. Similarly, when you save the buffer to a ‘ foo.gpg ’ file, encrypted data is written. The file name pattern for encrypted files can be controlled by epa-file-name-regexp . — Variable: epa-file-name-regexp Regexp which matches filenames treated as encrypted. You can disable this behavior with M-x epa-file-disable , and then get it back with M-x epa-file-enable . — Command: epa-file-disable Disable automatic encryption/decryption of *.gpg files. — Command: epa-file-enable Enable automatic encryption/decryption of *.gpg files. By default, epa-file will try to use symmetric encryption, aka password-based encryption. If you want to use publ...