From: Giannandrea Castaldi <g.castal@tiscali.it>
Subject: file encryption
Date: Sun, 07 Nov 2004 12:13:35 +0100 [thread overview]
Message-ID: <cml03t$qrb$1@lacerta.tiscalinet.it> (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
next reply other threads:[~2004-11-07 11:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-07 11:13 Giannandrea Castaldi [this message]
2004-11-16 20:59 ` file encryption Josef.Bauer.nospam
-- strict thread matches above, loose matches on Subject: below --
2012-01-03 19:56 sergio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='cml03t$qrb$1@lacerta.tiscalinet.it' \
--to=g.castal@tiscali.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.