Re: GnuPG (win32) on a USB stick

2008-03-03 Thread Andrew Berg
John Clizbe wrote: set GNUPGHOME=x:\location\you\want It would be inconvenient (and inconsiderate to the host machine's owner(s)) to set an environment variable on every machine encountered, wouldn't it? Sven's idea is much better, I think. ___

re: GnuPG (win32) on a USB stick

2008-03-03 Thread vedaal
nunzky (funkdude at gmail.com) wrote on Mon Mar 3 02:57:20 CET 2008 : >Is it possible to avoid this behavior >and have GnuPG write those files, say, >in its own dir on my usb stick? ... >this would probably have to involve >me keeping my private key on the usb stick, >protected only by a passp

re: GnuPG (win32) on a USB stick // forgot a line, sorry // ;-((

2008-03-03 Thread vedaal
vedaal at hush.com (vedaal at hush.com) wrote on Mon Mar 3 17:11:46 CET 2008 : >[5] open notepad and types these lines: >command com >z: >cd gnupg sorry, forgot a line ;-(( it should be: set GNUPGHOME=z:\gnupg command com z: cd gnupg vedaal any ads or links below this message are added by hu

Re: _almost_ working, now a command line question...

2008-03-03 Thread Maury Markowitz
Holy smokes, this is much more annoying than I thought possible! Using either the | and < methods of passing in the passphrase works from the CMD window and I can decrypt the file fine. Even cutting and pasting the command string in works fine. But when I shell the exact same line of text (which

Re: GnuPG (win32) on a USB stick

2008-03-03 Thread Avi
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Personally, I am using GPGShell, which, once installed, has a small app called Copy2USB that mounts a completely self- contained GnuPG and GPGShell system on the stick, which I take with me. See http://www.jumaros.de/rsoft/index.html Thanks, -

re: _almost_ working, now a command line question...

2008-03-03 Thread vedaal
Maury Markowitz (maury.markowitz at gmail.com) wrote on Mon Mar 3 17:44:29 CET 2008 : >Reading passphrase from file descriptor 0 ... >And then just sits there. Perhaps I can't call a pipe or redirect in >the VBA shell command; if try I'm pretty much sunk unless I can get >--passphrase-file to wo

Re: _almost_ working, now a command line question...

2008-03-03 Thread Maury Markowitz
On Mon, Mar 3, 2008 at 12:53 PM, <[EMAIL PROTECTED]> wrote: > --passphrase string > where 'string' is your actual passphrase Worth a try, but: gpg: failed to translate osfhandle 004A Maury ___ Gnupg-users mailing list Gnupg-users@gnupg.org http

re: _almost_ working, now a command line question...

2008-03-03 Thread SeidlS
Vedaal, This works well if your willing to have the passphrase in the code base calling GnuPG, but I'm not allowed to. Instead I will be using a file with the permissions restricted. I will be able to get around this once development is complete, as this is only being tested on my windows machi

Re: GnuPG (win32) on a USB stick

2008-03-03 Thread John Clizbe
Andrew Berg wrote: > John Clizbe wrote: >> set GNUPGHOME=x:\location\you\want >> > > It would be inconvenient (and inconsiderate to the host machine's > owner(s)) to set an environment variable on every machine encountered, > wouldn't it? Sven's idea is much better, I think. And it shows a c

Re: _almost_ working, now a command line question...

2008-03-03 Thread John Clizbe
Maury Markowitz wrote: > And then just sits there. Perhaps I can't call a pipe or redirect in > the VBA shell command; if try I'm pretty much sunk unless I can get > --passphrase-file to work. And it doesn't. Option order is sometimes important > Is --passphrase-file a feature of 2.0 only? If so,

Question on subkeys usage and OpenPGP card. - warning, quite lengthy

2008-03-03 Thread Neal Dudley
Why can keys not be signed with a signing subkey rather than a primary signing key? I just learned of this after going to my first signing party. Perhaps I have misunderstood the purpose of subkeys. I have read that it is good practice to create a primary signing key, and then use subkeys on the

Re: GnuPG (win32) on a USB stick

2008-03-03 Thread nunzky
Thanks everyone of you, you have greatly enlightened me concerning the security risks associated with my endeavor. I will have to rethink my plans, but for now, I think John's idea of setting GNUPGHOME seems like the best idea to me. However, for convenience, I'd like to maybe use a batch file to

re: GnuPG (win32) on a USB stick

2008-03-03 Thread vedaal
nunzky (funkdude at gmail.com) wrote on Tue Mar 4 00:02:02 CET 2008 : >However, for convenience, >I'd like to maybe use a batch file to set it and >open a command prompt. >This would require me to be able to set it to a relative path >(ie, not have to specify a drive letter, as it will change).

Re: Question on subkeys usage and OpenPGP card. - warning, quite lengthy

2008-03-03 Thread David Shaw
On Mar 3, 2008, at 4:59 PM, Neal Dudley wrote: I have read that it is good practice to create a primary signing key, and then use subkeys on the card. This is the recommended method for setup of the FSFE card, which is just a fancy skin on the OpenPGP card. My problem is that now I have a

Re: GnuPG (win32) on a USB stick

2008-03-03 Thread John W. Moore III
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 nunzky wrote: > The last version of GPG2Go I could find is 1.4.1, which seems pretty > outdated. My Bad. I shall Update the Binaries to 1.4.8 tonight and they should be available by this time tomorrow. I admit that I am abysmally slow as a Mainta

Re: _almost_ working, now a command line question...

2008-03-03 Thread SeidlS
Can you try it when streaming data to GnuPG? The following command did not work for me: echo TEST |gpg --clearsign -a --passphrase-file passfile Output: Reading passphrase from file descriptor 3 You need a passphrase to unlock the secret key for user: "XXX" 1024-bit DSA key, ID XXX, cre

Re: Command to decrypt the file

2008-03-03 Thread Neal Dudley
On decrypting, add ³--output filename², or ³-o filename² for the short form, to output to the file ³filename². On 3/4/08 12:34 AM, "Elmer Espinosa" <[EMAIL PROTECTED]> wrote: > I'm new with GNUPG. I used the command gpg -s file to encrypt the file. to > decrpyt the file I used gpg -d file, but t

Re: Question on subkeys usage and OpenPGP card. - warning, quite lengthy

2008-03-03 Thread Neal Dudley
Sounds like I should just regenerate a new 1024 bit RSA primary signing key and copy it to the card (and an encryption subkey as well, of course). Thank you for your help! On 3/3/08 7:47 PM, "David Shaw" <[EMAIL PROTECTED]> wrote: > On Mar 3, 2008, at 4:59 PM, Neal Dudley wrote: > >> I have re

Re: _almost_ working, now a command line question...

2008-03-03 Thread John Clizbe
[EMAIL PROTECTED] wrote: > Can you try it when streaming data to GnuPG? The following command did not > work for me: > > echo TEST |gpg --clearsign -a --passphrase-file passfile > > Output: > Reading passphrase from file descriptor 3 > > You need a passphrase to unlock the secret key for > user

Re: _almost_ working, now a command line question...

2008-03-03 Thread Sven Radde
Hi! John Clizbe schrieb: Using the Gnu version of echo with the suppress newline option 'echo -n' to create passfile is also an option, probably the best. FWIW, I just created a text file using *notepad*, containing "1234567890" (without pressing enter after that line, and without the qu

Re: Command to decrypt the file

2008-03-03 Thread Elmer Espinosa
Got it thanks Sven. On Tue, Mar 4, 2008 at 2:21 PM, Sven Radde <[EMAIL PROTECTED]> wrote: > Hi! > > Elmer Espinosa schrieb: > > I used the command gpg -s file to encrypt the file. > First of all, I am not quite sure whether you just spelled it wrongly > here or whether you made a potentially ser

Command to decrypt the file

2008-03-03 Thread Elmer Espinosa
I'm new with GNUPG. I used the command gpg -s file to encrypt the file. to decrpyt the file I used gpg -d file, but the output appear only in the command prompt I was to save it in my local disk I've tried adding the path of the file but it doesn't work any can help me with this. Thanks, Elmer ___

Re: Command to decrypt the file

2008-03-03 Thread Sven Radde
Hi! Elmer Espinosa schrieb: I used the command gpg -s file to encrypt the file. First of all, I am not quite sure whether you just spelled it wrongly here or whether you made a potentially serious mistake. "gpg -s" does *not* encrypt. It signs your file. "gpg -e" encrypts. While the outputs o

Re: Question on subkeys usage and OpenPGP card. - warning, quite lengthy

2008-03-03 Thread John W. Moore III
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Neal Dudley wrote: > Sounds like I should just regenerate a new 1024 bit RSA primary signing key > and copy it to the card (and an encryption subkey as well, of course). Please do the World [& Yourself] a favor and generate a Revocation Certificate