1 msgIDEA not always working in GNUPG
2 msggpg command
1 msgRe: [RFC] gnupg 1.4.5: old default options file...
4 msgCommand to decrypt the file
6 msgQuestion on subkeys usage and OpenPGP card. - w...
1 msgre: GnuPG (win32) on a USB stick // forgot a li...
15 msgGnuPG (win32) on a USB stick
1 msgGnuPG Make_Printable_String Remote Buffer Overf...

_almost_ working, now a command line question...
\ Maury Markowitz (29 Feb 2008)
. \ Steve Revilak (29 Feb 2008)
. \ John Clizbe (29 Feb 2008)
. \ Sven Radde (1 Mar 2008)
. \ Maury Markowitz (3 Mar 2008)
. . \ John Clizbe (3 Mar 2008)
. . . \ SeidlS (4 Mar 2008)
. . . . \ John Clizbe (4 Mar 2008)
. . . . . \ Sven Radde (4 Mar 2008)
. . . \ Maury Markowitz (4 Mar 2008)
. \ vedaal (3 Mar 2008)
. . \ Maury Markowitz (3 Mar 2008)
. . \ SeidlS (3 Mar 2008)

3 msgProblem with compiling gpg-2.0.8
1 msgRe: Certification signatures on subkeys
21 msgSigning people with only one form of ID?
9 msgISO-8859-1 mails getting marked as UTF-8
1 msgIS GNU2.0 still support on OPENVMS?
1 msg'--passphrase-file' issues
8 msgre : How know who is a file encrypted for ?
1 msg'Bad signature' when calling 'check' in the edi...
6 msgw32 client installer - silent install?
1 msgSCM SCR 201 PCMCIA or TI PCIxx12 smartcard reader
1 msgStill no luck on the passphrase
Subject:Re: _almost_ working, now a command line question...
Group:Gnupg-users
From:John Clizbe
Date:29 Feb 2008


 


Maury Markowitz wrote:
> So after finally deciding to trust that gpg was giving me an accurate
> error, and that the passphrase really was wrong, I spend the last week
> scaring up someone within the labyrinths that could actually change
> the key to the one that we know works. Presto! Working file.
>
> Lesson learned: You CAN simply copy binary key files from pgp to gpg,
> which is really nice.
>
> All that's left now is to fully automate this, and my Windows CMD
> noobishness is an issue. Here's my command line:
>
> O:\Utilities>echo o:\apricing\pass.txt | o:\utilities\gpg --homedir o:\utilities
> \ --passphrase-fd 0 --load-extension o:\utilities\idea.dll -o "o:\apricing\morga
> n_cds_20080229.txt" -d "o:\apricing\24476.txt.pgp"
>
> And here are the results (slightly trimmed to protect the innocent):

<snip>
>
> pass.txt absolutely has the right key in it. I tried both | and >, the
> later did nothing at all (which I guess makes sense).
>
> Anything obvious here?

You could try

--passphrase-file o:\apricing\pass.txt

after removing --passphrase-fd

This is *very* sensitive to line endings. I had to run dos2unix on the
passphrase file before the command would work. DIR or 'ls -l' on the passphrase
file should show a length one greater than the character count in the passphrase
(just <LF>). Windows will create the file with <CR><LF> and the <CR> will muck
things up.

You may also wish to include --batch on the command line.

--
John P. Clizbe Inet: JPClizbe (a) tx DAWT rr DAHT con
Ginger Bear Networks hkp://keyserver.gingerbear.net
"Be who you are and say what you feel because those who mind don't matter
and those who matter don't mind." - Dr Seuss, "Oh the Places You'll Go"



_______________________________________________
Gnupg-users mailing list
Gnupg-users
http://lists.gnupg.org/mailman/listinfo/gnupg-users



© 2004-2008 readlist.com