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

Re: encrypting a single file



On Thu, Nov 07, 2002 at 11:28:41AM -0800, Jeff wrote:
> Rob Weir, 2002-Nov-06 04:40 +1100:
> > On Tue, Nov 05, 2002 at 11:21:37AM -0500, Levi Waldron wrote:
> > > On November 5, 2002 02:27 am, Rob Weir wrote:
> > > > AFAIK, emacs supports this out of the box.  Open a .gpg file and it'll
> > > > prompt you for the password and decrypt it for you, automatically
> > > > re-encrypting it on save.
> > > 
> > > My xemacs 21.4.6-8 doesn't do this, although I have gpg installed now - 
> > > probably have to load a module.
> > 
> > Oops, you need crypt++el.
> > 
> > -rob
> 
> Is there something else that's needed for emacs21?  I'm having
> trouble:
> 
> $ gpg -c file.txt
> passphrase: ********
> reenter   : ********
> $ ls
> file.txt.gpg
> $ emacs -nw file.txt.gpg
> 
> emacs asks for the "encryption key", so I enter the passphrase,
> because if I hit "return to ignore" is see the scrambled data.  After
> entering the passphrase, emacs reports "Searching for program: no such
> file or directory, crypt".

Did you make gpg key and made available in your home directory in their
default location with proper permission.  (~/.gnupg/ exist?)

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <osamu@debian.org>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract



Reply to: