unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* file encryption
@ 2004-11-07 11:13 Giannandrea Castaldi
  2004-11-16 20:59 ` Josef.Bauer.nospam
  0 siblings, 1 reply; 3+ messages in thread
From: Giannandrea Castaldi @ 2004-11-07 11:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* file encryption
@ 2012-01-03 19:56 sergio
  0 siblings, 0 replies; 3+ messages in thread
From: sergio @ 2012-01-03 19:56 UTC (permalink / raw)
  To: help-gnu-emacs

Hello.

I'd like to use file encryption. I hear that emacs will automatically
encrypt .gpg files. It works for me, but
1) how to turn on auto saving in this mode.
2) where can I read more about this? I haven't found anything interesting on
http://www.gnu.org/software/emacs/manual/html_mono/emacs.html
and in C-h a

I'm using emacs 23.3+1-4 from debian sid.

-- 
sergio.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-03 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-07 11:13 file encryption Giannandrea Castaldi
2004-11-16 20:59 ` Josef.Bauer.nospam
  -- strict thread matches above, loose matches on Subject: below --
2012-01-03 19:56 sergio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).