Mailing List Archive

signing probmems (GPG 1.0.1 -> PGP 6.5.1)
Hello,

I'm desperately trying to figure out what is going wrong here...

I have two machines, one Cobalt RaQ2 (linux/mips), one PC (linux/i386).

I have GPG 1.0.1 compiled and working on both and PGP 6.5.1 on the PC.

I can successfully do a '--gen-key' on both then am able to sign and
verify a signature using GPG.
I can export the public keys to the GPG on the other machine and verify
a signed file.

I can export the public keys from both GPG installations into the PGP
installation (The fingerprints are checked and correct).

I can GPG sign a file and PGP verify it on the PC. But when I sign a
file on the Cobalt and transfer it, PGP complains that it has a bad
signature (but GPG doesn't).

Can anyone see what I'm doing wrong here because it's driving me mad!

Thanks in advance for any help offered.


Regards,

david
--
David Sexton

Network Technician
Sapphire Technologies Ltd.
Tel: +44 (0) 1642 702100
Fax: +44 (0) 1642 702119

-----------------------------------------------
Any opinions expressed in this message are those of the individual and not necessarily the company. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this message in error and that any use is strictly prohibited.

Sapphire Internet
http://www.sapphire.net
Re: signing probmems (GPG 1.0.1 -> PGP 6.5.1) [ In reply to ]
On Thu, 20 Jan 2000, David Sexton wrote:

> I can GPG sign a file and PGP verify it on the PC. But when I sign a
> file on the Cobalt and transfer it, PGP complains that it has a bad
> signature (but GPG doesn't).

(You did use binary mode for transfering the file to the PC by FTP)

GnuPG has some workaround to cope with not stripped trailing spaces in
textfiles.

--
Werner Koch at guug.de www.gnupg.org keyid 621CC013

Boycott Amazon! - http://www.gnu.org/philosophy/amazon.html
Re: signing probmems (GPG 1.0.1 -> PGP 6.5.1) [ In reply to ]
Werner Koch wrote:
>
> On Thu, 20 Jan 2000, David Sexton wrote:
>
> > I can GPG sign a file and PGP verify it on the PC. But when I sign a
> > file on the Cobalt and transfer it, PGP complains that it has a bad
> > signature (but GPG doesn't).
>
> (You did use binary mode for transfering the file to the PC by FTP)
>
> GnuPG has some workaround to cope with not stripped trailing spaces in
> textfiles.

Well, the PC's running Linux also, so ASCII mode shouldn't be a prob. I
have since checked and done an md5 checksum on both of the files on both
machines (and they match), so I can't understand what is going wrong.
Here's what I am doing:

------------
[on the Cobalt]

gpg -a --export TEST > test.key
pgp -u TEST --clearsign file.txt

<FTP test.key & file.txt.asc>

[on the PC]

gpg --import test.key --> OK
gpg file.txt.asc --> OK

pgp -ka test.key --> OK
pgp file.txt.asc

I get the error:

File is signed. WARNING: Bad signature, doesn't match file contents!

Bad signature from user "TEST".

-----------


Am I doing something wrong/stupid here?

Any help would be appreciated.

Regards,

Dave

--
David Sexton

Network Technician
Sapphire Technologies Ltd.
Tel: +44 (0) 1642 702100
Fax: +44 (0) 1642 702119

-----------------------------------------------
Any opinions expressed in this message are those of the individual and not necessarily the company. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this message in error and that any use is strictly prohibited.

Sapphire Internet
http://www.sapphire.net