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

Re: encrypting a single file



Osamu Aoki, 2002-Nov-07 14:18 -0800:
> > 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?)

Yes, it exists:

$ ls -la ~/.gnupg/
total 28
drwx------    2 jeff     jeff         4096 Nov  7 13:18 .
drwxr-xr-x   38 jeff     jeff         4096 Nov  7 13:07 ..
-rw-r--r--    1 jeff     jeff         4342 Nov  7 13:08 gpg.conf
-rw-r--r--    1 jeff     jeff         4342 Nov  7 13:07 options
-rw-r--r--    1 jeff     jeff            0 Nov  7 13:07 pubring.gpg
-rw-------    1 jeff     jeff          600 Nov  7 13:18 random_seed
-rw-------    1 jeff     jeff            0 Nov  7 13:07 secring.gpg

However, I have not generated a key pair.  Do I need that to
encyrpt/decrypt local files?

jc

--
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: