help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file encryption


From: Giannandrea Castaldi
Subject: file encryption
Date: Sun, 07 Nov 2004 12:13:35 +0100
User-agent: Mozilla Thunderbird 0.8 (X11/20040926)

Hi,
I'd like to manage encrypted text files with emacs so that I don't need to use gpg to encrypt/decrypt them.
I've found mc-auto-encrypt.el and to use it I have:
* generated a keypair for my user with gpg and try it to encrypt/decrypt a text file
* added (require 'mc-auto-encrypt) in my .emacs
* installed mailcrypt
* added at the end of my file the following line:
Local Variables:
eval:(mc-auto-encrypt)
End:

When I open my file emacs ask me:

Process `eval' or hook local variables in file myusers.txt (y or no)

and I answer yes (by now I prefer no enable it in .emacs). Then emacs said:

File local-variables error: (error "Found no encrypted message in this buffer.")

I suppose because now the file isn't encrypted. Then I try to save the file and emacs ask me for recipient (I suppose that is mailcrypt) and I press return now emacs ask me to sign the message (really I'd like to encrypt it) and I said yes but emacs said that my user doesn't have a GPG secret key (I've used it with the command gpg).

Why emacs doesn't see my secret key in ~/.gnupg?

I'm working in linux debian even if I need to use emacs + mc-auto-encrypt.el also on Windows.

Thansk a lot.

Giannandrea


reply via email to

[Prev in Thread] Current Thread [Next in Thread]