🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Wolfgang Weitz Mon, 28 Sep 1992 16:20
pgp2.0 - signing text files
#1034
Author: Wolfgang Weitz
Date: Mon, 28 Sep 1992 16:20
31 lines
1838 bytes
Hi,

I'd like to use pgp2.0 to sign UseNet messages and mail so that

 (1). *everybody* can read my postings/mails (even without pgp) and 
 (2). those who do have it can also check the signature.

My problem is that ``pgp -s text'' adds the signature in 'binary' form so that
I can't send the resulting ``text.pgp'' as ordinary mail (although the original
text is unchanged, satisfying (1) ). On the other hand: If I use ``pgp -sa text''
the resulting ``text.asc'' is pure ASCII (satisfying (2)), but the receiver
needs pgp to convert the base64 representation (of signature _and_ text)
into the original text again.

So:  Is there any pgp option which allows me to sign a text file with the signature
in base64 representation and the message body unchanged? I know that I can generate 
a signature in a separate file using ``pgp -bsa text'' and then include the resulting 
signature ``text.asc'' in my mail, but this way the receiver must separate signature
and message body into two files to have pgp check it. Is there a ``standard''
way to have pgp do this directly?

Thanks in advance, Wolfgang <wwe@aifb.uni-karlsruhe.de>

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.0

mQBNAiq1LzAAAAECALg0T4Mmg/9DAKZD12wZQ7ic14sQp2fBq5W8VDNeBiTe3npY
SdxoG+rfxngIBdJFaU8BWce6DxG8WIEA+UDqNGEABRO0I1dvbGZnYW5nIFdlaXR6
IDx3ZWl0ekBicm9vemxlLnV1Y3A+
=C0RV
-----END PGP PUBLIC KEY BLOCK-----
Re: pgp2.0 - signing text files
#1036
Author: Mark C. Henderson
Date: Mon, 28 Sep 1992 19:39
35 lines
2142 bytes
In article <1992Sep28.162051.19586@rz.uni-karlsruhe.de> wwe@aifb.uni-karlsruhe.de (Wolfgang Weitz) writes:
>Hi,
>
>I'd like to use pgp2.0 to sign UseNet messages and mail so that
>
> (1). *everybody* can read my postings/mails (even without pgp) and 
> (2). those who do have it can also check the signature.
>
>My problem is that ``pgp -s text'' adds the signature in 'binary' form so that
>I can't send the resulting ``text.pgp'' as ordinary mail (although the original
>text is unchanged, satisfying (1) ). On the other hand: If I use ``pgp -sa text''
>the resulting ``text.asc'' is pure ASCII (satisfying (2)), but the receiver
>needs pgp to convert the base64 representation (of signature _and_ text)
>into the original text again.
>
>So:  Is there any pgp option which allows me to sign a text file with the signature
>in base64 representation and the message body unchanged? I know that I can generate 
>a signature in a separate file using ``pgp -bsa text'' and then include the resulting 
>signature ``text.asc'' in my mail, but this way the receiver must separate signature
>and message body into two files to have pgp check it. Is there a ``standard''
>way to have pgp do this directly?

Well, this would be pretty easy to do in a sh/awk/perl script, but be
aware that many mail transport agents may subtly change your mail so
that the signature will not be valid (for instance they might do
interesting things with tabs/trailing spaces/blank lines...). A
reasonable alternative might be to include both signed and unsigned
versions of the message (signed version using -a option). While this
would double the length of the messages in question, at least everyone
could read them and the signatures would be reasonably reliable.

Mark
-- 
Mark Henderson
markh@wimsey.bc.ca
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads