gpgwindir

Taiwo Akindeju akindejujt at yahoo.co.uk
Tue Dec 9 18:05:43 CET 2008


Hi,
 
The script you posted ("gpgwindir -r 483DC811 -e ~/src -p hilton")  instructed gpgwindir to encrypt directory ~/src with key 483DC811 and at the same time to attempt a decrypt with a passphrase hilton.  The program would be confused and not do anything.
 
There are 2 streams of functions

encryption: the syntax is

gpgwindir [-o "path"] -r "key" -e "path"
 
or 
 
gpgwindir/d [-o "path"] -r "key" -e "path"   if you want to delete unencrypted source file.
 
Note [-o "path"] is optional.  If not provided, gpgwindir will encrypt to the same directory as source.
 


decrypt: the syntax is

gpgwindir [-o "path"] -p "passphrase" -d "path"
 
Note [-o "path"] is optional.  If not provided, gpgwindir will decrypt to the same directory as encrypted source.
General note: 

Ensure that paths are quoted 
Ensure keys and passphrases are quoted or properly escaped if they have the space character.
 
I will happy to help you further if there still any issues. 
 
Regards
 

--- On Mon, 8/12/08, Kevin Hilton <kevhilton at gmail.com> wrote:

From: user <user at gmail.com>
Subject: gpgwindir
To: akindejujt at yahoo.co.uk
Date: Monday, 8 December, 2008, 1:45 PM

How does this program work?

Here is what I tried:

gpgwindir -r 483DC811 -e ~/src -p hilton

Nothing happened ?? Where is the encrypted directory?

I also tried this:

gpgwindir -o ~/src-encrypt -r 483DC811 -e ~/src -p hilton
The syntax of the command is incorrect.
Invalid number of parameters
/home/Vibdog/src-encrypt was unexpected at this time.

Strange things going on here!
-- 
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20081209/4ee9e25c/attachment.htm>


More information about the Gnupg-users mailing list