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

* Re: file encryption
  2004-11-07 11:13 Giannandrea Castaldi
@ 2004-11-16 20:59 ` Josef.Bauer.nospam
  0 siblings, 0 replies; 3+ messages in thread
From: Josef.Bauer.nospam @ 2004-11-16 20:59 UTC (permalink / raw)
  Cc: g.castal

Hi,

 Giannandrea> I'd like to manage encrypted text files with emacs so
 Giannandrea> that I don't need to use gpg to encrypt/decrypt them.

Maybe mc-gpg-file-mode can help you. You can find it here:

 http://www.emacswiki.org/elisp/mc-gpg-file-mode.el

Greetings

Josef


PS: the sender address _is_ valid

^ 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 --
2012-01-03 19:56 file encryption sergio
  -- strict thread matches above, loose matches on Subject: below --
2004-11-07 11:13 Giannandrea Castaldi
2004-11-16 20:59 ` Josef.Bauer.nospam

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).