
Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id MAA09920 for ietf-open-pgp-bks; Sat, 30 Aug 1997 12:56:50 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id MAA09916 for <ietf-open-pgp@imc.org>; Sat, 30 Aug 1997 12:56:46 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm035-16.dialip.mich.net [141.211.7.27]) by merit.edu (8.8.7/8.8.5) with SMTP id QAA20174 for <ietf-open-pgp@imc.org>; Sat, 30 Aug 1997 16:02:28 -0400 (EDT)
Date: Sat, 30 Aug 97 19:02:50 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6501.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: Re: UserID/Auth Field in Open-PGP certs
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

> From: Charles Breed <cbreed@pgp.com>
> wrt Identity, Open-PGP should have the ability to handle other
> types of naming conventions than just the usual RFC822. In order
> to preserve previous implementations, we should make a new packet
> type that would be the new Generic Name packet.
>
I agree.  That is, the "User" element should remain the same, an
undifferentiated byte-string.

The new "Name" element should have some version and type field in it.

But the way I'd recommend doing that is with the SPKI-SDSI "(name ...)"
construct.  Thus, the field could be used in both environments.

BTW, AS..N...1 should be avoided at all costs.

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id NAA01367 for ietf-open-pgp-bks; Fri, 29 Aug 1997 13:33:15 -0700 (PDT)
Received: from mailhub.amaranth.com (root@mailhub.amaranth.com [209.37.228.4]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id NAA01363 for <ietf-open-pgp@imc.org>; Fri, 29 Aug 1997 13:33:11 -0700 (PDT)
Received: from mailhub.amaranth.com (ppp63.pensacola.com [209.37.228.63]) by mailhub.amaranth.com (8.8.5/8.8.5) with SMTP id PAA05440; Fri, 29 Aug 1997 15:46:16 -0500
Message-Id: <199708292046.PAA05440@mailhub.amaranth.com>
From: "William H. Geiger III" <whgiii@amaranth.com>
Date: Fri, 29 Aug 97 15:31:25 -0400
To: Charles Breed <cbreed@pgp.com>
In-Reply-To: <3.0.2.32.19970829131427.00914e10@mail.pgp.com>
Cc: ietf-open-pgp@imc.org
Subject: Re: UserID/Auth Field in Open-PGP certs
X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.32 b33 
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----

In <3.0.2.32.19970829131427.00914e10@mail.pgp.com>, on 08/29/97 
   at 01:14 PM, Charles Breed <cbreed@pgp.com> said:

>  Hello William,

>  I launched this message on UserID naming conventions to add 'some' 
>  type of structure to the existing UserID 'packet' field. The MUA - 
>  User I/F would not be required to 'conform', but an intelligent 
>  client for corp. use, might want more structure (with some guidlines).
>  I would NOT create a new UserID Field. My initial objective here, is 
>  to measure the level of interest in adding additional convenstions.

>  If there is interest, I'll submit a more detailed explanation.


I would be intrested in seeing this advanced.

I would like to see PGP give the users options to enter different types of
UserID's with some built in format validity checking.

There should also be a UserID type field though I imagine that this would
cause compatibility problems with previous versions. There may be a way
this could be added without adversely effecting backward compatiability.
Could use the first 2 bytes of the UserID field and assign them as a type
field but limit their values to non-typeable values (values 00x-0Fx are
not likely to be found in a current userid).

I would have killed to have this implemented in the PGP key format when I
was doing my PGP integration work. Would have saved alot of jumping
through hoops for matching e-mail addresses to keys in my e-mail
applications.

- -- 
- ---------------------------------------------------------------
William H. Geiger III  http://www.amaranth.com/~whgiii
Geiger Consulting    Cooking With Warp 4.0

Author of E-Secure - PGP Front End for MR/2 Ice
PGP & MR/2 the only way for secure e-mail.
OS/2 PGP 2.6.3a at: http://www.amaranth.com/~whgiii/pgpmr2.html                        
- ---------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: cp850
Comment: Registered_User_E-Secure_v1.1b1_ES000000

iQCVAwUBNAcmqI9Co1n+aLhhAQFPBQQAyPmpxOlv71NSm4G0vJhOUCBzc6hQ6Xhq
O5LltyEOPoTG8rF7OKkUcjgS8ePhygK1e7XXjCD7mZgeGI4Imi0dRBmnhAddZKmt
A1XVanoJN8m2QPScQoFw7c4gfmxQmRf9M4cUCM6AlN2/rtwIxLPCRjoZlLaTXFQY
EAFcJGl2MIA=
=gs3t
-----END PGP SIGNATURE-----



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id NAA01057 for ietf-open-pgp-bks; Fri, 29 Aug 1997 13:06:37 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id NAA01052 for <ietf-open-pgp@imc.org>; Fri, 29 Aug 1997 13:06:34 -0700 (PDT)
Received: from cbreed-5 ([205.180.137.52]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id NAA01177 for <ietf-open-pgp@imc.org>; Fri, 29 Aug 1997 13:12:21 -0700 (PDT)
Message-Id: <3.0.2.32.19970829131651.00b99100@mail.pgp.com>
X-Sender: cbreed@mail.pgp.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Fri, 29 Aug 1997 13:16:51 -0700
To: ietf-open-pgp@imc.org
From: Charles Breed <cbreed@pgp.com>
Subject: Re: UserID/Auth Field in Open-PGP certs
In-Reply-To: <5lk9h5x0ww.fsf@assaris.sics.se>
References: <Charles Breed's message of Thu, 28 Aug 1997 14:09:51 -0700> <3.0.2.32.19970828140951.00991a40@mail.pgp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

   Assar,

   I think we should avoid ASN.1 encoding rules at all cost, BUT if we
   are to do anything with a native X.509 cert...

   CB

At 02:55 AM 8/29/97 +0200, Assar Westerlund wrote:
>Charles Breed <cbreed@pgp.com> writes:
>> The UserID field (currently a 255 charater octet string) 
>> could handle other types, such as...
>> 
>> OpenPGPGenericName ::= CHOICE {
>> 	otherName			[0]	INSTANCE OF OTHER-NAME,
>> 	rfc822Name			[1]	255 Octet String,
>> 	dNSName		       [2]	IA5String,
>> 	x400Address	   	       [3]	ORAddress,
>> 	directoryName		       [4]	Name,
>> 	ediPartyName		       [5]	EDIPartyName,
>> 	uniformResourceIdentifier	[6]	IA5String,
>> 	iPAddress			[7]	OCTET STRING,
>> 	registeredID			[8]	OBJECT IDENTIFIER }
>
>Do you actually propose using an ASN.1-related format or did you just
>happen to write it in this format?
>
>/assar
>
>



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id NAA01011 for ietf-open-pgp-bks; Fri, 29 Aug 1997 13:04:13 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id NAA01007 for <ietf-open-pgp@imc.org>; Fri, 29 Aug 1997 13:04:09 -0700 (PDT)
Received: from cbreed-5 ([205.180.137.52]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id NAA01122 for <ietf-open-pgp@imc.org>; Fri, 29 Aug 1997 13:09:56 -0700 (PDT)
Message-Id: <3.0.2.32.19970829131427.00914e10@mail.pgp.com>
X-Sender: cbreed@mail.pgp.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Fri, 29 Aug 1997 13:14:27 -0700
To: ietf-open-pgp@imc.org
From: Charles Breed <cbreed@pgp.com>
Subject: Re: UserID/Auth Field in Open-PGP certs
In-Reply-To: <199708291332.IAA32057@mailhub.amaranth.com>
References: <3.0.2.32.19970828140951.00991a40@mail.pgp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

  Hello William,

  I launched this message on UserID naming conventions to add 'some' 
  type of structure to the existing UserID 'packet' field. The MUA - 
  User I/F would not be required to 'conform', but an intelligent 
  client for corp. use, might want more structure (with some guidlines).
  I would NOT create a new UserID Field. My initial objective here, is 
  to measure the level of interest in adding additional convenstions.

  If there is interest, I'll submit a more detailed explanation.

CB

At 08:12 AM 8/29/97 -0400, William H. Geiger III wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>In <3.0.2.32.19970828140951.00991a40@mail.pgp.com>, on 08/28/97 
>   at 04:09 PM, Charles Breed <cbreed@pgp.com> said:
>
>>Open-PGP certificates should support both...
>>	1) Identity
>>	2) Autherization
>
>>wrt Identity, Open-PGP should have the ability to handle other  types of
>>naming conventions than just the usual RFC822. In order  to preserve
>>previous implementations, we should make a new packet  type that would be
>>the new Generic Name packet.
>
>>The UserID field (currently a 255 charater octet string) 
>>could handle other types, such as...
>
>>OpenPGPGenericName ::= CHOICE {
>>	otherName			[0]	INSTANCE OF OTHER-NAME,
>>	rfc822Name			[1]	255 Octet String,
>>	dNSName		       [2]	IA5String,
>>	x400Address	   	       [3]	ORAddress,
>>	directoryName		       [4]	Name,
>>	ediPartyName		       [5]	EDIPartyName,
>>	uniformResourceIdentifier	[6]	IA5String,
>>	iPAddress			[7]	OCTET STRING,
>>	registeredID			[8]	OBJECT IDENTIFIER }
>
>>the OCTET STRING containing the IP-Address
>>"123.124.125.126" should be coded like:
>>'7B7C7D7E'H
>>  | | | |
>>123 | | | 
>>  124 | |
>>    125 |
>>       126
>
>
>Hi Charles,
>
>I am a little confused by your proposal.
>
>Are you sugessting that:
>
>A) The User Interface should support creating the various Identifiers for
>the user.
>
>B1) These Identifiers should be stored in the current UserID field or B2)
>These Identifiers should be stored in a new Identifier field in addition
>to the UserID field or B3) Theses Identifiers should be stored in a new
>Identifier field as a replacement to the UserID field. 
>
>C) Should there be a Identifier type field (0-F) or (00-FF)?
>
>
>Also should the RFC contain details on the formats of the various
>Identifiers or just pointers to other RFC's?
>
>Do you plan on any of these Identifiers to be manditory?
>
>If you could please elaborate on the use and implemntation of thes
>Identifier fields.
>
>Thanks,
>
>- -- 
>- ---------------------------------------------------------------
>William H. Geiger III  http://www.amaranth.com/~whgiii
>Geiger Consulting    Cooking With Warp 4.0
>
>Author of E-Secure - PGP Front End for MR/2 Ice
>PGP & MR/2 the only way for secure e-mail.
>OS/2 PGP 2.6.3a at: http://www.amaranth.com/~whgiii/pgpmr2.html
            
>- ---------------------------------------------------------------
>
>-----BEGIN PGP SIGNATURE-----
>Version: 2.6.3a
>Charset: cp850
>Comment: Registered_User_E-Secure_v1.1b1_ES000000
>
>iQCVAwUBNAbBFY9Co1n+aLhhAQEwOQQAi/ZN/r5BA7ExoVrQotrBtcJBjTCzDZau
>U+bxqTDqnKGYXbP0htuXuYyfmDs6itwm1lHDwxBMGmvCYPpm/bqwCOfb3njou6Bu
>C0CppYuvLQyYezB9BifQI56MB8AntQdDmHEWIV+FEPagGBTgDoNLLK1MdIwUl654
>W2o+kBqW19o=
>=XFbZ
>-----END PGP SIGNATURE-----
>
>
>



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id GAA26651 for ietf-open-pgp-bks; Fri, 29 Aug 1997 06:19:51 -0700 (PDT)
Received: from mailhub.amaranth.com (root@mailhub.amaranth.com [209.37.228.4]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id GAA26647 for <ietf-open-pgp@imc.org>; Fri, 29 Aug 1997 06:19:47 -0700 (PDT)
Received: from mailhub.amaranth.com (ppp52.pensacola.com [209.37.228.52]) by mailhub.amaranth.com (8.8.5/8.8.5) with SMTP id IAA32057; Fri, 29 Aug 1997 08:32:44 -0500
Message-Id: <199708291332.IAA32057@mailhub.amaranth.com>
From: "William H. Geiger III" <whgiii@amaranth.com>
Date: Fri, 29 Aug 97 08:12:01 -0400
To: Charles Breed <cbreed@pgp.com>
In-Reply-To: <3.0.2.32.19970828140951.00991a40@mail.pgp.com>
Cc: ietf-open-pgp@imc.org, metacert@pgp.com
Subject: Re: UserID/Auth Field in Open-PGP certs
X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.32 b33 
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----

In <3.0.2.32.19970828140951.00991a40@mail.pgp.com>, on 08/28/97 
   at 04:09 PM, Charles Breed <cbreed@pgp.com> said:

>Open-PGP certificates should support both...
>	1) Identity
>	2) Autherization

>wrt Identity, Open-PGP should have the ability to handle other  types of
>naming conventions than just the usual RFC822. In order  to preserve
>previous implementations, we should make a new packet  type that would be
>the new Generic Name packet.

>The UserID field (currently a 255 charater octet string) 
>could handle other types, such as...

>OpenPGPGenericName ::= CHOICE {
>	otherName			[0]	INSTANCE OF OTHER-NAME,
>	rfc822Name			[1]	255 Octet String,
>	dNSName		       [2]	IA5String,
>	x400Address	   	       [3]	ORAddress,
>	directoryName		       [4]	Name,
>	ediPartyName		       [5]	EDIPartyName,
>	uniformResourceIdentifier	[6]	IA5String,
>	iPAddress			[7]	OCTET STRING,
>	registeredID			[8]	OBJECT IDENTIFIER }

>the OCTET STRING containing the IP-Address
>"123.124.125.126" should be coded like:
>'7B7C7D7E'H
>  | | | |
>123 | | | 
>  124 | |
>    125 |
>       126


Hi Charles,

I am a little confused by your proposal.

Are you sugessting that:

A) The User Interface should support creating the various Identifiers for
the user.

B1) These Identifiers should be stored in the current UserID field or B2)
These Identifiers should be stored in a new Identifier field in addition
to the UserID field or B3) Theses Identifiers should be stored in a new
Identifier field as a replacement to the UserID field. 

C) Should there be a Identifier type field (0-F) or (00-FF)?


Also should the RFC contain details on the formats of the various
Identifiers or just pointers to other RFC's?

Do you plan on any of these Identifiers to be manditory?

If you could please elaborate on the use and implemntation of thes
Identifier fields.

Thanks,

- -- 
- ---------------------------------------------------------------
William H. Geiger III  http://www.amaranth.com/~whgiii
Geiger Consulting    Cooking With Warp 4.0

Author of E-Secure - PGP Front End for MR/2 Ice
PGP & MR/2 the only way for secure e-mail.
OS/2 PGP 2.6.3a at: http://www.amaranth.com/~whgiii/pgpmr2.html                        
- ---------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: cp850
Comment: Registered_User_E-Secure_v1.1b1_ES000000

iQCVAwUBNAbBFY9Co1n+aLhhAQEwOQQAi/ZN/r5BA7ExoVrQotrBtcJBjTCzDZau
U+bxqTDqnKGYXbP0htuXuYyfmDs6itwm1lHDwxBMGmvCYPpm/bqwCOfb3njou6Bu
C0CppYuvLQyYezB9BifQI56MB8AntQdDmHEWIV+FEPagGBTgDoNLLK1MdIwUl654
W2o+kBqW19o=
=XFbZ
-----END PGP SIGNATURE-----



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id RAA18690 for ietf-open-pgp-bks; Thu, 28 Aug 1997 17:49:26 -0700 (PDT)
Received: from brahma.sics.se (brahma.sics.se [193.10.66.43]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id RAA18682 for <ietf-open-pgp@imc.org>; Thu, 28 Aug 1997 17:49:21 -0700 (PDT)
Received: from anhur.sics.se by brahma.sics.se (8.7.3/SICS) with ESMTP id CAA04827; Fri, 29 Aug 1997 02:54:54 +0200 (MET DST)
Received: from assaris.sics.se by anhur.sics.se (8.7.3/SICS-client) with ESMTP id CAA25705; Fri, 29 Aug 1997 02:54:53 +0200 (MET DST)
Received: (from assar@localhost) by assaris.sics.se (8.8.5/8.8.5) id CAA13006; Fri, 29 Aug 1997 02:56:00 +0200 (MET DST)
To: Charles Breed <cbreed@pgp.com>
Cc: ietf-open-pgp@imc.org, metacert@pgp.com
Subject: Re: UserID/Auth Field in Open-PGP certs
References: <3.0.2.32.19970828140951.00991a40@mail.pgp.com>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
From: Assar Westerlund <assar@sics.se>
Date: 29 Aug 1997 02:55:59 +0200
In-Reply-To: Charles Breed's message of Thu, 28 Aug 1997 14:09:51 -0700
Message-ID: <5lk9h5x0ww.fsf@assaris.sics.se>
Lines: 19
X-Mailer: Gnus v5.3/Emacs 19.34
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Charles Breed <cbreed@pgp.com> writes:
> The UserID field (currently a 255 charater octet string) 
> could handle other types, such as...
> 
> OpenPGPGenericName ::= CHOICE {
> 	otherName			[0]	INSTANCE OF OTHER-NAME,
> 	rfc822Name			[1]	255 Octet String,
> 	dNSName		       [2]	IA5String,
> 	x400Address	   	       [3]	ORAddress,
> 	directoryName		       [4]	Name,
> 	ediPartyName		       [5]	EDIPartyName,
> 	uniformResourceIdentifier	[6]	IA5String,
> 	iPAddress			[7]	OCTET STRING,
> 	registeredID			[8]	OBJECT IDENTIFIER }

Do you actually propose using an ASN.1-related format or did you just
happen to write it in this format?

/assar


Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id NAA16407 for ietf-open-pgp-bks; Thu, 28 Aug 1997 13:59:45 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id NAA16403 for <ietf-open-pgp@imc.org>; Thu, 28 Aug 1997 13:59:41 -0700 (PDT)
Received: from cbreed-5 ([205.180.137.52]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id OAA14841; Thu, 28 Aug 1997 14:05:23 -0700 (PDT)
Message-Id: <3.0.2.32.19970828140951.00991a40@mail.pgp.com>
X-Sender: cbreed@mail.pgp.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Thu, 28 Aug 1997 14:09:51 -0700
To: ietf-open-pgp@imc.org
From: Charles Breed <cbreed@pgp.com>
Subject: UserID/Auth Field in Open-PGP certs
Cc: metacert@pgp.com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Open-PGP certificates should support both...
	1) Identity
	2) Autherization

wrt Identity, Open-PGP should have the ability to handle other 
types of naming conventions than just the usual RFC822. In order 
to preserve previous implementations, we should make a new packet 
type that would be the new Generic Name packet.

The UserID field (currently a 255 charater octet string) 
could handle other types, such as...

OpenPGPGenericName ::= CHOICE {
	otherName			[0]	INSTANCE OF OTHER-NAME,
	rfc822Name			[1]	255 Octet String,
	dNSName		       [2]	IA5String,
	x400Address	   	       [3]	ORAddress,
	directoryName		       [4]	Name,
	ediPartyName		       [5]	EDIPartyName,
	uniformResourceIdentifier	[6]	IA5String,
	iPAddress			[7]	OCTET STRING,
	registeredID			[8]	OBJECT IDENTIFIER }

the OCTET STRING containing the IP-Address
"123.124.125.126" should be coded like:
'7B7C7D7E'H
  | | | |
123 | | | 
  124 | |
    125 |
       126





Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id FAA06756 for ietf-open-pgp-bks; Wed, 27 Aug 1997 05:22:11 -0700 (PDT)
Received: from sinfonix.rz.tu-clausthal.de (uA314tpvCVxBXNL6Hb+yeIE8gK0Qk+iL@sinfonix.rz.tu-clausthal.de [139.174.253.19]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id FAA06751 for <ietf-open-pgp@imc.org>; Wed, 27 Aug 1997 05:22:06 -0700 (PDT)
Received: from modem3.slip.tu-clausthal.de (modem3.slip.tu-clausthal.de [139.174.7.3])  by sinfonix.rz.tu-clausthal.de (8.8.7/8.8.7) with SMTP id OAA11527 for <ietf-open-pgp@imc.org>; Wed, 27 Aug 1997 14:27:28 +0200 (MET DST)
Message-Id: <1.5.4.16.19970827122725.2f7fd380@pop.rz.tu-clausthal.de>
X-No-Archive: Yes
X-Sender: pehw@pop.rz.tu-clausthal.de
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 27 Aug 1997 14:27:25 +0200
To: ietf-open-pgp@imc.org
From: Hagen Wollert <h.wollert@tu-clausthal.de>
Subject: Re: mandatory requirements
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Hello to all,

at 11:07 25.08.97 EST David Gaon <gaond@ncr.disa.mil> wrote:

>     Allen Simpson wrote:
>     >>>1. mandatory support for strong, open and unencumbered 
>     >>>cryptographic algorithms.  Other algorithms may be optionally 
>     >>>specified, but will >>not be required for conformance.
>     
>     I disagree - There MUST NOT be any mandatory requirements for 
>     algorithms, keys, ...

I agree - but - though it sounds ridiculous - this feature
should be implied in an ordered manner by choosing 'user
agreed' in the algorithm field.

>     How about:
>     ""3. Gov and legislative policies from any country SHALL NOT be 
>     considered nor shall they be caused to impact the specifications""
>     
>     I think this what you intend!

Gov policy should not be considered in any way !  I'd even
have problems with a gov. approved key authentification as
this might lead to a 'soft take-over'.

CU,

Hagen


-- 
_____________________________________________________________________
Hagen Wollert                               h.wollert@tu-clausthal.de
PGPed E-Mail welcome    -    public key available on most key-servers
2048/BBAF99CD   MD5: 11 AD A2 70 67 0A 32 CA  34 D8 F0 CE 67 8A B7 A1



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id AAA17513 for ietf-open-pgp-bks; Tue, 26 Aug 1997 00:42:57 -0700 (PDT)
Received: from drum-damo.army.mil (root@DRUM-DAMO.ARMY.MIL [147.198.110.85]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id AAA17509 for <ietf-open-pgp@imc.org>; Tue, 26 Aug 1997 00:42:53 -0700 (PDT)
Received: from [147.40.40.138] ([147.40.40.138]) by drum-damo.army.mil (8.7.5/8.7.3) with SMTP id CAA18714 for <ietf-open-pgp@imc.org>; Tue, 26 Aug 1997 02:48:26 -0400
Received: from greenea.5sigcmd.army.mil by [147.40.40.138] for ietf-open-pgp@imc.org; Tue, 26 Aug 97 09:48:19 DST
Message-Id: <3.0.3.32.19970826094816.007c6d80@[127.0.0.1]>
X-Homepage: <http://www.pobox.com/~agreene/>
X-PGP-KeyId: pub 1083 0x78CD4329
X-PGP-Fingerprint: A3 57 37 48 54 88 FE 4A  D6 81 C0 74 DA 00 A6 F7
X-Sender: agreene@[127.0.0.1]
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32)
Date: Tue, 26 Aug 1997 09:48:16 +0200
To: ietf-open-pgp@imc.org
From: "Anthony E. Greene" <agreene@pobox.com>
Subject: Re: Open-PGP Charter
In-Reply-To: <9707258725.AA872533046@ncr.disa.mil>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----

At 11:07 25-08-1997 EST, David Gaon wrote:
>     Allen Simpson wrote:
>     >>>1. mandatory support for strong, open and unencumbered 
>     >>>cryptographic algorithms.  Other algorithms may be optionally 
>     >>>specified, but will >>not be required for conformance.
>     
>     I disagree - There MUST NOT be any mandatory requirements for 
>     algorithms, keys, ...
>     If two correspondents need to correspond securely, they must first 
>     establish their respective mail security capabilities (ie find out 
>     what they can receive)  through the use of other relevant mail 
>     capabilities such as Directories.
>     If they h ave compoatible capabilities, they will correspond,  if they 
>     do not, tough luck.  This is no problem for e-commerce because I 
>     expect commercial enterprises will implement a multitude of security 
>     capabilities to satisfy their cusdtomers.

I think specifying at least one algorithm and key length/format should be a 
minimum requirement for interoperability. These minimums should be met with 
freely available algorithms. If we don't specify a common denominator then 
marketing forces, not technical merit, will select a defacto common 
denominator for us.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: cp850
Comment: Anthony E. Greene <agreene@pobox.com> pub 1083 0x78cd4329

iQCdAwUBNAKKKkRUP9V4zUMpAQF8qAQ7BF6a3qeLLJjUssYq9pVFBvfmkKldpar0
D4Z9QuYNm1nBHhkPR7l+O+FBVMzFDNgZBZmGHhTZ/2t4YEdSg0de5hMhoMc3KiTK
8B8H70RtVLMnCwdSO2Yt68dI/gT9BgUJHLjdNdFVXliN6mefSUrYU0rLm3YKsRZI
qHjhm9xbgtUqq8rPNsChkg==
=17HH
-----END PGP SIGNATURE-----



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id KAA10333 for ietf-open-pgp-bks; Mon, 25 Aug 1997 10:16:32 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id KAA10329 for <ietf-open-pgp@imc.org>; Mon, 25 Aug 1997 10:16:28 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm035-02.dialip.mich.net [141.211.7.13]) by merit.edu (8.8.7/8.8.5) with SMTP id NAA09181 for <ietf-open-pgp@imc.org>; Mon, 25 Aug 1997 13:21:56 -0400 (EDT)
Date: Mon, 25 Aug 97 16:49:05 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6468.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: Re:
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

> From: "David Gaon" <gaond@ncr.disa.mil>
>      >>>1. mandatory support for strong, open and unencumbered
>      >>>cryptographic algorithms.  Other algorithms may be optionally
>      >>>specified, but will >>not be required for conformance.
>
>      I disagree - There MUST NOT be any mandatory requirements for
>      algorithms, keys, ...

Welcome to the IETF.  We do not do things this way.

>      If they h ave compoatible capabilities, they will correspond,  if they
>      do not, tough luck.

The IETF requires _interoperable_ implementations for its Standards
Process.  That means we need to specify mandatory algorithms that all
conformant implementations will use.

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id JAA10024 for ietf-open-pgp-bks; Mon, 25 Aug 1997 09:56:55 -0700 (PDT)
Received: from hail.ncr.disa.mil (hail.ncr.disa.mil [164.117.176.115]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id JAA10020 for <ietf-open-pgp@imc.org>; Mon, 25 Aug 1997 09:56:51 -0700 (PDT)
Received: from ncr.disa.mil ([164.117.176.106]) by hail.ncr.disa.mil (8.7.3/DISA 8.7.3.01) with SMTP id MAA01796; Mon, 25 Aug 1997 12:56:20 -0400 (EDT)
Received: from ccMail by ncr.disa.mil (SMTPLINK V2.11.01) id AA872539155; Mon, 25 Aug 97 12:55:24 EST
Date: Mon, 25 Aug 97 12:55:24 EST
From: "David Gaon" <gaond@ncr.disa.mil>
Message-Id: <9707258725.AA872539155@ncr.disa.mil>
To: cbreed@pgp.com, ietf-open-pgp@imc.org
Subject: RE: PROPOSED OPEN-PGP Charter
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

     
     Charles
     
     1. Great - happy to see it coming - comments below
     
     2.
     >>Charter - The group will place particular emphasis on strong 
     cryptography based on open and freely available algorithms.<<
     
     Fully concur
     
     >>Charter - 1. interoperability using cryptographic algorithms 
     >>(asymmetric/symmetric including key lengths) that are consider 
     >>strong, open and unencumbered, and 
     
     Is there any way of ensuring (or at least attempting) interoperability 
     amongst mesage security applications (e.g. PGP and RSA.  My 
     understanding is that even if the 2 applications use the same 
     algorithms, they are still not interoperable)
     
     Allen Simpson wrote:
     >>>1. mandatory support for strong, open and unencumbered 
     >>>cryptographic algorithms.  Other algorithms may be optionally 
     >>>specified, but will >>not be required for conformance.
     
     I disagree - There MUST NOT be any mandatory requirements for 
     algorithms, keys, ...
     If two correspondents need to correspond securely, they must first 
     establish their respective mail security capabilities (ie find out 
     what they can receive)  through the use of other relevant mail 
     capabilities such as Directories.
     If they h ave compoatible capabilities, they will correspond,  if they 
     do not, tough luck.  This is no problem for e-commerce because I 
     expect commercial enterprises will implement a multitude of security 
     capabilities to satisfy their cusdtomers.
     
     3.
     >>Charter - 2. limited backwards compatibility with the existing pgp 
     message
     
     ""Limited""   is good - anything more (as Allen Simpson suggested) 
     will encumber (and probably regress) the specification
     
     4.
     >>Charter - 3. Government and legislative policies from any country 
     >>SHOULD not impact the specification
     
     How about:
     ""3. Gov and legislative policies from any country SHALL NOT be 
     considered nor shall they be caused to impact the specifications""
     
     I think this what you intend!
     
     5.
     >>Charter - 5. certificate and message format
     
     Could we work towards unifying the different secure mail messsage 
     formats floating around  and making this the unified format
     
     Cheers
     
     David Gaon
      



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id JAA09914 for ietf-open-pgp-bks; Mon, 25 Aug 1997 09:47:35 -0700 (PDT)
Received: from proper.com (proper.com [165.227.249.2]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id JAA09909 for <ietf-open-pgp@imc.org>; Mon, 25 Aug 1997 09:47:32 -0700 (PDT)
Received: from [165.227.249.112] (buddhi.proper.com [165.227.249.112]) by proper.com (8.8.7/8.7.3) with ESMTP id JAA01817 for <ietf-open-pgp@imc.org>; Mon, 25 Aug 1997 09:48:49 -0700 (PDT)
Message-Id: <v03110705b02762f188cf@[165.227.249.112]>
In-Reply-To: <9707258725.AA872533046@ncr.disa.mil>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 25 Aug 1997 09:53:20 -0700
To: ietf-open-pgp@imc.org
From: Paul Hoffman / IMC <phoffman@imc.org>
Subject: Re: 
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

The charter proposal looks pretty good. However, I think a more easy to
follow list of the provisions might be:

The resulting work will specify:
1. certificate and message formats that have limited backwards
compatibility with the existing PGP message format described in RFC 1991
2. a public key infrastructure and trust model
3. basic time stamping capabilities
4. mandatory minimum specifications for encryption and key exchange that
are chosen without concern for any government policies and that are
consider strong, open, and unencumbered by intellectual property rights
5. a MIME structure similar (if not identical) to RFC 2015

>Chairpersons:
>
>John W. Noerenberg, II <jwn2@eudora.com>
>Charles J. Breed <cbreed@pgp.com> co-chair

My experience has been that two chairpeople don't do a better job than one.
In this case, since Charles currently works for the company whose employees
have written the drafts we'll probably consider, I think that a single
chairman, John Noerenberg, would be better than two. (Disclaimer: both
people work for members of IMC, and John's on our board of directors.)

At 9:07 AM -0700 8/25/97, David Gaon wrote:
>     I disagree - There MUST NOT be any mandatory requirements for
>     algorithms, keys, ...
>     If two correspondents need to correspond securely, they must first
>     establish their respective mail security capabilities (ie find out
>     what they can receive)  through the use of other relevant mail
>     capabilities such as Directories.
>     If they h ave compoatible capabilities, they will correspond,  if they
>     do not, tough luck.  This is no problem for e-commerce because I
>     expect commercial enterprises will implement a multitude of security
>     capabilities to satisfy their cusdtomers.

The IESG rejected the TLS (SSL) Working Group's efforts because they didn't
include a mandatory minimum. Although they haven't said that they would do
that for all security protocols, it seems likely they will. Thus, I think
this group needs to have mandatory minimums if we want to have our work be
on standards track.

>     >>Charter - 5. certificate and message format
>
>     Could we work towards unifying the different secure mail messsage
>     formats floating around  and making this the unified format

Well, given that the other popular format (S/MIME) uses a very different
underlying format (PKCS #7), "unifying" can't happen at the same time as
any backwards compatibility with earlier PGP (or, conversely, with earlier
S/MIME). I think it is better to stay focused on the work described above.

--Paul E. Hoffman, Director
--Internet Mail Consortium




Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id IAA08924 for ietf-open-pgp-bks; Mon, 25 Aug 1997 08:16:25 -0700 (PDT)
Received: from hail.ncr.disa.mil (hail.ncr.disa.mil [164.117.176.115]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id IAA08920 for <ietf-open-pgp@imc.org>; Mon, 25 Aug 1997 08:16:21 -0700 (PDT)
Received: from ncr.disa.mil ([164.117.176.106]) by hail.ncr.disa.mil (8.7.3/DISA 8.7.3.01) with SMTP id LAA07906; Mon, 25 Aug 1997 11:15:27 -0400 (EDT)
Received: from ccMail by ncr.disa.mil (SMTPLINK V2.11.01) id AA872533046; Mon, 25 Aug 97 11:07:17 EST
Date: Mon, 25 Aug 97 11:07:17 EST
From: "David Gaon" <gaond@ncr.disa.mil>
Message-Id: <9707258725.AA872533046@ncr.disa.mil>
To: cbreed@pgp.com, ietf-open-pgp@imc.org
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

     
     Charles
     
     1. Great - happy to see it coming - comments below
     
     2.
     >>Charter - The group will place particular emphasis on strong 
     cryptography based on open and freely available algorithms.<<
     
     Fully concur
     
     >>Charter - 1. interoperability using cryptographic algorithms 
     >>(asymmetric/symmetric including key lengths) that are consider 
     >>strong, open and unencumbered, and 
     
     Is there any way of ensuring (or at least attempting) interoperability 
     amongst mesage security applications (e.g. PGP and RSA.  My 
     understanding is that even if the 2 applications use the same 
     algorithms, they are still not interoperable)
     
     Allen Simpson wrote:
     >>>1. mandatory support for strong, open and unencumbered 
     >>>cryptographic algorithms.  Other algorithms may be optionally 
     >>>specified, but will >>not be required for conformance.
     
     I disagree - There MUST NOT be any mandatory requirements for 
     algorithms, keys, ...
     If two correspondents need to correspond securely, they must first 
     establish their respective mail security capabilities (ie find out 
     what they can receive)  through the use of other relevant mail 
     capabilities such as Directories.
     If they h ave compoatible capabilities, they will correspond,  if they 
     do not, tough luck.  This is no problem for e-commerce because I 
     expect commercial enterprises will implement a multitude of security 
     capabilities to satisfy their cusdtomers.
     
     3.
     >>Charter - 2. limited backwards compatibility with the existing pgp 
     message
     
     ""Limited""   is good - anything more (as Allen Simpson suggested) 
     will encumber (and probably regress) the specification
     
     4.
     >>Charter - 3. Government and legislative policies from any country 
     >>SHOULD not impact the specification
     
     How about:
     ""3. Gov and legislative policies from any country SHALL NOT be 
     considered nor shall they be caused to impact the specifications""
     
     I think this what you intend!
     
     5.
     >>Charter - 5. certificate and message format
     
     Could we work towards unifying the different secure mail messsage 
     formats floating around  and making this the unified format
     
     Cheers
     
     David Gaon
      



Received: (from majordomo@localhost) by mail.proper.com (8.8.7/8.7.3) id NAA29829 for ietf-open-pgp-bks; Sun, 24 Aug 1997 13:25:42 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.7/8.7.3) with ESMTP id NAA29825 for <ietf-open-pgp@imc.org>; Sun, 24 Aug 1997 13:25:34 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm035-04.dialip.mich.net [141.211.7.15]) by merit.edu (8.8.7/8.8.5) with SMTP id QAA25518 for <ietf-open-pgp@imc.org>; Sun, 24 Aug 1997 16:31:02 -0400 (EDT)
Date: Sun, 24 Aug 97 19:33:55 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6462.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: ASCII box diagrams
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

> From: Jon Callas <jon@pgp.com>
> At 08:04 AM 8/21/97 -0400, Tony Mione wrote:
>    	4) It would be really helpful to use ascii-character box diagrams to
>    illustrate the CTB, packet length, and the assorted packet layouts (ala
> older
>    IP/TCP RFCs). They look kind of old and crufty but can clear up a great
> deal
>    of confusion when done correctly.
>
> Thanks for the suggestion, I'll look at it.
>
I suggest something like the following:


5.1 Public-Key-Encrypted Symmetric-Key

   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |    Content    |            Length*            |    Version    |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | PK-Identifier ...
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   ...                                                         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | PK-Algorithm  | Data ...
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

   Content (CTB)        0x85

   Length*              2 bytes.  Range 10 to 8191, beginning with
                        Version field.

                        Will PGP 2.6.2 generate a 2 byte length even
                        when a short (256 bit) RSA key is used???  Will
                        a 1 byte length be interpreted correctly by 2.6
                        and 5.0???  Need testing.

   Version              1 byte.  Indicates format.  Valid values are:

                          (2) identical to format (3).
                          (3) current format described.

                        The change in version from (2) to (3) prevents
                        early releases of PGP from parsing output from
                        later releases, but has no other effect.  See
                        "Version Fields" for details.

   Public-Key-Identifier (PKID)
                        8 bytes.  Aids in identifying the public key
                        used to encrypt the symmetric session key.  See
                        "Public Keys" for details.

   PK-Algorithm (PKA)   1 byte.  The public-key algorithm used.  See
                        "Public Keys" for details.  Valid values are:

                          (1) RSA

   Data                 variable.  A string of octets that is the
                        encrypted symmetric session key.

   This element is used in a message.  One or more of these elements
   precede a Symmetric-Key-Encrypted Data Element.  The recipient of the
   message finds a PK-Identifier that matches their public key, decrypts
   the symmetric session key, and then uses the session key to decrypt
   the Data Element.

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id NAA20402 for ietf-open-pgp-bks; Sat, 23 Aug 1997 13:24:29 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id NAA20398 for <ietf-open-pgp@imc.org>; Sat, 23 Aug 1997 13:24:25 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm002-24.dialip.mich.net [141.211.7.160]) by merit.edu (8.8.7/8.8.5) with SMTP id QAA16349 for <ietf-open-pgp@imc.org>; Sat, 23 Aug 1997 16:29:48 -0400 (EDT)
Date: Sat, 23 Aug 97 14:09:23 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6457.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: content tag
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

I had hoped that someone else would step up to my suggestion that the
content tags (nee cipher type) would be carefully listed.  Since nobody
else has done it, I've started the list.  I only have the source to
2.6.2, so here's what I have until 5.0 source is available.

Also, I see a very easy method to add SPKI-style SDSI textual
conventions to the database format.  I've proposed that on the SPKI
list, and I've included the simple addition and terminology changes that
make this possible.


hex     length   usage  element
===     ======   =====  =======
00...    none           ///
09  HT   none           SPKI VTF
0A...    none           ///
20       none           SPKI VTF
21       none           +++
22  "    none           SPKI VTF
23  #    none           SPKI VTF
24...    none           +++
28  (    none           SPKI S-expression begin
29  )    none           SPKI S-expression end
2A...    none           +++
30...    none           SPKI byte-stream format
3B...    none           +++
7B  {    none        M  SPKI base64-stream begin
7C  |    none           SPKI VTF
7D  }    none        M  SPKI base64-stream end
7E       none           +++
7F       none           ///
80       8-bit 255      +++
81      16-bit          +++
82      32-bit          +++
83      to end          +++
84       8-bit 255      +++
85      16-bit       M  Public-Key-Encrypted Symmetric-Key
86      32-bit          +++
87      to end          +++
88       8-bit 255      ??? (check rfc1991 mismatch PGP2.6.2)
89      16-bit       I  Signature
8A      32-bit          +++
8B      to end          +++
8C       8-bit 255  SI  Hash???
8D      16-bit          +++???
8E      32-bit          +++???
8F      to end          +++???
90       8-bit 255      +++
91      16-bit          +++
92      32-bit          +++
93      to end          +++
94       8-bit 255      +++
95      16-bit       X  Private-Key
96      32-bit          +++
97      to end          +++
98       8-bit 255      ??? (check rfc1991 mismatch PGP2.6.2)
99      16-bit      SI  Public-Key
9A      32-bit          +++
9B      to end          +++
9C       8-bit 255      +++
9D      16-bit          +++
9E      32-bit          +++
9F      to end          +++
A0       8-bit 255      +++
A1      16-bit          +++
A2      32-bit          +++
A3      to end       M  Compressed Data
A4       8-bit 255      ---
A5      16-bit          ---
A6      32-bit          ---
A7      to end       M  Symmetric-Key-Encrypted Data
A8       8-bit 255   ?  Version?
A9      16-bit          ---?
AA      32-bit          ---?
AB      to end       M  Obsolete-Literal?
AC       8-bit 255      +++
AD      16-bit          +++
AE      32-bit          +++
AF      to end       M  Fixed-Literal
B0       8-bit 255   A  Trust???
B1      16-bit          +++???
B2      32-bit          +++???
B3      to end          +++???
B4       8-bit 255   A  Name
B5      16-bit          ---
B6      32-bit          ---
B7      to end          ---
B8       8-bit 255      +++
B9      16-bit          +++
BA      32-bit          +++
BB      to end          +++ (?)
BC       8-bit 255      +++
BD      16-bit          +++
BE      32-bit          +++
BF      to end          +++
C0         V            +++
C1         V            Public-Key-Encrypted Symmetric-Key
C2         V            Signature
(etc.)

Usage:
        A       Assertion
        I       Issuer
        M       Message only
        S       Subject
        X       DataBase (KeyRing) only

+++:
        For future use.
        A CTB with this value is skipped,
        using the specified length.

---:
        Never generated (extension conflict).
        A CTB with this value is skipped,
        using the specified length.

///:
        MUST NOT be used.
        A CTB with this value causes a processing abort.

SPKI VTF:
        Visual Textual Format.
        A CTB with this value causes a processing abort.

to end:
        Indeterminate length runs to end of data.

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id KAA19402 for ietf-open-pgp-bks; Sat, 23 Aug 1997 10:30:05 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id KAA19395 for <ietf-open-pgp@imc.org>; Sat, 23 Aug 1997 10:30:00 -0700 (PDT)
Received: by brickwall.ceddec.com id <32258>; Sat, 23 Aug 1997 13:35:10 -0400
Date: Sat, 23 Aug 1997 13:35:17 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
Reply-To: tzeruch@ceddec.com
To: ietf-open-pgp@imc.org
Subject: PGP specification note and suggestion
In-Reply-To: <3.0.2.32.19970821152347.00b74810@mail.pgp.com>
Message-Id: <97Aug23.133510edt.32258@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

>From 3.2:

The length field of an MPI describes the length starting from its most
significant non-zero bit. Thus, the MPI [00 02 01] is not formed
correctly. It should be [00 01 01].

This is required by most earlier versions of PGP (through 2.7.1) for
signatures, but not apparently for encryption or decryption.  It is not
required by 5.0.  Note that many RSA implementations return the value the
same length as the modulus, which can include leading zeros.

Also note that the above bad example would work with the earlier versions
of PGP - it simply requried the leading byte not be zero.

So, how strict is the MPI format requirement? (another "should" v.s. 
"must" debate).

---

It would help greatly if there was some minimum specification about when
data will *NOT* be split into chunks with the new CTB length scheme. 

e.g.

0xca 0x03 'P' 'G' 'P'

is easy to handle, but it would seem that

0xca 0xe0 'P' 0xe0 'G' 0xe0 'P' 0x00

is equally valid (I made this up, so may have erred in the details).

I don't want to create another state machine and I/O abstraction layer
when I don't have to, and PGP 5.0 doesn't arbitrarily do things like the
above.

What I would like is that for things like any CTB valid within a keyring,
and short (<8381 or whatever) comment type packets, that there will only
be *ONE* length entry of one or two bytes as appropriate.  If this sounds
like it makes sense, I can come up with a comprehensive list, but
generally I would only permit it for things that are inherently variable
in length (like file data contents).

---

Should the new length format be used for compressed blocks?  If the
compression algorithm will know (or can determine) the length, it is much
simpler than having to have one state machine to feed the (de)compressor,
and another to dechunk the data stream.  In fact, it is cleaner to create
a dechunk | decompress pipe, though less efficient, than the merged code -
some of the ugliest stuff I have written. 

I haven't tried generating things with these tiny length-continue segments
to see if PGP can handle them.  But for smaller machines (e.g. palmtops
and PDAs) it would be better not to have to worry about this.






Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id VAA14426 for ietf-open-pgp-bks; Fri, 22 Aug 1997 21:45:58 -0700 (PDT)
Received: from lancelot.st.nepean.uws.edu.au (lancelot.st.nepean.uws.edu.au [137.154.148.30]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id VAA14422 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 21:45:49 -0700 (PDT)
Received: from oberon.st.nepean.uws.edu.au (oberon [137.154.148.13]) by lancelot.st.nepean.uws.edu.au (8.8.5/8.8.5) with ESMTP id OAA18298; Sat, 23 Aug 1997 14:50:27 +1000
Received: from shirley (dformosa@nero-asy-24.nepean.uws.edu.au [137.154.196.214]) by oberon.st.nepean.uws.edu.au (8.8.5/8.8.5) with SMTP id OAA20190; Sat, 23 Aug 1997 14:50:22 +1000 (EST)
Date: Sat, 23 Aug 1997 10:40:11 +1000 (EST)
From: ? the Platypus {aka David Formosa} <dformosa@st.nepean.uws.edu.au>
X-Sender: dformosa@shirley
Reply-To: platypus@acmeonline.net
To: "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>
cc: cbreed@pgp.com, ietf-open-pgp@imc.org
Subject: RE: PROPOSED OPEN-PGP Charter
In-Reply-To: <970822130848.20209252@hobbes.orl.lmco.com>
Message-ID: <Pine.LNX.3.93.970823103527.596B-100000@shirley>
x-url: http://www.st.nepean.uws.edu.au/~dformosa/Spelling.html
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 22 Aug 1997, A. Padgett Peterson P.E. Information Security wrote:

> The OPEN-PGP Specification will have provisions for;
> 1. interoperability using cryptographic algorithms (asymmetric/symmetric 
>    including key lengths) that are consider strong, open and unencumbered, 
>    and other algorithms MAY be used
> 
> This is not very good English - the word "may" removes any meaning/force.

I read the MAY as a RFC style requirement.  And as such has a (slightly)
diffrent meaning to the english one.

> 3. Government and legislative policies from any country SHOULD not impact 
> the specification
> 
> Word "SHOULD" makes it a null statement - has same effect as "MAY"

No the meaning is diffrencent.  The SHOULD suggests that it is possable
but only after we have thought about all the concequencers of this action.

- -- 
Please excuse my spelling as I suffer from agraphia see the url in my header. 
Never trust a country with more peaple then sheep.  ex-net.scum and proud
You Say To People "Throw Off Your Chains" And They Make New Chains For
Themselves? --Terry Pratchett

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBM/4xc6QK0ynCmdStAQF9ZAP/T4P0Ttdo3XrqBa5C6nfwuwYXNpL9QzDI
9UoRy4ehqI1vtFLL98Z8G3wtriQtCRXvZ/5MFU7i6iLEhqv1xQ7Mc6Cn2rIP1KxA
3LEd/cHv0fSSx+DU0ctEEjtEipUhYNlTABgtFn6AC/sKs3LKphYnsjQWfEIFTOMo
kEQzMcPWAcw=
=M6KG
-----END PGP SIGNATURE-----



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id PAA12429 for ietf-open-pgp-bks; Fri, 22 Aug 1997 15:31:59 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id PAA12424 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 15:31:56 -0700 (PDT)
Received: from fnord (fnord.pgp.com [205.180.136.111]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id PAA19017; Fri, 22 Aug 1997 15:37:17 -0700 (PDT)
Message-Id: <3.0.2.32.19970822153139.009ad6d0@mail.pgp.com>
X-Sender: jon@mail.pgp.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Fri, 22 Aug 1997 15:31:39 -0700
To: "Tony Mione" <mione@boeing.rutgers.edu>, ietf-open-pgp@imc.org
From: Jon Callas <jon@pgp.com>
Subject: Re: Comments on draft-ietf-pgp-formats00.txt
In-Reply-To: <970821080425.ZM29973@boeing.rutgers.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

At 08:04 AM 8/21/97 -0400, Tony Mione wrote:
   
   	I have a couple of questions and comments about the draft:
   
   	1) Was there a technical reason for the new packet length format.
   Limiting packets larger than 8383 bytes to powers of two seems a bit
   restrictive. Also, if that scheme is left in place, you should describe how
   padding is done and how to find the end of useful data.

I described this incompletely. I'll put the full description in the next
release. 
   
   	2) It is not clear whether this document is supersceding or
   supplementing RFC1991. The introduction suggests it is supplementing.

This document is superceding RFC1991. I plan on rewriting all parts of
RFC1991 that need updating, correcting, etc.
   
   	3) I also agree with earlier comments on the list that all currently
   supported packet types should be fully documented, not just 'some of the 
   more interesting packet types'.

I agree completely. As charming as this phrase is, it is one of the phrases
from RFC1991 that need to be drabbed-down.
   
   	4) It would be really helpful to use ascii-character box diagrams to
   illustrate the CTB, packet length, and the assorted packet layouts (ala
older
   IP/TCP RFCs). They look kind of old and crufty but can clear up a great
deal 
   of confusion when done correctly.
   
Thanks for the suggestion, I'll look at it.

	Jon



-----
Jon Callas                                         jon@pgp.com
Chief Scientist                                    555 Twin Dolphin Drive
Pretty Good Privacy, Inc.                          Suite 570
(415) 596-1960                                     Redwood Shores, CA 94065


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id PAA12252 for ietf-open-pgp-bks; Fri, 22 Aug 1997 15:06:06 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id PAA12244 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 15:06:00 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm036-00.dialip.mich.net [141.211.7.42]) by merit.edu (8.8.7/8.8.5) with SMTP id SAA07495 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 18:11:21 -0400 (EDT)
Date: Fri, 22 Aug 97 21:41:23 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6455.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: Re: PROPOSED OPEN-PGP Charter
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

> From: Charles Breed <cbreed@pgp.com>
> The OPEN-PGP Specification will have provisions for;
> 1. interoperability using cryptographic algorithms
        (asymmetric/symmetric including key lengths) that are consider
        strong, open and unencumbered, and other algorithms MAY be used

This should be more than one sentence.  How about:

 1. mandatory support for strong, open and unencumbered cryptographic
    algorithms.  Other algorithms may be optionally specified, but will
    not be required for conformance.

> 2. limited backwards compatibility with the existing pgp message

I am concerned.  How about:

  2. strong backwards compatibility with the pgp 5.0, with limited
     support for earlier pgp version installed base.


> 3. Government and legislative policies from any country SHOULD not
        impact the specification

Better:
  3. Government and legislative policies MUST NOT impact the
        specification.

> 4. certificate structure and underlying trust models, as used in a
        public key infrastructure

Which public key infrastructure?

I am planning on writing up SPKI-like message formats that use the PGP
CTB space -- this weekend.

> 5. certificate and message format
> 6. basic time stamping service
> 7. MIME content types will reference RFC 2015
>
> Goals and Milestones:
>
A rather aggressive schedule.  Probably will slip.


> Chairpersons:
>
> John W. Noerenberg, II <jwn2@eudora.com>
> Charles J. Breed <cbreed@pgp.com> co-chair
>
Good luck, and thanks!

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id PAA12251 for ietf-open-pgp-bks; Fri, 22 Aug 1997 15:06:04 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id PAA12241 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 15:05:59 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm036-00.dialip.mich.net [141.211.7.42]) by merit.edu (8.8.7/8.8.5) with SMTP id SAA07492 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 18:11:20 -0400 (EDT)
Date: Fri, 22 Aug 97 21:35:24 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6454.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: Re: RE: PROPOSED OPEN-PGP Charter
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Charles, I am having problems reading your messages.  For some reason,
they don't fold in 80 columns, and in fact sometimes run beyond the 1000
characters per line (including CRLF) allowed by RFC-821.

Could you please resend the charter and your replies?

> From: Charles Breed <cbreed@pgp.com>
> X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id KAA10048 for ietf-open-pgp-bks; Fri, 22 Aug 1997 10:25:15 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id KAA10043 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 10:25:12 -0700 (PDT)
Received: from cbreed-5 ([205.180.137.52]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id KAA14200; Fri, 22 Aug 1997 10:29:15 -0700 (PDT)
Message-Id: <3.0.2.32.19970822103340.00b67290@mail.pgp.com>
X-Sender: cbreed@mail.pgp.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Fri, 22 Aug 1997 10:33:40 -0700
To: "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>
From: Charles Breed <cbreed@pgp.com>
Subject: RE: PROPOSED OPEN-PGP Charter
Cc: ietf-open-pgp@imc.org
In-Reply-To: <970822130848.20209252@hobbes.orl.lmco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Hello Padgett,

1)
The word phrase "MAY use other algorithms", refers to those who want to include ANY cryptographic algorithm. If you want to implement "OPEN-PGP" with RSA, or some ECC asymmetric algorithm that has intellectual property rights issues, you SHOULD be able to do so. We simply would not make it a REQUIREMENT.

2)
I just answered a similar question wrt "Limited" to the list.

3)
"Government and legislative policies SHOULD not..." Take the inverse of this statement; IF the US Gov. says you MUST use a minimum of 128 key lengths...then our charter would get confusing. I think the intent is well understood, forcing a 40 key as a MUST is not a 'technically appropriate thing'

Your last statement is right on the money ! Peace

   >That is that all possible configurations need to be allowed 
   >while subsets are created for special circumstances such as France.


Cheers,
CB


At 01:08 PM 8/22/97 -0400, you wrote:
>Looks pretty good but would like some clarification:
>
>The OPEN-PGP Specification will have provisions for;
>1. interoperability using cryptographic algorithms (asymmetric/symmetric 
>   including key lengths) that are consider strong, open and unencumbered, 
>   and other algorithms MAY be used
>
>This is not very good English - the word "may" removes any meaning/force.
>
>2. limited backwards compatibility with the existing pgp message 
>
>What is meant by "limited" - read/verify signature only ? "Standard" should
>not be concerned with licening unless the intent is only to allow Public
>Domain algoritms in which case shouldn't that be in (1) ?
>
>3. Government and legislative policies from any country SHOULD not impact the specification
>
>Word "SHOULD" makes it a null statement - has same effect as "MAY"
>
>Rest is pretty much no-braners.
>
>Personal feelings are that the top level standard needs to be as open as 
>possible while allowing for subsets. That is that all possible configurations
>need to be allowed while subsets are created for special circumstances
>such as France.
>
>"What the large print giveth, the small print taketh away..."
>
>						Warmly,
>							Padgett
>
>



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id KAA09850 for ietf-open-pgp-bks; Fri, 22 Aug 1997 10:04:34 -0700 (PDT)
Received: from hobbes.orl.lmco.com (hobbes.orl.lmco.com [141.240.192.100]) by mail.proper.com (8.8.5/8.7.3) with SMTP id KAA09846 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 10:04:31 -0700 (PDT)
Date: Fri, 22 Aug 1997 13:08:48 -0400 (EDT)
From: "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>
To: cbreed@pgp.com
CC: ietf-open-pgp@imc.org
Message-Id: <970822130848.20209252@hobbes.orl.lmco.com>
Subject: RE: PROPOSED OPEN-PGP Charter
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Looks pretty good but would like some clarification:

The OPEN-PGP Specification will have provisions for;
1. interoperability using cryptographic algorithms (asymmetric/symmetric 
   including key lengths) that are consider strong, open and unencumbered, 
   and other algorithms MAY be used

This is not very good English - the word "may" removes any meaning/force.

2. limited backwards compatibility with the existing pgp message 

What is meant by "limited" - read/verify signature only ? "Standard" should
not be concerned with licening unless the intent is only to allow Public
Domain algoritms in which case shouldn't that be in (1) ?

3. Government and legislative policies from any country SHOULD not impact the specification

Word "SHOULD" makes it a null statement - has same effect as "MAY"

Rest is pretty much no-braners.

Personal feelings are that the top level standard needs to be as open as 
possible while allowing for subsets. That is that all possible configurations
need to be allowed while subsets are created for special circumstances
such as France.

"What the large print giveth, the small print taketh away..."

						Warmly,
							Padgett


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id JAA09701 for ietf-open-pgp-bks; Fri, 22 Aug 1997 09:48:35 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id JAA09697 for <ietf-open-pgp@imc.org>; Fri, 22 Aug 1997 09:48:32 -0700 (PDT)
Received: from cbreed-5 ([205.180.137.52]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id JAA13691; Fri, 22 Aug 1997 09:53:51 -0700 (PDT)
Message-Id: <3.0.2.32.19970822095815.00b60da0@mail.pgp.com>
X-Sender: cbreed@mail.pgp.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Fri, 22 Aug 1997 09:58:15 -0700
To: Jason Dufair <funne@iquest.net>
From: Charles Breed <cbreed@pgp.com>
Subject: RE: PROPOSED OPEN-PGP Charter
Cc: ietf-open-pgp@imc.org
In-Reply-To: <199708221314.GAA11922@fusebox.pgp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Jason,

Some thought went into the phrase, "limited backwards compatibility", If you implement "open-pgp" with Diffie-Hellman Public Key Algorithm and / or use a X.509v3 cert, you'll have problems getting FULL compatibility with 2.6.x. I agree that we do not want to abandon or inhibit any of the 4 million existing users, and the spec will require the new and old versions to communicate to some usefull degree. 

CB

At 08:09 AM 8/22/97 -0500, Jason Dufair wrote:
>
>Charles  - 
>
>YES. I agree. I am concerned with the "limited backwards compatibility." I
>believe all 2.6.x message structures should be preserved. What, exactly, is
>meant by "limited backwards compatibility?"
>
>Thanks for your time.
>
>
>>2. limited backwards compatibility with the existing pgp message
>Jason Dufair
>funne@iquest.net
>http://www.iquest.net/~funne
>see http://www.iquest.net/~funne/jdufair.asc for PGP 2.x public key
>-Sent via the Newton MP2000-
> 




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id PAA24826 for ietf-open-pgp-bks; Thu, 21 Aug 1997 15:14:08 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id PAA24814 for <ietf-open-pgp@imc.org>; Thu, 21 Aug 1997 15:14:04 -0700 (PDT)
Received: from cbreed-5 ([205.180.137.52]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id PAA02674 for <ietf-open-pgp@imc.org>; Thu, 21 Aug 1997 15:19:22 -0700 (PDT)
Message-Id: <3.0.2.32.19970821152347.00b74810@mail.pgp.com>
X-Sender: cbreed@mail.pgp.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Date: Thu, 21 Aug 1997 15:23:47 -0700
To: ietf-open-pgp@imc.org
From: Charles Breed <cbreed@pgp.com>
Subject: PROPOSED OPEN-PGP Charter
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Please review the following proposed charter, reply "YES" if you agree or suggest modifications. thanks, CB

-----------------------------------------------------

PROPOSED OPEN-PGP Charter

Description of the Working Group:
The OPEN-PGP Working Group is chartered with defining a standard method to send and receive encrypted and / or digitally signed data objects that interoperate. The group will place particular emphasis on strong cryptography based on open and freely available algorithms. The specification will define the message formats, certificate structure, required cryptographic algorithms and key lengths, and other relevant operational concerns.

The OPEN-PGP Specification will have provisions for;
1. interoperability using cryptographic algorithms (asymmetric/symmetric including key lengths) that are consider strong, open and unencumbered, and other algorithms MAY be used
2. limited backwards compatibility with the existing pgp message 
3. Government and legislative policies from any country SHOULD not impact the specification
4. certificate structure and underlying trust models, as used in a public key infrastructure
5. certificate and message format 
6. basic time stamping service
7. MIME content types will reference RFC 2015

Goals and Milestones:

October 1997: Submit first internet draft of OPEN-PGP certificate and message specification

November 1997: Submit first internet draft of OPEN-PGP PKI, Trust Model and Time Stamping

March 1998: Submit OPEN-PGP certificate and message specification for final call

April 1998: Submit OPEN-PGP PKI, Trust Model, Time Stamping for final call

May 1998: Submit OPEN-PGP certificate and message specification for Proposed Standard

July 1998: WG last call on both drafts for Proposed Standard, (including RFC 2015)

Chairpersons:

John W. Noerenberg, II <jwn2@eudora.com>  
Charles J. Breed <cbreed@pgp.com> co-chair





Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id EAA17371 for ietf-open-pgp-bks; Thu, 21 Aug 1997 04:59:12 -0700 (PDT)
Received: from boeing.rutgers.edu (boeing.rutgers.edu [165.230.8.73]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id EAA17367 for <ietf-open-pgp@imc.org>; Thu, 21 Aug 1997 04:59:08 -0700 (PDT)
Received: (from mione@localhost) by boeing.rutgers.edu (8.8.5/8.6.12) id IAA29975; Thu, 21 Aug 1997 08:04:25 -0400 (EDT)
From: "Tony Mione" <mione@boeing.rutgers.edu>
Message-Id: <970821080425.ZM29973@boeing.rutgers.edu>
Date: Thu, 21 Aug 1997 08:04:24 -0400
X-Mailer: Z-Mail (4.0.1 13Jan97)
To: ietf-open-pgp@imc.org
Subject: Comments on draft-ietf-pgp-formats00.txt
Cc: mione@virtuoso.Rutgers.EDU
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

	I have a couple of questions and comments about the draft:

	1) Was there a technical reason for the new packet length format.
Limiting packets larger than 8383 bytes to powers of two seems a bit
restrictive. Also, if that scheme is left in place, you should describe how
padding is done and how to find the end of useful data.

	2) It is not clear whether this document is supersceding or
supplementing RFC1991. The introduction suggests it is supplementing. In that
case, I would not repeat anything from RFC1991 so as not to 'blimp-out' this
document. One place you do this is in describing the CTB and packet length
formats. If this is a supplement, then simply refer the reader to RFC1991 since
this format is not generated by newer PGPs. Note that this does not apply to
elements that are still valid for the new PGP formats. For instance, you must
still define all of the packet types that are still in use with the new PGP.

	3) I also agree with earlier comments on the list that all currently
supported packet types should be fully documented, not just 'some of the more
interesting packet types'.

	4) It would be really helpful to use ascii-character box diagrams to
illustrate the CTB, packet length, and the assorted packet layouts (ala older
IP/TCP RFCs). They look kind of old and crufty but can clear up a great deal of
confusion when done correctly.



--
Tony Mione, RUCS/NS, Rutgers University, Hill 055, Piscataway,NJ - 732-445-0650
mione@nbcs-ns.rutgers.edu                 W3: http://www-ns.rutgers.edu/~mione/
PGP Fingerprint : E2 25 2C CD 28 73 3C 5B  0B 91 8A 4E 22 BA FA 9F
Editorial Advisor for Digital Systems Report   ***** Important: John 17:3 *****


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id KAA29836 for ietf-open-pgp-bks; Wed, 13 Aug 1997 10:48:41 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id KAA29831 for <ietf-open-pgp@imc.org>; Wed, 13 Aug 1997 10:48:37 -0700 (PDT)
Received: by brickwall.ceddec.com id <32263>; Wed, 13 Aug 1997 13:52:41 -0400
Date: Wed, 13 Aug 1997 13:55:09 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: ietf-open-pgp@imc.org
cc: coderpunks@toad.com
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
In-Reply-To: <970811083807.20204005@hobbes.orl.lmco.com>
Message-Id: <97Aug13.135241edt.32263@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Mon, 11 Aug 1997, A. Padgett Peterson P.E. Information Security wrote:

> Have come to the conclusion that and ASCIIZ string is the proper answer
> with 00h indicating either none or the end of the matter. This way
> it can be 
> 1) Intelligible
> 2) If the vendor wants to use a single byte, they can (with reguistration)

And in 8.3 of the spec, part of the signature is now:

    Preferred symmetric algorithms (array of 1 byte) (Hashed)
        Symmetric algorithm numbers that indicate which algorithms
        the key holder prefers to use.  This is an ordered list of
        bytes with the most preferred listed first.  It should be
        assumed that only algorithms listed are supported by the
        -------------------------------------------------

        recipient's software.  Algorithm numbers are provided below.
        If this subpacket is not included, IDEA is assumed.  This is
        found on a self-signature.

This could get really fun.  If I don't include IDEA and/or CAST
explicitly, but only have "\377Blowfish\0", no one could send me a message
even if the software did support the other algorithms.

And how do I specify I prefer RIPEMD160 hashes in El Gamal signatures?

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id AAA21599 for ietf-open-pgp-bks; Wed, 13 Aug 1997 00:47:24 -0700 (PDT)
Received: from grinch.whoville.leftbank.com (grinch.leftbank.com [139.167.128.2]) by mail.proper.com (8.8.5/8.7.3) with SMTP id AAA21593 for <ietf-open-pgp@imc.org>; Wed, 13 Aug 1997 00:47:19 -0700 (PDT)
Received: from zax.whoville.leftbank.com by grinch.whoville.leftbank.com via smtpd (for mail.proper.com [206.184.129.129]) with SMTP; 13 Aug 1997 07:52:05 UT
Received: from max.whoville.leftbank.com (max.whoville.leftbank.com [139.167.32.1]) by zax.leftbank.com (8.7.5/8.7.3/LeftBank-1.1/http://www.leftbank.com/) with SMTP id DAA13722 for <ietf-open-pgp@imc.org>; Wed, 13 Aug 1997 03:53:43 -0400 (EDT)
Received: from lbo.leftbank.com ([192.31.227.130]) by max.whoville.leftbank.com via smtpd (for zax.whoville.leftbank.com [139.167.32.33]) with SMTP; 13 Aug 1997 07:52:03 UT
Received: from laptop-static-rodney.ietf.de (Laptop-static-rodney.ietf.de [195.27.194.28]) by lbo.leftbank.com (8.8.5/8.7.3/http://www.LeftBank.Com) with SMTP id DAA02095 for <ietf-open-pgp@imc.org>; Wed, 13 Aug 1997 03:52:02 -0400 (EDT)
Message-Id: <3.0.1.32.19970813095148.0080cc80@pop3.pn.com>
X-PGP-Key: <http://www1.shore.net/~sable/info/rltkey.htm>
X-Sender: rodney@pop3.pn.com
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
Date: Wed, 13 Aug 1997 09:51:48 -0400
To: ietf-open-pgp@imc.org
From: Rodney Thayer <rodney@sabletech.com>
Subject: BOF at IETF
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In a fit of uncontrolled volunteerism I managed to offer to write up 
the minutes to the BOF (meeting) at the IETF.  I've got that 
partially complete and will be posting it shortly.  I would 
appreciate any feedback if I failed to record something or made any 
mis-statements.
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBM/G79IwpVk/gvJfqEQKONACg3hufvK3cyURGsq5UpzcwLyj6FTIAoIUX
lSFczwgr6gwjud+olYDPNXkj
=bTME
-----END PGP SIGNATURE-----


-- Rodney Thayer Sable Technology +1 617 332 7292
   <http://www.shore.net/~sable/info/contact_info.html> --






Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id LAA16095 for ietf-open-pgp-bks; Tue, 12 Aug 1997 11:35:18 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id LAA16091 for <ietf-open-pgp@imc.org>; Tue, 12 Aug 1997 11:35:14 -0700 (PDT)
Received: by brickwall.ceddec.com id <32258>; Tue, 12 Aug 1997 14:40:04 -0400
Date: Tue, 12 Aug 1997 14:41:45 -0400
From: nospam-seesignature@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: coderpunks@toad.com
cc: ietf-open-pgp@imc.org
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
In-Reply-To: <97Aug11.095448edt.32258@brickwall.ceddec.com>
Message-Id: <97Aug12.144004edt.32258@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

In pgp 5.0:

There are 2 Public Key Algorithms, 3 Conventional Algorithms, 3 Hashes,
and 3 signature algorithms (with El Gamal enabled - it does work).

54 ways to send your encrypted signed message.  Playing with a full deck
plus two jokers?

pgpv handles all these variants properly (the just scanned in version),
but how do I get pgpe (for any platform) to generate all of them?

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id HAA13818 for ietf-open-pgp-bks; Tue, 12 Aug 1997 07:40:16 -0700 (PDT)
Received: from iquest3.iquest.net (iquest3.iquest.net [209.43.20.203]) by mail.proper.com (8.8.5/8.7.3) with SMTP id HAA13812 for <ietf-open-pgp@imc.org>; Tue, 12 Aug 1997 07:40:13 -0700 (PDT)
Message-Id: <199708121440.HAA13812@mail.proper.com>
Received: (qmail 27101 invoked from network); 12 Aug 1997 14:44:53 -0000
Received: from laf-0000-25.iquest.net (HELO ?204.95.254.185?) (204.95.254.185) by iquest3.iquest.net with SMTP; 12 Aug 1997 14:44:53 -0000
X-Mailer: EnRoute for Newton, Version 1.4.2a3
Mime-Version: 1.0 (Generated by EnRoute for Newton)
Date: Tue, 12 Aug 1997 09:41 -0500 (EST)
Subject: Re: algorithm ID encodings & terminol.
From: Jason Dufair <funne@iquest.net>
To: allas Jon <jon@pgp.com>, "nospam-seesignature@ceddec.com" <tzeruch@ceddec.com>
Cc: Adam Back <aba@dcs.ex.ac.uk>, "coderpunks@toad.com" <coderpunks@toad.com>, "ietf-open-pgp@imc.org" <ietf-open-pgp@imc.org>
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

------------------
>You obviously were never an embedded systems programmer :).
>
>After you expand everything to need a 256K buffer, you can have the fun of
>coding PGP5 for the USR Palm Pilot :).
------------------
I am indeed porting PGP 5 to the Newton MessagePad. While it is less
restrictive than the Pilot, I would not classify it as "fun". :-)

-----
Jason Dufair
funne@iquest.net
http://www.iquest.net/~funne
see http://www.iquest.net/~funne/jdufair.asc for PGP 2.x public key
-Sent via the Newton MP2000-
 


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id OAA04494 for ietf-open-pgp-bks; Mon, 11 Aug 1997 14:46:49 -0700 (PDT)
Received: from cygnus.com (cygnus.com [205.180.230.20]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id OAA04490 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 14:46:45 -0700 (PDT)
Received: from cygnus.com (ip-pdx36-22.teleport.com [206.163.127.149]) by cygnus.com (8.8.5/8.8.5) with ESMTP id OAA00345; Mon, 11 Aug 1997 14:51:19 -0700 (PDT)
Message-Id: <199708112151.OAA00345@cygnus.com>
From: Felix Lee <flee@teleport.com>
Subject: Re: PGP Message Exchange Formats Internet Draft 
To: Hagen Wollert <h.wollert@tu-clausthal.de>
Cc: ietf-open-pgp@imc.org, coderpunks@toad.com
In-reply-to: Your message of Mon, 11 Aug 1997 15:52:41 +0200. <1.5.4.16.19970811135241.32efdc48@pop.rz.tu-clausthal.de> 
Date: Mon, 11 Aug 1997 14:51:38 -0700
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

> I'm afraid for the moment we are at a point here it is to decide whether to
> imply anything into one comprehensive format (like Tiff) or have many
> formats parallel formats like a set of (Tiff, Gif, JPEG, TGA, BMP, PCX,
> etc.) with a whole lot of compatbility problems in the future.

just want to point out: comprehensive format is not
sufficient to solve compatibility problems.  Tiff is a case
in point.
--


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id HAA28436 for ietf-open-pgp-bks; Mon, 11 Aug 1997 07:52:18 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id HAA28432 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 07:52:14 -0700 (PDT)
Received: by brickwall.ceddec.com id <32258>; Mon, 11 Aug 1997 10:56:56 -0400
Date: Mon, 11 Aug 1997 10:57:29 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: coderpunks@toad.com
cc: ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft
In-Reply-To: <97Aug11.100114edt.32261@brickwall.ceddec.com>
Message-Id: <97Aug11.105656edt.32258@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Mon, 11 Aug 1997 root@mars.ceddec.com wrote:

> Speaking of which, since DSA has only 160 bytes, and does not use the ASN1

OOPS----------------------------------------bits------------------------DER?

> prefix string that the RSA signatures use, are these going to be dropped?

> If/when you allow El Gamal signatures, will they be the lower 20 bytes
> with that PKCS padding and will they use the ASN1 strings, and what are
> they for RIPE-MD-160 and SHA1 - I think they are blank in the source.

Ah, those do use the PKCS padding and the DER prefixes.

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id HAA28336 for ietf-open-pgp-bks; Mon, 11 Aug 1997 07:46:48 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id HAA28330 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 07:46:43 -0700 (PDT)
Received: by brickwall.ceddec.com id <32259>; Mon, 11 Aug 1997 10:51:34 -0400
Date: Mon, 11 Aug 1997 10:52:04 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: coderpunks@toad.com
cc: ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft
In-Reply-To: <97Aug11.100114edt.32261@brickwall.ceddec.com>
Message-Id: <97Aug11.105134edt.32259@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Mon, 11 Aug 1997 root@mars.ceddec.com wrote:

> if ( hash_alg != SHA1_hash )
> 	return (bad_alg)

Now that I have downloaded the source:

pgpDSAKey.c, around line 175, in dsaVerify:

        if (h->type != PGP_HASH_SHA)
                return 0;       /* No match for sure! */

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id HAA28084 for ietf-open-pgp-bks; Mon, 11 Aug 1997 07:23:32 -0700 (PDT)
Received: from psyche.the-wire.com (psyche.the-wire.com [198.53.192.2]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id HAA28077 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 07:23:24 -0700 (PDT)
Received: from LiverStudyUnit (ghost.dialin.utoronto.ca [142.150.128.102]) by psyche.the-wire.com (8.8.6/8.6.12) with ESMTP id KAA05163; Mon, 11 Aug 1997 10:28:02 -0400 (EDT)
Message-ID: <33EEDB20.66DEC874@geocities.com>
Date: Mon, 11 Aug 1997 10:28:00 +0100
From: Robert Guerra <rguerra@geocities.com>
X-Mailer: Mozilla 4.01 [en] (Win95; U)
MIME-Version: 1.0
To: "ietf-open-pgp@imc.org" <ietf-open-pgp@imc.org>, RProcess <rprocess@nym.alias.net>
Subject: [Fwd: [PGP-USERS] PGP 5.0i is now available ... !]
X-Priority: 3 (Normal)
Content-Type: multipart/mixed; boundary="------------7FBEC43152A0910EED1D2F1D"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

This is a multi-part message in MIME format.
--------------7FBEC43152A0910EED1D2F1D
Content-Type: text/plain; charset=us-ascii
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

In case this bit of important news yet hasn't made it this way....



--------------7FBEC43152A0910EED1D2F1D
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Received: from mail.torfree.net (root@danforth.torfree.net [199.71.188.17]) by psyche.the-wire.com (8.8.6/8.6.12) with SMTP id JAA01893 for <rguerra@the-wire.com>; Mon, 11 Aug 1997 09:24:19 -0400 (EDT)
Received: from joshua.rivertown.net ([204.141.41.5]) by mail.torfree.net
	(/\==/\ Smail3.1.28.1 #28.8; 15-jan-97)
	via sendmail with smtp id <m0wxuRT-000DFHC@mail.torfree.net>
	(sender pgp-users-return-1002-az096=freenet.toronto.on.ca@joshua.rivertown.net)
	for <az096@freenet.toronto.on.ca>; Mon, 11 Aug 97 09:23 EDT
Received: (qmail 11028 invoked by alias); 11 Aug 1997 13:20:04 -0000
Mailing-List: contact pgp-users-help@joshua.rivertown.net; run by ezmlm
Reply-To: pgp-users@joshua.rivertown.net
Delivered-To: mailing list pgp-users@joshua.rivertown.net
Received: (qmail 11012 invoked from network); 11 Aug 1997 13:19:55 -0000
Received: from mail.uni-muenster.de (128.176.6.47)
  by joshua.rivertown.net with SMTP; 11 Aug 1997 13:19:55 -0000
Received: from salma.uni-muenster.de (RAS0004.UNI-MUENSTER.DE [128.176.21.68]) by mail.uni-muenster.de (8.7.5/8.7.5) with SMTP id PAA30268 for <pgp-users@joshua.rivertown.net>; Mon, 11 Aug 1997 15:19:11 +0200
Message-Id: <3.0.3.32.19970811151741.008003a0@pop.uni-muenster.de>
X-Sender: friedrf@pop.uni-muenster.de (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32)
Date: Mon, 11 Aug 1997 15:17:41 +0200
To: pgp-users@joshua.rivertown.net
From: "F. A. Friedrichs" <Friedrichs@uni-muenster.de>
Subject: [PGP-USERS] PGP 5.0i is now available ... !
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP SIGNED MESSAGE-----

Hello!

The international version of PGP 5.0i is now available at http://www.pgpi.co=
m

...

>>>>
[...]

     PGP 5.0i released!

The platform independent volumes of the PGP 5.0 source code books have now=
=20
been
scanned in and proof-read. This includes the whole encryption library with=
=20
the new
algorithms, key formats and keyserver support. A Unix command line version o=
f

PGP
5.0i is available for download now. The Windows and Macintosh versions will=
=20
take a
few more weeks to finalize, because the binary files (which are radix64=20
encoded) have
shown to be very difficult to proof-read. You can read more about the=20
scanning project
here.

[...]

<<<<

Greetings,
Frank ...
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQEVAwUBM+8C5UGpOkbLYr2hAQH95gf/V9rAselO4qip8+swkM+0P1jOvpQ3kCsy
UJlQ3vd8D3bdbV6d6OThI9ppN3oJ0+t0HrSwsoqPmQhak61v4BuVOhvfMKlHS8Aj
5gl2kHU8SLr6aXNYnza8yqaoxn7bG1VfPmHBhgxPCs9xmAI9AMgH/BdbhmrRRxqZ
h3N3hKdxUJmk14QxR+RByY7xKGv+TT01LrNjX+mfFebhRhcOQcwVBZRt4s+Mbxo/
SVr047tEEaIFdlPrQGZ+qSFiVK/fFG3btPCepq4m6wuKv8X+wS8EQW5OgnTjF7qj
TKnD866czTFFsT7dyccKnCHhq2uExL3xlryirZzZ4g4EbHMKKX0q3A=3D=3D
=3DsugY
-----END PGP SIGNATURE-----

__________________________________________________________________
Frank A. Friedrichs <mailto:faf@gmx.net> http://faf.home.pages.de/
2048bits-RSA-PGPKeyID:0xCB62BDA1  4096bits-RSA-PGPKeyID:0x65DDC189
2048: mailto:pgp-public-keys@keys.pgp.net?Subject=3DGET%200xCB62BDA1
4096: mailto:pgp-public-keys@keys.pgp.net?Subject=3DGET%200x65DDC189
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF


--------------7FBEC43152A0910EED1D2F1D--



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id GAA27823 for ietf-open-pgp-bks; Mon, 11 Aug 1997 06:56:30 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id GAA27819 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 06:56:26 -0700 (PDT)
Received: by brickwall.ceddec.com id <32261>; Mon, 11 Aug 1997 10:01:14 -0400
Date: Mon, 11 Aug 1997 10:01:39 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: Jon Callas <jon@pgp.com>
cc: Adam Shostack <adam@homeport.org>, Jonathan Wienke <JonWienk@ix.netcom.com>, jude@pgp.com, coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft
In-Reply-To: <v03102803b010d30b1159@[194.0.130.16]>
Message-Id: <97Aug11.100114edt.32261@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Fri, 8 Aug 1997, Jon Callas wrote:

> There's already a constant for RIPE-MD/160. It may have gotten slipped from
> that draft. There will be another draft once we're back from Europe.
> 
> 	Jon

Yes, and if anyone bothered to buy the source, they would find out the
number is 3.

They also might notice that the DSAVerify routine has a line of the form

if ( hash_alg != SHA1_hash )
	return (bad_alg)

So anyone actually using RIPE-MD/160 for signatures will have them shown
as bad although they are mathematically correct (also applies to MD5).

Speaking of which, since DSA has only 160 bytes, and does not use the ASN1
prefix string that the RSA signatures use, are these going to be dropped?

If/when you allow El Gamal signatures, will they be the lower 20 bytes
with that PKCS padding and will they use the ASN1 strings, and what are
they for RIPE-MD-160 and SHA1 - I think they are blank in the source.

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id GAA27774 for ietf-open-pgp-bks; Mon, 11 Aug 1997 06:50:09 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id GAA27770 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 06:50:05 -0700 (PDT)
Received: by brickwall.ceddec.com id <32260>; Mon, 11 Aug 1997 09:54:48 -0400
Date: Mon, 11 Aug 1997 09:55:18 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: brianh@risky.bit3.com
cc: Adam Back <aba@dcs.ex.ac.uk>, coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
In-Reply-To: <Pine.A32.3.91.970809180934.20540B-100000@risky.bit3.com>
Message-Id: <97Aug11.095448edt.32260@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Sat, 9 Aug 1997 brianh@risky.bit3.com wrote:

> Have people considered seperating the mode from cipher used?  Each cipher 
> would have a small number of functions and constants to define 
> (functions: expand_key and encrypt_block (which would also decrypt 
> block), and constants: key_length, expanded_key_length, and 
> block_length).  The next layer would be multi-encryption (for instance, 
> 3-EDE).  The layer above that would be mode (CBC, code book, etc).  The 
> encoding would then be something like:
>     CBC-3EDE-DES
> With the three parts each going to the three layers.
> 
> This would keep code bloat down (among other things, like making 
> experimentation easier).  There would be a slight cost in performance (a 
> couple of extra function calls, and the dropping of some possible 
> optimizations- like dropping the initial/final permutations between 
> rounds of 3DES).
> 
> Thoughts?

PGP 5.0 has copied the CFB with IV in the first 8 encrypted bytes with two
check bytes from IDEA in 2.6.3 to DES and CAST.  It seems to be "baked
in".  So before we go ahead and propose layering, it might be nice to work
out these little details.  If CFB is going to be a quirky CFB, will
"plain" CFB be another mode?  And CBC now exists for 3DES, CAST, and IDEA
in other implementations.

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id GAA27756 for ietf-open-pgp-bks; Mon, 11 Aug 1997 06:48:55 -0700 (PDT)
Received: from sinfonix.rz.tu-clausthal.de (9CZtsTEIbGhUaiSL+VfTtmyLk/55V0hv@sinfonix.rz.tu-clausthal.de [139.174.253.19]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id GAA27752 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 06:48:50 -0700 (PDT)
Received: from pct56 (esca2.pe.tu-clausthal.de [139.174.155.236])  by sinfonix.rz.tu-clausthal.de (8.8.7/8.8.7) with SMTP id PAA01615; Mon, 11 Aug 1997 15:53:14 +0200 (MET DST)
Message-Id: <1.5.4.16.19970811135241.32efdc48@pop.rz.tu-clausthal.de>
X-Sender: pehw@pop.rz.tu-clausthal.de
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 11 Aug 1997 15:52:41 +0200
To: ietf-open-pgp@imc.org
From: Hagen Wollert <h.wollert@tu-clausthal.de>
Subject: Re: PGP Message Exchange Formats Internet Draft 
Cc: coderpunks@toad.com
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Hello to all,

at 10:12 11.08.1997 +0200 Assar wrote:

>[..] let's focus on
>the essential point here, and that is compatibility. There is no point in
>sending a message out into the world that the spooks can't read, when the
>recipient can't read it either because he doesn't happen to have PGP
>5.123.2 (or whatever) on his machine.

I'd like to refer to te Tiff-format again: There surely might be
comprehensive readers being able to read&write in many formats and I think
the old standard  (RSA/IDEA/MD5) and a set coping with the actual future
standard (whatever it might be) should be read by all. Therefore slimmed
versions might run on handheld systems with acceptable performance whereas
versions reading and writing any known format will more memory or computing
power when using longer keys.

>The choice of algorithm is largely a
>matter of opinion and politics, and everyone has his own personal favorite.
>If we *really* open this up, then it won't be long before there are an
>infinite number of possibilities. (Perhaps we'll even see Rot13 in there -
>it's fast and someone out there somewhere loves it.)

:-)

I'm afraid for the moment we are at a point here it is to decide whether to
imply anything into one comprehensive format (like Tiff) or have many
formats parallel formats like a set of (Tiff, Gif, JPEG, TGA, BMP, PCX,
etc.) with a whole lot of compatbility problems in the future.

IMHO the first option should be given the choice.

>Perhaps it is possible to come up with some form of 'plugin' architecture,
>allowing the enthusiasts to think up any number of options for themselves,
>but keeping the core clean and compatible.

Yes, a plug-in-architecture might be the optimum. Especially there
definitely will be future needs similar to those occurred today: DES is no
longer considered secure and there definitely are problems with MD5.
 
Who dares to estimate that factorizing large numbers won't be more easy
within 10 years thus endangering RSA ?  With an universal standard one would
just have to change from RSA to anything else (Diffie-Hellman, El-Gamal or
whatever yet to be developed) and still will provide downward compatibility.

Read you,

Hagen


-- 
_____________________________________________________________________
Hagen Wollert                               h.wollert@tu-clausthal.de
PGPed E-Mail welcome    -    public key available on most key-servers
2048/BBAF99CD   MD5: 11 AD A2 70 67 0A 32 CA  34 D8 F0 CE 67 8A B7 A1



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id GAA27695 for ietf-open-pgp-bks; Mon, 11 Aug 1997 06:44:19 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id GAA27691 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 06:44:15 -0700 (PDT)
Received: by brickwall.ceddec.com id <32261>; Mon, 11 Aug 1997 09:49:00 -0400
Date: Mon, 11 Aug 1997 09:48:28 -0400
From: nospam-seesignature@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: Jon Callas <jon@pgp.com>
cc: Adam Back <aba@dcs.ex.ac.uk>, coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Re: algorithm ID encodings & terminology (was Re: PGP Message Exchange Formats Internet Draft)
In-Reply-To: <v03102804b010d4c779dd@[194.0.130.16]>
Message-Id: <97Aug11.094900edt.32261@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Fri, 8 Aug 1997, Jon Callas wrote:

> At 5:16 AM -0700 8/8/97, Adam Back said:
> 
>    Why are PGP so keen to hand huffman encode everything?
> 
> I concur completely. I once got so fed up with this habit that I tromped
> around the office singing, "Every bit is sacred / Every bit is great / When
> a bit is wasted / Phil gets quite irate."
> 
> Consider this to be one of the prime things to correct. Personally, I think
> that numbers should never (well, hardly ever) be smaller than 32 bits.
> 
> 	Jon

You obviously were never an embedded systems programmer :).

After you expand everything to need a 256K buffer, you can have the fun of
coding PGP5 for the USR Palm Pilot :).

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id FAA27122 for ietf-open-pgp-bks; Mon, 11 Aug 1997 05:34:32 -0700 (PDT)
Received: from hobbes.orl.lmco.com (hobbes.orl.lmco.com [141.240.192.100]) by mail.proper.com (8.8.5/8.7.3) with SMTP id FAA27114 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 05:34:27 -0700 (PDT)
Date: Mon, 11 Aug 1997 8:38:07 -0400 (EDT)
From: "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>
To: coderpunks@toad.com
CC: ietf-open-pgp@imc.org
Message-Id: <970811083807.20204005@hobbes.orl.lmco.com>
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Have come to the conclusion that and ASCIIZ string is the proper answer
with 00h indicating either none or the end of the matter. This way
it can be 
1) Intelligible
2) If the vendor wants to use a single byte, they can (with reguistration)

Since virtually all complilers include routines to handle ASCIIZ strings,
handling would be easy.

Wasn't that easy.
					Warmly,
						Padgett


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id BAA23441 for ietf-open-pgp-bks; Mon, 11 Aug 1997 01:41:12 -0700 (PDT)
Received: from grinch.whoville.leftbank.com (grinch.leftbank.com [139.167.128.2]) by mail.proper.com (8.8.5/8.7.3) with SMTP id BAA23437 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 01:41:07 -0700 (PDT)
Received: from zax.whoville.leftbank.com by grinch.whoville.leftbank.com via smtpd (for mail.proper.com [206.86.127.224]) with SMTP; 11 Aug 1997 08:45:36 UT
Received: from max.whoville.leftbank.com (max.whoville.leftbank.com [139.167.32.1]) by zax.leftbank.com (8.7.5/8.7.3/LeftBank-1.1/http://www.leftbank.com/) with SMTP id EAA29078; Mon, 11 Aug 1997 04:47:13 -0400 (EDT)
Received: from lbo.leftbank.com ([192.31.227.130]) by max.whoville.leftbank.com via smtpd (for zax.whoville.leftbank.com [139.167.32.33]) with SMTP; 11 Aug 1997 08:45:34 UT
Received: from Laptop-static-rodney.ietf.de (Laptop-static-rodney.ietf.de [195.27.194.28]) by lbo.leftbank.com (8.8.5/8.7.3/http://www.LeftBank.Com) with SMTP id EAA22655; Mon, 11 Aug 1997 04:45:33 -0400 (EDT)
Message-Id: <3.0.1.32.19970811104139.008132f0@pop3.pn.com>
X-PGP-Key: <http://www1.shore.net/~sable/info/rltkey.htm>
X-Sender: rodney@pop3.pn.com
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
Date: Mon, 11 Aug 1997 10:41:39 -0400
To: ietf-open-pgp@imc.org
From: Rodney Thayer <rodney@sabletech.com>
Subject: comments on message exchange draft [not encodings!]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

I have some comments -- 

-- I assume this iteration of this draft is intended to document current
practice so I assume we're not opening up the body for massive changes,
regardless of their brilliance.

-- this document seems to duplicate some of the information in
Stallings/etc.' existing PGP RFC.  I don't see why.

-- the name contents should be more clearly spelled out.  For example the
fact you can do 'comment' [with viacrypt but not with pgp 5 :-(] should be
more clearly described.

-- there should be more detailed CRC reference information.  If you can
suck in the Base 64 prose for the n-th time in the IETF draft world, you
can suck in the CRC information.



-- Rodney Thayer Sable Technology +1 617 332 7292
   <http://www.shore.net/~sable/info/contact_info.html> --






Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id BAA23306 for ietf-open-pgp-bks; Mon, 11 Aug 1997 01:28:38 -0700 (PDT)
Received: from gatekeeper1.telekom.de (gatekeeper1.telekom.de [194.25.15.6]) by mail.proper.com (8.8.5/8.7.3) with SMTP id BAA23302 for <ietf-open-pgp@imc.org>; Mon, 11 Aug 1997 01:28:32 -0700 (PDT)
Received: from mailgate1.telekom.de by gatekeeper2.telekom.de; (5.65v3.2/1.1.8.2/02Aug95-0132PM) id AA31244; Mon, 11 Aug 1997 10:13:46 +0200
Received: from Q9F47.dmst02.telekom.de by mailgate1.telekom.de; (5.65v3.2/1.1.8.2/02Aug95-1122AM) id AA29216; Mon, 11 Aug 1997 10:13:45 +0200
Received: from ac8717hye12006 (isparkes@q9f47.dmst02.telekom.de) by q9f47.dmst02.telekom.de (8.8.3/3) with SMTP id JAA30929; Mon, 11 Aug 1997 09:41:39 +0200
Message-Id: <3.0.2.32.19970811101249.006a69d4@q9f47.dmst02.telekom.de>
X-Sender: isparkes@q9f47.dmst02.telekom.de
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Mon, 11 Aug 1997 10:12:49 +0200
To: Johnny Eriksson <bygg@sunet.se>
From: Ian Sparkes <isparkes@q9f47.dmst02.telekom.de>
Subject: Re: PGP Message Exchange Formats Internet Draft 
Cc: ietf-open-pgp@imc.org
In-Reply-To: <CMM.0.88.871037979.bygg@bar.pilsnet.sunet.se>
References: <Your message of 08 Aug 1997 05:46:39 +0200 >
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

At 12:59 08.08.97 DST, you wrote:
>Assar wrote:
>
>> Jonathan Wienke <JonWienk@ix.netcom.com> writes:
>> > Instead of having a 1-byte cipher identifier, I would like to see a 4
byte
>> > text identifier for ciphers and hashes, so IDEA could be designated by
>> > "IDEA", triple-DES by "3DES", SHA-1 by "SHA1", etc. This would make it
much
>> > easier for PGP to support numerous algorithms, and multiple encryption.
>> 
>> Do you really see a new for more than 256 algoritms?
>
>No, but...  256 is a rather low value for infinity, no matter what you
>are using it for.  2^32 is a low value for the max number of IP addresses,
>but it looked more than enough a number of years ago.
>
>We might not see a need for more than 256 types right now, but it's still
>stupid to restrict things.  And having a 4-byte menmonic name is cute.

I'm happy to see 1 byte, 4 bytes, any length you want, but let's focus on
the essential point here, and that is compatibility. There is no point in
sending a message out into the world that the spooks can't read, when the
recipient can't read it either because he doesn't happen to have PGP
5.123.2 (or whatever) on his machine. The choice of algorithm is largely a
matter of opinion and politics, and everyone has his own personal favorite.
If we *really* open this up, then it won't be long before there are an
infinite number of possibilities. (Perhaps we'll even see Rot13 in there -
it's fast and someone out there somewhere loves it.)

Perhaps it is possible to come up with some form of 'plugin' architecture,
allowing the enthusiasts to think up any number of options for themselves,
but keeping the core clean and compatible.

>
>> /assar
>
>--Johnny
>
>



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id RAA19969 for ietf-open-pgp-bks; Sun, 10 Aug 1997 17:04:07 -0700 (PDT)
Received: from punt-1.mail.demon.net (relay-13.mail.demon.net [194.217.242.137]) by mail.proper.com (8.8.5/8.7.3) with SMTP id RAA19965 for <ietf-open-pgp@imc.org>; Sun, 10 Aug 1997 17:04:02 -0700 (PDT)
Received: from marui.demon.co.uk ([194.222.113.225]) by punt-1.mail.demon.net id aa1113326; 11 Aug 97 0:54 BST
Received: (from mark@localhost) by marui (8.6.9/8.6.9) id WAA00487; Sun, 10 Aug 1997 22:35:27 GMT
Date: Sun, 10 Aug 1997 22:35:24 +0000
From: Mark Grant <mark@unicorn.com>
Reply-To: Mark Grant <mark@unicorn.com>
Subject: Re: algorithm ID encodings & terminology (was Re: PGP Message Exchange Formats Internet Draft)
To: Adam Back <aba@dcs.ex.ac.uk>
cc: cg@pobox.com, assar@sics.se, jon@pgp.com, jude@pgp.com, coderpunks@toad.com, ietf-open-pgp@imc.org
In-Reply-To: <199708081216.NAA00311@server.test.net>
Message-ID: <Pine.3.89.9708102227.A474-0100000@marui>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Fri, 8 Aug 1997, Adam Back wrote:

> Why are PGP so keen to hand huffman encode everything?

Presumably to increase security; longer identifiers give an attacker more
known -- or easily guessed -- plaintext. While I consider a brute-force
attack on PGP infeasible for a long time I'm not sure that we should be
giving away more known plaintext than we need to. 

(Excuse my ignorance if we're not talking about the same identifiers; I
haven't read the PGP format documentation for some time). 

	Mark

|-----------------------------------------------------------------------|
|Mark Grant M.A., U.L.C.	  	       EMAIL: mark@unicorn.com  |
|WWW: http://www.unicorn.com/	  	       MAILBOT: bot@unicorn.com	|
|-----------------------------------------------------------------------|


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id JAA17668 for ietf-open-pgp-bks; Sun, 10 Aug 1997 09:17:59 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id JAA17664 for <ietf-open-pgp@imc.org>; Sun, 10 Aug 1997 09:17:55 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm002-09.dialip.mich.net [141.211.7.145]) by merit.edu (8.8.6/8.8.5) with SMTP id MAA24713 for <ietf-open-pgp@imc.org>; Sun, 10 Aug 1997 12:22:30 -0400 (EDT)
Date: Sat, 9 Aug 97 20:13:50 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6428.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: purpose: evolution or revolution
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Gentlefolk, it appears to me that there are rather different goals for
some of the participants.

Some only desire a good documentation of what is already there.

Many are interested in making minor modifications to clean it up a bit.

Still others seem ready to completely redo and expand the PGP format,
using 16 bit fields where there were 8 bits, or variable length, or even
entire grammars.

When the BoF is held, please discuss this issue.

====

For myself, put me in the middle -- minor modifications, every bit is
sacred, and past and present interoperability reigns supreme.

Let SPKI handle variable length everything.  A different effort.

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id QAA11702 for ietf-open-pgp-bks; Sat, 9 Aug 1997 16:31:27 -0700 (PDT)
Received: from abby.skypoint.net (abby.skypoint.net [199.86.32.252]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id QAA11694 for <ietf-open-pgp@imc.org>; Sat, 9 Aug 1997 16:31:18 -0700 (PDT)
Received: from bit3.com (uucp@localhost) by abby.skypoint.net (8.8.5/alexis 2.7)  with SMTP id SAA01922; Sat, 9 Aug 1997 18:23:44 -0500 (CDT)
Received: by bit3.com (Smail3.1.28.1 #19) id m0wxKmj-000UOdC; Sat, 9 Aug 97 18:19 CDT
Date: Sat, 9 Aug 1997 18:19:00 -0500 (CDT)
From: brianh@risky.bit3.com
To: Adam Back <aba@dcs.ex.ac.uk>
cc: assar@sics.se, coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
In-Reply-To: <199708081921.UAA01720@server.test.net>
Message-ID: <Pine.A32.3.91.970809180934.20540B-100000@risky.bit3.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Have people considered seperating the mode from cipher used?  Each cipher 
would have a small number of functions and constants to define 
(functions: expand_key and encrypt_block (which would also decrypt 
block), and constants: key_length, expanded_key_length, and 
block_length).  The next layer would be multi-encryption (for instance, 
3-EDE).  The layer above that would be mode (CBC, code book, etc).  The 
encoding would then be something like:
    CBC-3EDE-DES
With the three parts each going to the three layers.

This would keep code bloat down (among other things, like making 
experimentation easier).  There would be a slight cost in performance (a 
couple of extra function calls, and the dropping of some possible 
optimizations- like dropping the initial/final permutations between 
rounds of 3DES).

Thoughts?

Brian

Any resemblance of these opinions to the opinions of Brian Hurt, Bit 3 
Computer Corporation, or any individual living or dead is purely 
coincidental.





Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id JAA07786 for ietf-open-pgp-bks; Sat, 9 Aug 1997 09:13:23 -0700 (PDT)
Received: from exub.ex.ac.uk (exub.ex.ac.uk [144.173.6.72]) by mail.proper.com (8.8.5/8.7.3) with SMTP id JAA07781 for <ietf-open-pgp@imc.org>; Sat, 9 Aug 1997 09:13:15 -0700 (PDT)
Received: from aba@dialup18.ex.ac.uk [144.173.6.218] by exub via ESMTP (RAA09006); Sat, 9 Aug 1997 17:17:29 +0100
Received: (from aba@localhost) by server.test.net (8.8.3/8.6.12) id NAA00229; Sat, 9 Aug 1997 13:20:34 +0100
Date: Sat, 9 Aug 1997 13:20:34 +0100
Message-Id: <199708091220.NAA00229@server.test.net>
From: Adam Back <aba@dcs.ex.ac.uk>
To: pgut001@cs.auckland.ac.nz
CC: coderpunks@toad.com, ietf-open-pgp@imc.org
In-reply-to: <87110925527324@cs26.cs.auckland.ac.nz> (pgut001@cs.auckland.ac.nz)
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Peter Gutmann <pgut001@cs.auckland.ac.nz> writes:
> Death rays from Mars made Adam Back <aba@dcs.ex.ac.uk> write:
> >I was kind of toying with the idea of creating a human readable formal 
> >grammar which describes algorithm combinations.  
>  
> This gets ugly real quick.  I thought of doing this for cryptlib, something 
> like: 
>  
>   cryptAlgorithm = 3des { mode = cbc, padding = PKCS#5, noKeys = 2 }
>   cryptAlgorithm = safer { mode = cfb, keysize = 128, useSaferSK = TRUE }
>            
> (and even wrote most of a parser for it) but dropped it for a number of 
> reasons:
>  
> 1. The code to parse this starts to get scary, because when a (say)
> dlopen()'d module registers a new algorithm it also has to register
> a grammar to allow its config settings to be parsed.  Some of the
> parsing code may have to reside in the crypto module, because the
> general parser won't be aware of every conceivable type of config
> option and setting in advance.

Yup.  Interesting that you gave it a go also.  I was thinking of using
perl... the eval function plus a bit of hacking around would mean that
the extension language was almost perl code, and you'd pass it through
various filtering rules to make good perl code before evaling it.

As you say you'd have the extensions signed by people, and users could
base their trust on that in a distributed fashion.  If PRZ signs
El-Gamal and CAST well then a lot of people would use that
recommendation.  But if I'm paranoid, and the random number generator
is good enough to not become the weak point, I can request 

	R = RANDOM( sizeof(M) ), C = 5DES(M) xor 3IDEA(M XOR R)

(With 2x expansion of message size -- the simple way to have something
as good as the better of two ciphers -- now if someone finds a new
type of attack which means 3IDEA turns out to be naff, I'm OK so long
as 5DES doesn't fall.  All presuming the RANDOM function is good
enough).

I also consider that it would be interesting for the sender to be able
to request replies using the senders chosen cipher set.

> 3. Virtually noone will ever use this capability.  I know from
> feedback from cryptlib users that virtually noone uses the InitEx()
> functions (which allow you to specify special-case parameters), and
> I can't see this as being any different from PGP.

Sure.  It's not a main stream issue -- PGP isn't going to get involved
in all the extra complexity because it's not commercially justifiable.
Was just pleading the case to make it flexible so that there was room
for expasion in un-predicted directions.

Adam


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id HAA07111 for ietf-open-pgp-bks; Sat, 9 Aug 1997 07:53:26 -0700 (PDT)
Received: from dfw-ix15.ix.netcom.com (dfw-ix15.ix.netcom.com [206.214.98.15]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id HAA07107 for <ietf-open-pgp@imc.org>; Sat, 9 Aug 1997 07:53:22 -0700 (PDT)
Received: (from smap@localhost) by dfw-ix15.ix.netcom.com (8.8.4/8.8.4) id JAA26469; Sat, 9 Aug 1997 09:56:51 -0500 (CDT)
Received: from ffd-ca1-10.ix.netcom.com(205.186.177.42) by dfw-ix15.ix.netcom.com via smap (V1.3) id sma026418; Sat Aug  9 09:55:59 1997
Message-Id: <3.0.2.32.19970809075908.00688c34@popd.netcruiser>
X-Sender: JonWienk@popd.netcruiser
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Sat, 09 Aug 1997 07:59:08 -0700
To: coderpunks@toad.com, ietf-open-pgp@imc.org
From: Jonathan Wienke <JonWienk@ix.netcom.com>
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
In-Reply-To: <87110925527324@cs26.cs.auckland.ac.nz>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="=====_Eudora-PGP-Plugin19044==_"; micalg=pgp-md5; protocol="application/pgp-signature"; PGPFormat="PGPMIME-signed"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

--=====_Eudora-PGP-Plugin19044==_
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 06:47 PM 8/9/97, Peter Gutmann wrote:
>
>Death rays from Mars made Adam Back <aba@dcs.ex.ac.uk> write:
> 
>>>Assar Westerlund <assar@sics.se> writes:
>>> - If there's a need for more than 256 algorithms, how should these be
>>> coded?  In binary or in ascii?  Fixed length or variable length?
>>ASCII, variable length.
>>
>>I was kind of toying with the idea of creating a human readable formal 
>>grammar which describes algorithm combinations.  Might save multiple
entries 
>>for DES (DES CBC, DES CFB, DES OFB, 3DES-EDE, etc.,etc), and would allow
you 
>>to "implement" a chosen mode just by specifying what mode you wanted DES,
and 
>>how to combine that to mutliple key DES. Anyone for outer-CBC 5DES?
> 
>This gets ugly real quick.  I thought of doing this for cryptlib, something 
>like: 
> 
>  cryptAlgorithm = 3des { mode = cbc, padding = PKCS#5, noKeys = 2 }
>  cryptAlgorithm = safer { mode = cfb, keysize = 128, useSaferSK = TRUE }
>           
>(and even wrote most of a parser for it) but dropped it for a number of 
>reasons:
> 
>1. The code to parse this starts to get scary, because when a (say)
dlopen()'d 
>module registers a new algorithm it also has to register a grammar to allow 
>its config settings to be parsed.  Some of the parsing code may have to
reside 
>in the crypto module, because the general parser won't be aware of every 
>conceivable type of config option and setting in advance.

On the other hand, if you have an ASCII string descriptor for each
algorithm permutation (such as "3DES-3Key-CFB") and a set of plug-ins that
each handle a set of permutations, (one does "RC4-128", "RC4-64", and
"RC4-40", another does "IDEA-PGP" and "IDEA-CFB", another does "FEAL-NSA",
etc.) then writing code that invokes the correct plug-in and passes it the
descriptor string and other data is fairly straightforward.

Given the average public key size seems to be about 1024 bits (128
bytes/octets), there is certainly room for a string descriptor for the
encryption algorithm/mode, the session key, the signature algorithm/mode,
and the ID/fingerprint of the signature key in the public key encrypted
portion of the message header.

For example:
 9 bytes: "IDEA-PGP" (length + 8 data bytes)
17 bytes: IDEA session key (length + 16 data bytes)
 8 bytes: "ElGamal" (length + 7 data bytes)
21 bytes: signature key fingerprint (length + 20 data bytes)
55 bytes total.

This would still leave 73 bytes for random padding or other purposes.


Jonathan Wienke

What part of "the right of the people to keep and bear Arms, shall not be
infringed" is too hard to understand? (From 2nd Amendment, U.S. Constitution)

PGP 2.6.2 RSA Key Fingerprint: 7484 2FB7 7588 ACD1  3A8F 778A 7407 2928
DSS/D-H Key Fingerprint: 3312 6597 8258 9A9E D9FA  4878 C245 D245 EAA7 0DCC
Public keys available at pgpkeys.mit.edu. PGP encrypted e-mail preferred.

US/Canadian Windows 95/NT or Mac users:
Get Eudora Light + PGP 5.0 for free at http://www.eudora.com/eudoralight/
Get PGP 5.0 for free at http://bs.mit.edu:8001/pgp-form.html
Commercial version of PGP 5.0 and related products at http://www.pgp.com
Eudora + PGP = Free, Convenient Communication Privacy

Go postal! Write your mommy a letter!
--=====_Eudora-PGP-Plugin19044==_
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
MessageID: Wxi6k0HFfahdrh9DOl+x2shR0azG7aHJ

iQEVAwUBM+yGH2rcIxe8e5eNAQGsPwf/cNmldxrW0SePBPNDqDUvQqFKX9XLq/H3
yK4IxY5y7oqBpD47QnlXLl87MVrFBS1WCgSU6VLH2A4eQMhHllSNPJjCc2jhVbSt
2aTXCQTaJnU6zNH2TDSueUb61B42VSaorEXrYrw4/tF2wVpqIoc2swMAZ4qJOXdK
5kgx7PPMxQk2ehzc2XL+drmXnr/OC2JuM3qwYuvgPk32ieVo16QYcsqI+RamwEUI
r1iLLCTJTb7I16QJ2vmCOB4FWR5A83GMoFvOq3X3/niH21+0hdawadLzSCc2KImf
d3ulEWCST5RlE3Oca8hufvAde1eUJOO0+IhB5YkEmQ0L++F9RGUi8A==
=FPf/
-----END PGP SIGNATURE-----

--=====_Eudora-PGP-Plugin19044==_--



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id BAA03878 for ietf-open-pgp-bks; Sat, 9 Aug 1997 01:54:15 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id BAA03874 for <ietf-open-pgp@imc.org>; Sat, 9 Aug 1997 01:54:11 -0700 (PDT)
Received: from [194.0.130.16] (tent-194-0-130-16.campsite.hip97.nl [194.0.130.16]) by fusebox.pgp.com (8.8.5/8.8.5) with ESMTP id BAA13501; Sat, 9 Aug 1997 01:56:57 -0700 (PDT)
X-Sender: jon@mail.pgp.com
Message-Id: <v03102803b010d30b1159@[194.0.130.16]>
In-Reply-To: <199708080248.WAA08984@homeport.org>
References: <3.0.2.32.19970807183309.0069cb34@popd.netcruiser> from Jonathan Wienke at "Aug 7, 97 06:33:09 pm"
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 8 Aug 1997 06:45:08 -0700
To: Adam Shostack <adam@homeport.org>, JonWienk@ix.netcom.com (Jonathan Wienke)
From: Jon Callas <jon@pgp.com>
Subject: Re: PGP Message Exchange Formats Internet Draft
Cc: jude@pgp.com, coderpunks@toad.com, ietf-open-pgp@imc.org
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

There's already a constant for RIPE-MD/160. It may have gotten slipped from
that draft. There will be another draft once we're back from Europe.

	Jon



-----
Jon Callas                                         jon@pgp.com
Chief Scientist                                    555 Twin Dolphin Drive
Pretty Good Privacy, Inc.                          Suite 570
(415) 596-1960                                     Redwood Shores, CA 94065




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id BAA03869 for ietf-open-pgp-bks; Sat, 9 Aug 1997 01:53:42 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id BAA03865 for <ietf-open-pgp@imc.org>; Sat, 9 Aug 1997 01:53:38 -0700 (PDT)
Received: from [194.0.130.16] (tent-194-0-130-16.campsite.hip97.nl [194.0.130.16]) by fusebox.pgp.com (8.8.5/8.8.5) with ESMTP id BAA13503; Sat, 9 Aug 1997 01:57:21 -0700 (PDT)
X-Sender: jon@mail.pgp.com
Message-Id: <v03102804b010d4c779dd@[194.0.130.16]>
In-Reply-To: <199708081216.NAA00311@server.test.net>
References: <199708080739.JAA29738@bofh.cdg.openlinksw.com> (message from Cees de Groot on Fri, 08 Aug 1997 09:39:29 +0200)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 8 Aug 1997 06:56:14 -0700
To: Adam Back <aba@dcs.ex.ac.uk>, cg@pobox.com
From: Jon Callas <jon@pgp.com>
Subject: Re: algorithm ID encodings & terminology (was Re: PGP Message Exchange Formats Internet Draft)
Cc: assar@sics.se, jude@pgp.com, coderpunks@toad.com, ietf-open-pgp@imc.org
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

At 5:16 AM -0700 8/8/97, Adam Back said:

   Why are PGP so keen to hand huffman encode everything?

I concur completely. I once got so fed up with this habit that I tromped
around the office singing, "Every bit is sacred / Every bit is great / When
a bit is wasted / Phil gets quite irate."

Consider this to be one of the prime things to correct. Personally, I think
that numbers should never (well, hardly ever) be smaller than 32 bits.

	Jon



-----
Jon Callas                                         jon@pgp.com
Chief Scientist                                    555 Twin Dolphin Drive
Pretty Good Privacy, Inc.                          Suite 570
(415) 596-1960                                     Redwood Shores, CA 94065




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id XAA03220 for ietf-open-pgp-bks; Fri, 8 Aug 1997 23:43:32 -0700 (PDT)
Received: from doorstop.cs.auckland.ac.nz (root@doorstop.cs.auckland.ac.nz [130.216.35.3]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id XAA03216 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 23:43:27 -0700 (PDT)
Received: from cs26.cs.auckland.ac.nz (pgut001@cs26.cs.auckland.ac.nz [130.216.33.9]) by doorstop.cs.auckland.ac.nz (8.8.6/8.8.6/cs-master) with SMTP id SAA13218; Sat, 9 Aug 1997 18:46:56 +1200 (sender pgut001@cs.auckland.ac.nz)
Received: by cs26.cs.auckland.ac.nz (relaymail v0.9) id <87110925527324>; Sat, 9 Aug 1997 18:47:35 (NZST)
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: aba@dcs.ex.ac.uk
Subject: Re: extensibility & code bloat (Re: PGP cipher tags)
Cc: coderpunks@toad.com, ietf-open-pgp@imc.org
Reply-To: pgut001@cs.auckland.ac.nz
X-Charge-To: pgut001
X-Authenticated: relaymail v0.9 on cs26.cs.auckland.ac.nz
Date: Sat, 9 Aug 1997 18:47:35 (NZST)
Message-ID: <87110925527324@cs26.cs.auckland.ac.nz>
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Death rays from Mars made Adam Back <aba@dcs.ex.ac.uk> write:
 
>>Assar Westerlund <assar@sics.se> writes:
>> - If there's a need for more than 256 algorithms, how should these be
>> coded?  In binary or in ascii?  Fixed length or variable length?
>ASCII, variable length.
>
>I was kind of toying with the idea of creating a human readable formal 
>grammar which describes algorithm combinations.  Might save multiple entries 
>for DES (DES CBC, DES CFB, DES OFB, 3DES-EDE, etc.,etc), and would allow you 
>to "implement" a chosen mode just by specifying what mode you wanted DES, and 
>how to combine that to mutliple key DES. Anyone for outer-CBC 5DES?
 
This gets ugly real quick.  I thought of doing this for cryptlib, something 
like: 
 
  cryptAlgorithm = 3des { mode = cbc, padding = PKCS#5, noKeys = 2 }
  cryptAlgorithm = safer { mode = cfb, keysize = 128, useSaferSK = TRUE }
           
(and even wrote most of a parser for it) but dropped it for a number of 
reasons:
 
1. The code to parse this starts to get scary, because when a (say) dlopen()'d 
module registers a new algorithm it also has to register a grammar to allow 
its config settings to be parsed.  Some of the parsing code may have to reside 
in the crypto module, because the general parser won't be aware of every 
conceivable type of config option and setting in advance.
 
2. This doesn't work well under Windows where config options are held in the 
registry and might be administered by third-party software (for example a 
company might want to have a centrally-enforced policy of "No RSA until 2000", 
which would be controlled by the administrator setting the signAlgorithm to 
ElGamal on all the machines in the domain).  It's easy enough to do this if 
it's an integer, you look up what you want in a table and set the 
"signAlgorithm" key to 17 (or whatever ElGamal is), but if you have to build 
up a huge long text string it gets complicated.  It gets even more complex if 
the policy is "We allow anything nonpatented", because a check like "( id == 
17 || id == 18 )" is a lot easier to perform than one involving 
arbitrarily-formatted strings which can contain God knows what.
 
3. Virtually noone will ever use this capability.  I know from feedback from 
cryptlib users that virtually noone uses the InitEx() functions (which allow 
you to specify special-case parameters), and I can't see this as being any 
different from PGP.  
 
What you'd be doing is adding a lot of extra complications with little overall 
gain (in fact the added complexity is probably going to cause more problems 
than it's worth, not only because of the overhead in managing it but because 
allowing people to specify 7DES/CFB-47 will almost guarantee that anything 
they produce can't be decrypted by anyone else on earth).
 
Peter.
 



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id OAA00501 for ietf-open-pgp-bks; Fri, 8 Aug 1997 14:53:51 -0700 (PDT)
Received: from exub.ex.ac.uk (exub.ex.ac.uk [144.173.6.72]) by mail.proper.com (8.8.5/8.7.3) with SMTP id OAA00497 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 14:53:42 -0700 (PDT)
Received: from aba@dialup19.ex.ac.uk [144.173.6.219] by exub via ESMTP (WAA07051); Fri, 8 Aug 1997 22:57:44 +0100
Received: (from aba@localhost) by server.test.net (8.8.3/8.6.12) id UAA01720; Fri, 8 Aug 1997 20:21:41 +0100
Date: Fri, 8 Aug 1997 20:21:41 +0100
Message-Id: <199708081921.UAA01720@server.test.net>
From: Adam Back <aba@dcs.ex.ac.uk>
To: assar@sics.se
CC: coderpunks@toad.com, ietf-open-pgp@imc.org
In-reply-to: <5liuxgdcf0.fsf@assaris.sics.se> (message from Assar Westerlund on 08 Aug 1997 15:36:35 +0200)
Subject: extensibility & code bloat (Re: PGP cipher tags)
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Assar Westerlund <assar@sics.se> writes:
> - Do we really need more than 256 algorithms _in PGP_?
> 
> [...]
> 6.2 Symmetric Key Algorithms
> 
> 0	-	Plaintext
> 1	-	IDEA
> 2	-	Triple-DES (DES-EDE, 168 bit key)
                            ^^^^^^^^^^^^^^^^^^^^ 

I think this answers your question: yes.  There are lots of modes, key
sizes, etc.  And a variable length algorithm description string costs
almost nothing and offers ultimate flexibility, so why not do it.

> - If there's a need for more than 256 algorithms, how should these be
> coded?  In binary or in ascii?  Fixed length or variable length?

ASCII, variable length.

I was kind of toying with the idea of creating a human readable formal
grammar which describes algorithm combinations.  Might save multiple
entries for DES (DES CBC, DES CFB, DES OFB, 3DES-EDE, etc.,etc), and
would allow you to "implement" a chosen mode just by specifying what
mode you wanted DES, and how to combine that to mutliple key DES.
Anyone for outer-CBC 5DES?

Plus how to deal with short last blocks, how you want the IV
constructed etc.

PGP seems pretty big as it is.

This could stop reinvention of the wheel, and hence reduce more code
bloat when new algorithms are added by providing a more flexible plug
in.  You provide the code for the encryption and decryption of one
block (ie ECB style).  You then describe the mode you want using the
grammar, and you're done.  If you want a new mode, or new short end
block treatment, you add one of those too.

So if I get bored one day and go implement that lot, your 2 byte field
might be pretty painful for me.  But a variable length string would be
a handy way for me not to confuse implementations without this
ability, without having to design whole new formats.


Don't worry about the above example ... but please lets have variable
length fields for some future proofing of the message layout.

PGP message spec already went through one set of fudging to work
around some pgp2.x message spec limitations which made it difficult to
extend in such a way as not to cause earlier implementations to barf,
lets use the experience to avoid doing the same thing with pgp3.

Adam
-- 
Have *you* exported RSA today? --> http://www.dcs.ex.ac.uk/~aba/rsa/

print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id MAA29433 for ietf-open-pgp-bks; Fri, 8 Aug 1997 12:49:16 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id MAA29427 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 12:49:12 -0700 (PDT)
Received: by brickwall.ceddec.com id <32258>; Fri, 8 Aug 1997 15:53:36 -0400
Date: Fri, 8 Aug 1997 15:54:36 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: coderpunks@toad.com
cc: ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft 
In-Reply-To: <199708081554.IAA28689@nova.botz.org>
Message-Id: <97Aug8.155336edt.32258@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Fri, 8 Aug 1997, Jurgen Botz wrote:

> tzeruch@ceddec.com wrote:
> > and I, for one, would not like to see 1,000 algorithms defined because no
> > two implementations would work together, or the program would need to be
> > larger than most hard drives.
> 
> It may seem that way, but if you think about it... cryptographic algorithms
> are usually /tiny/ pieces of code.  Often less than 1k of object code but
> even if it's 5k that's still only 5MB for 1000 of 'em... a lot smaller than
> MS Word or other such.  And besides, algorithms could be linked in dynamically
> at run-time.

How large are the S-Boxes for DES and CAST?  And what if 500 of the
algorithms are simply variants of the above with different s-boxes?  You
also need key setup, which seems to be different for each algorithm.

Linking them in dynamically doesn't shrink them, it simply scatters them
among 500 DLLs or one giant DLL, and if the only use of that DLL is for
PGP, it may as well be in the binary.

I have shared libraries for SSLeay and have taken to convert my crypto
code to use that instead, and even did the SSL for lynx in a generic proxy
(works with GNUscape for emacs too), which ends up around 20K under Linux
i386 for a full SSL server and client proxy that handles certificates.  Of
course PGP doesn't use any existing library for these functions, and
Netscape has its own internal Crypto and Bignums to do SSL, and the OS
internal stuff has another one... 

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id MAA29095 for ietf-open-pgp-bks; Fri, 8 Aug 1997 12:18:27 -0700 (PDT)
Received: from hobbes.orl.lmco.com (hobbes.orl.lmco.com [141.240.192.100]) by mail.proper.com (8.8.5/8.7.3) with SMTP id MAA29086 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 12:18:22 -0700 (PDT)
Date: Fri, 8 Aug 1997 15:22:19 -0400 (EDT)
From: "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>
To: ietf-open-pgp@imc.org
CC: coderpunks@toad.com
Message-Id: <970808152219.20203308@hobbes.orl.lmco.com>
Subject: Re: PGP Message Exchange Formats Internet Draft
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

>And RIPEMD-160 would be indicated how?  Having length byte, text field
>may well be overkill.  So I'd suggest that a one byte ID with
>everything in an include file makes writing code easier, and doesn't
>need to change the presentation.

While four bytes might be overkill, I suspect that a single byte with only
255 possibilities (assume 0 means plaintext) may well be insufficient.

At least a word (16 bits/ 65535 possibilities) would seem more appropriate
particularly with so many varients of each (RC4-40, 56, 64, 128, ...).

Some may recall that IBM felt that one nibble was sufficient to define
all possible disk types in the CMOS in 1982 with Type 15 becoming a pointer 
to an extended table and 49 eventually becomming "define your own".

A word is used in UNIX to define TCP protocols, in 1981 (RFC 793) 255
probably would have seemed adequate for that use also.

					Warmly,
						Padgett


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id MAA28905 for ietf-open-pgp-bks; Fri, 8 Aug 1997 12:04:24 -0700 (PDT)
Received: from charon.MIT.EDU (brnstndkramden.acf.nyu.edu@CHARON.MIT.EDU [18.70.0.224]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id MAA28900 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 12:04:20 -0700 (PDT)
Received: (from warlord@localhost) by charon.MIT.EDU (8.7.6/2.3JIK) id OAA02893; Fri, 8 Aug 1997 14:59:27 -0400
To: tzeruch@ceddec.com
Cc: coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Modular algorithms in PGP 5.0 (was Re: PGP Message Exchange Formats Internet Draft)
References: <97Aug8.095547edt.32257@brickwall.ceddec.com>
From: Derek Atkins <warlord@mit.edu>
Date: 08 Aug 1997 14:59:25 -0400
In-Reply-To: tzeruch@ceddec.com's message of Fri, 8 Aug 1997 09:56:48 -0400
Message-ID: <sjmzpqslcvm.fsf@charon.MIT.EDU>
Lines: 30
X-Mailer: Gnus v5.2.37/Emacs 19.34
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Umm, I'm not sure what code you've seen, but if you look in
lib/pgp/crypt/cipher.c(*) and lib/pgp/crypt/hash.c(*), you will find
functions like "pgpGetCipherByNumber()", "pgpGetCipherByName()",
"pgpGetHashByNumber()", and "pgpGetHashByName()".  These could
_EASILY_ be re-implemented as dlopen() calls.

-dere

(*) These files are from a VERY old source code tree, circa October
1996.  The file names and function names may have changed between then
and now.  YMMV.

tzeruch@ceddec.com writes:

> But before this goes off on a tangent, PGP 5.0 (at least the source
> code I have seen) isn't modular in the sense of having a dlopen(alg) call,
> and I, for one, would not like to see 1,000 algorithms defined because no
> two implementations would work together, or the program would need to be
> larger than most hard drives.
> 
> This issue itself should limit the number of algorithms to 256 or less.
> 
> --- reply to tzeruch - at - ceddec - dot - com ---
> 

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/      PP-ASEL      N1NWH
       warlord@MIT.EDU                        PGP key available


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id IAA27368 for ietf-open-pgp-bks; Fri, 8 Aug 1997 08:53:39 -0700 (PDT)
Received: from nova.botz.org (root@jbotz.wco.com [209.21.31.7]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id IAA27361 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 08:53:30 -0700 (PDT)
Received: from nova.botz.org (localhost [127.0.0.1]) by nova.botz.org (8.8.5/8.8.5) with ESMTP id IAA28689; Fri, 8 Aug 1997 08:54:12 -0700
Message-Id: <199708081554.IAA28689@nova.botz.org>
X-Mailer: exmh version 2.0delta 6/3/97
To: tzeruch@ceddec.com
From: Jurgen Botz <jurgen@botz.org>
Cc: coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft 
In-Reply-To: Your message of "Fri, 08 Aug 1997 09:56:48 EDT." <97Aug8.095547edt.32258@brickwall.ceddec.com> 
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="==_Exmh_-1707635456P"; micalg=pgp-md5; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Date: Fri, 08 Aug 1997 08:54:12 -0700
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

--==_Exmh_-1707635456P
Content-Type: text/plain; charset=us-ascii

tzeruch@ceddec.com wrote:
> and I, for one, would not like to see 1,000 algorithms defined because no
> two implementations would work together, or the program would need to be
> larger than most hard drives.

It may seem that way, but if you think about it... cryptographic algorithms
are usually /tiny/ pieces of code.  Often less than 1k of object code but
even if it's 5k that's still only 5MB for 1000 of 'em... a lot smaller than
MS Word or other such.  And besides, algorithms could be linked in dynamically
at run-time.




--==_Exmh_-1707635456P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.3i

iQCVAwUBM+tBI0b1AZ4jlS4BAQExgwP/Zacn8R831QlTRGtMgz+PTJjy9YSLhG5J
eoDaBMSoPt9ZINi49PukpCp0RX+7E1+j/wwRXgOlXnvs1ALH5DDr25y4WyzGHLP5
2QVJxtqVdv9v8PdkpAWMwDy5OA7KxrZlronCD7IkEwSYosgsr0t/JJdez2XunIZG
Srpxv8qb298=
=tNri
-----END PGP MESSAGE-----

--==_Exmh_-1707635456P--


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id GAA26128 for ietf-open-pgp-bks; Fri, 8 Aug 1997 06:51:37 -0700 (PDT)
Received: from ceddec.com (brickwall.ceddec.com [207.91.200.193]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id GAA26124 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 06:51:33 -0700 (PDT)
Received: by brickwall.ceddec.com id <32258>; Fri, 8 Aug 1997 09:55:47 -0400
Date: Fri, 8 Aug 1997 09:56:48 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
To: coderpunks@toad.com
cc: ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft
In-Reply-To: <v03102809b01044505b8f@[207.67.207.179]>
Message-Id: <97Aug8.095547edt.32258@brickwall.ceddec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On Thu, 7 Aug 1997, Marshall Clow wrote:

> At 7:48 PM -0700 8/7/97, Adam Shostack wrote:
> >Jonathan Wienke wrote:
> >| Instead of having a 1-byte cipher identifier, I would like to see a 4 byte
> >| text identifier for ciphers and hashes, so IDEA could be designated by
> >| "IDEA", triple-DES by "3DES", SHA-1 by "SHA1", etc. This would make it much
> >| easier for PGP to support numerous algorithms, and multiple encryption.
> >| Perhaps each algorithm could be implemented as a plug-in, so that
> >| encrypting a message with triple-DES, IDEA, and then something cooked up in
> >| your basement would be easily implemented.
> >|
> >And RIPEMD-160 would be indicated how?  Having length byte, text field
> >may well be overkill.  So I'd suggest that a one byte ID with
> >everything in an include file makes writing code easier, and doesn't
> >need to change the presentation.
> >
> As much a fan of 4 byte identifiers as I am, I agree with Adam here.
> We aren't going to see 2 billion or so cipher ids.
> 
> However, I can envision a day when we have more than 256 cipher IDs.
> 
> Two bytes, please (or octets, if you prefer)

You will need more than one byte, unless PGP wants to insist that only
their version of CFB is used for the internal complication.  There is now
a CBC(?) version of CAST, and the other variants deserve either another
chain/feedback byte, or we simply need a bigger integer to store it.

Just go to Applied Cryptography and start counting algorithms and then
ways to make the algorithms more complex, and multiply.

But before this goes off on a tangent, PGP 5.0 (at least the source
code I have seen) isn't modular in the sense of having a dlopen(alg) call,
and I, for one, would not like to see 1,000 algorithms defined because no
two implementations would work together, or the program would need to be
larger than most hard drives.

This issue itself should limit the number of algorithms to 256 or less.

--- reply to tzeruch - at - ceddec - dot - com ---



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id GAA25969 for ietf-open-pgp-bks; Fri, 8 Aug 1997 06:31:25 -0700 (PDT)
Received: from brahma.sics.se (brahma.sics.se [193.10.66.43]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id GAA25965 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 06:31:20 -0700 (PDT)
Received: from anhur.sics.se by brahma.sics.se (8.7.3/SICS) with ESMTP id PAA06860; Fri, 8 Aug 1997 15:35:47 +0200 (MET DST)
Received: from assaris.sics.se by anhur.sics.se (8.7.3/SICS-client) with ESMTP id PAA14444; Fri, 8 Aug 1997 15:35:46 +0200 (MET DST)
Received: (from assar@localhost) by assaris.sics.se (8.8.5/8.8.5) id PAA11389; Fri, 8 Aug 1997 15:36:37 +0200 (MET DST)
To: coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: PGP cipher tags
References: <199708081257.IAA02598@sulphur.osf.org>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
From: Assar Westerlund <assar@sics.se>
Date: 08 Aug 1997 15:36:35 +0200
In-Reply-To: Rich Salz's message of Fri, 8 Aug 1997 08:57:49 -0400 (EDT)
Message-ID: <5liuxgdcf0.fsf@assaris.sics.se>
Lines: 46
X-Mailer: Gnus v5.3/Emacs 19.34
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

- Do we really need more than 256 algorithms _in PGP_?

There are and will be lots of new algorithms.  Even more if we take
into consideration the key size used.  But will/should all these
really be used and specified in PGP?

- Do we have to change the existing spec (and implementations) that
use 8 bits for specifying the algorithm?

These are the existing algorithms from section 6 of
draft-ietf-pgp-formats00.txt:

----------------------------------------------------------------------
6. Constants

This section describes the constants used in PGP Version 5.x.

6.1 Public Key Algorithms

1	-	RSA
16	-	Diffie-Helman, El Gamal variant
17	-	DSS (Digital Signature Algorithm)

6.2 Symmetric Key Algorithms

0	-	Plaintext
1	-	IDEA
2	-	Triple-DES (DES-EDE, 168 bit key)
3	-	CAST5 (128 bit key)

6.3 Compression Algorithms

0	-	Uncompressed
1	-	ZIP

6.4 Hash Algorithms

1	-	MD5
2	-	SHA-1
?	-	RIPE-MD/160
----------------------------------------------------------------------

- If there's a need for more than 256 algorithms, how should these be
coded?  In binary or in ascii?  Fixed length or variable length?

/assar


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id FAA25477 for ietf-open-pgp-bks; Fri, 8 Aug 1997 05:54:00 -0700 (PDT)
Received: from postman.opengroup.org (postman.opengroup.org [130.105.1.152]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id FAA25473 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 05:53:56 -0700 (PDT)
Received: from sulphur.osf.org (sulphur.camb.opengroup.org [130.105.1.123]) by postman.opengroup.org (8.8.6/8.8.6) with ESMTP id IAA24678; Fri, 8 Aug 1997 08:57:56 -0400 (EDT)
Received: (from rsalz@localhost) by sulphur.osf.org (8.7.5/8.7.3) id IAA02598; Fri, 8 Aug 1997 08:57:49 -0400 (EDT)
Date: Fri, 8 Aug 1997 08:57:49 -0400 (EDT)
From: Rich Salz <rsalz@opengroup.org>
Message-Id: <199708081257.IAA02598@sulphur.osf.org>
To: assar@sics.se
Subject: Re: PGP Message Exchange Formats Internet Draft
Cc: coderpunks@toad.com, ietf-open-pgp@imc.org
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

> Do you really see a new for more than 256 algoritms?

Some people (and incredibly big manufacturers of computers) are inclined
to consider 40bitRC4 a different algorithm from
128bitRC4.  So the answer to your question is "yes, trivially."
	/r$



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id FAA25205 for ietf-open-pgp-bks; Fri, 8 Aug 1997 05:13:54 -0700 (PDT)
Received: from exub.ex.ac.uk (exub.ex.ac.uk [144.173.6.72]) by mail.proper.com (8.8.5/8.7.3) with SMTP id FAA25201 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 05:13:47 -0700 (PDT)
Received: from aba@dialup16.ex.ac.uk [144.173.6.216] by exub via ESMTP (NAA05745); Fri, 8 Aug 1997 13:17:00 +0100
Received: (from aba@localhost) by server.test.net (8.8.3/8.6.12) id NAA00311; Fri, 8 Aug 1997 13:16:42 +0100
Date: Fri, 8 Aug 1997 13:16:42 +0100
Message-Id: <199708081216.NAA00311@server.test.net>
From: Adam Back <aba@dcs.ex.ac.uk>
To: cg@pobox.com
CC: assar@sics.se, jon@pgp.com, jude@pgp.com, coderpunks@toad.com, ietf-open-pgp@imc.org
In-reply-to: <199708080739.JAA29738@bofh.cdg.openlinksw.com> (message from Cees de Groot on Fri, 08 Aug 1997 09:39:29 +0200)
Subject: algorithm ID encodings & terminology (was Re: PGP Message Exchange Formats Internet Draft)
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

knightPhlight <ntech@ctive.com> writes:
> "640k should be more than enough memory for anybody." - Bill Gates

Cees de Groot <cg@pobox.com> writes:
> Some people didn't see a need for more than 640k, either...

Uncanny, same message simultaneously.

Anyway I side with knightPhlight -- 256 isn't enough, and 64k isn't
enough either.  Who knows what you'll need.  Make it a string.  It'll
only cost you one byte (or nothing compared to Cees's call for 2
bytes).

As another thing what happened to the unix philosphy of human readable
file formats?  Or at least file formats that you can reasonably pick
apart with a hex editor?

Why are PGP so keen to hand huffman encode everything?

(single bit fields, 1 byte identifier, variable length of length
fields etc.)

PRZ wrote PGP 1.0 for DOS first, perhaps this is why ... Personally I
would start over and use some thing that would cause pgp2.x to give up
gracefully as the first byte.

I can grant something for cleartext signatures perhaps, but other than
that it's hardly an issue.


If pgp are concerned about size at this nit-picking hand huffman
encoding level: they made the wrong choice with El Gamal, they
would've saved space with straight Diffie-Hellman, and not had to
generate so many random numbers as a bonus.  (A pgp employee who I
won't name admitted in the past when this issue was raised, oh well,
it's only a few bytes).


Another thing while I'm at it:

The constant use of Diffie-Hellman to refer to El-Gamal is misleading.
Is seems to get referred to as "Diffie-Hellman" with occasional note
that actually they mean El-Gamal, "a variant of Diffie-Hellman."

Is this mis-nomenclature motivated by a belief that more people will
have heard of Diffie-Hellman and hence get a warm fuzzy feeling or
something?

It's El-Gamal, damn it!

(re hand huffman encoding fun -- it's something I have practice at, my
sig is an implementation of RSA in perl and dc, which has been hand
compressed in such a way that it still functions -- even gzip can't
wring much out of it now -- actualy it gets bigger if you consider
that it is already seven bit clean).

Adam
-- 
Have *you* exported RSA today? --> http://www.dcs.ex.ac.uk/~aba/rsa/

print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id EAA25062 for ietf-open-pgp-bks; Fri, 8 Aug 1997 04:39:57 -0700 (PDT)
Received: from sinfonix.rz.tu-clausthal.de (6kMfuR+d/Do2nNDfXfLoQoBjOX8mUSZZ@sinfonix.rz.tu-clausthal.de [139.174.253.19]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id EAA25058 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 04:39:50 -0700 (PDT)
Received: from pct56 (esca2.pe.tu-clausthal.de [139.174.155.236])  by sinfonix.rz.tu-clausthal.de (8.8.7/8.8.7) with SMTP id MAA26312; Fri, 8 Aug 1997 12:38:09 +0200 (MET DST)
Message-Id: <1.5.4.16.19970808103739.253fb452@pop.rz.tu-clausthal.de>
X-Sender: pehw@pop.rz.tu-clausthal.de
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 08 Aug 1997 12:37:39 +0200
To: ietf-open-pgp@imc.org
From: Hagen Wollert <h.wollert@tu-clausthal.de>
Subject: Re: PGP Message Exchange Formats Internet Draft 
Cc: coderpunks@toad.com
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Hello to all,

at 09:39 08.08.1997 +0200 Cees de Groot (>) wrote:

>assar@sics.se said:
>> Do you really see a new for more than 256 algoritms? 
>
>Some people didn't see a need for more than 640k, either...
>
>For this one byte, you step from likely exhaustion of your cypher-id space to 
>very unlikely exhaustion. If people pick this up, start experimenting, 
>etcetera - yes I can envision more than 256 algorithms. 65536, on the other 
>hand, should be enough.

Well, here are my 2 cents to this context: One of the most wide-spread and
commonly used graphic-file-format ist the well-known Tif-format: It has been
designed to be able to imply all future needs by specifying them in tags
when needed with the effect that programs are downward-compatible. Thus it
now lasts for at least 5 years which is a relatively long period compared
the lifetime of hard- & software.

I think one should reserve at least 4 bytes ( each consisting of 8 bits :-)
) of data thus being able to roughly specify algorithms in ASCII-digits ( (
each consisting of 7 bits preceded by a '0' ;-) ) or directly being able to
use 2**28 = 268,435,456 or even 2**31 = 2,147,483,648 different algorithms (
each or the first byte beginning with a '1' ). This is even more than any
key-sub-space commonly used by beginners.

Best regards,

Hagen


-- 
_____________________________________________________________________
Hagen Wollert                               h.wollert@tu-clausthal.de
PGPed E-Mail welcome    -    public key available on most key-servers
2048/BBAF99CD   MD5: 11 AD A2 70 67 0A 32 CA  34 D8 F0 CE 67 8A B7 A1



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id DAA24748 for ietf-open-pgp-bks; Fri, 8 Aug 1997 03:55:49 -0700 (PDT)
Received: from bar.pilsnet.sunet.se (bar.pilsnet.sunet.se [192.36.125.14]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id DAA24744 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 03:55:43 -0700 (PDT)
Received: (from bygg@localhost) by bar.pilsnet.sunet.se (8.8.5/8.8.5) id MAA07551; Fri, 8 Aug 1997 12:59:40 +0200 (MET DST)
Date: Fri, 8 Aug 1997 12:59:39 MET DST
From: Johnny Eriksson <bygg@sunet.se>
To: coderpunks@toad.com
Cc: ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft 
In-Reply-To: Your message of 08 Aug 1997 05:46:39 +0200 
Message-ID: <CMM.0.88.871037979.bygg@bar.pilsnet.sunet.se>
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Assar wrote:

> Jonathan Wienke <JonWienk@ix.netcom.com> writes:
> > Instead of having a 1-byte cipher identifier, I would like to see a 4 byte
> > text identifier for ciphers and hashes, so IDEA could be designated by
> > "IDEA", triple-DES by "3DES", SHA-1 by "SHA1", etc. This would make it much
> > easier for PGP to support numerous algorithms, and multiple encryption.
> 
> Do you really see a new for more than 256 algoritms?

No, but...  256 is a rather low value for infinity, no matter what you
are using it for.  2^32 is a low value for the max number of IP addresses,
but it looked more than enough a number of years ago.

We might not see a need for more than 256 types right now, but it's still
stupid to restrict things.  And having a 4-byte menmonic name is cute.

> /assar

--Johnny


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id BAA22359 for ietf-open-pgp-bks; Fri, 8 Aug 1997 01:46:26 -0700 (PDT)
Received: from smtp2.xs4all.nl (smtp2.xs4all.nl [194.109.6.52]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id BAA22355 for <ietf-open-pgp@imc.org>; Fri, 8 Aug 1997 01:46:20 -0700 (PDT)
Received: from bofh.cdg.openlinksw.com (evrl.xs4all.nl [194.109.62.84]) by smtp2.xs4all.nl (8.8.6/XS4ALL) with ESMTP id JAA07717; Fri, 8 Aug 1997 09:46:04 +0200 (CEST)
Received: from bofh.cdg.openlinksw.com (localhost [127.0.0.1]) by bofh.cdg.openlinksw.com (8.8.5/8.8.5) with ESMTP id JAA29738; Fri, 8 Aug 1997 09:39:29 +0200
Message-Id: <199708080739.JAA29738@bofh.cdg.openlinksw.com>
X-Mailer: exmh version 1.6.9 8/22/96
To: Assar Westerlund <assar@sics.se>
cc: Jonathan Wienke <JonWienk@ix.netcom.com>, Jon Callas <jon@pgp.com>, jude shabry <jude@pgp.com>, coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft 
In-reply-to: Your message of "08 Aug 1997 05:46:39 +0200." <5lafite3q8.fsf@assaris.sics.se> 
From: Cees de Groot <cg@pobox.com>
Reply-To: cg@pobox.com
X-Face: 1j+F?Ev#1:D^z&gV(.0-?V29b9N0TUse)^#M(9ZBP]t'lJuQa1:uft+lv&iEo*#Ca1ecS5& b\pen"Um#bydQ|6~@#JbdMQQ>.F0P"ocvT'c,uBlqmm<&FHs`rzi"8|8IR8=)NW`no:=5A$n@H$!ly bNoO=rU;[-z"Z.0v-e<jkjS*(->[QqfKt$xm7DI`%FdV@r!>mK6bt$$8Cg-TNa+KQu2!CT&94tT[j1 nVb-JK2o_d"F4\byhPUBsg7[3$q3*N[fij)C:=||+S9qudo7:s!8C#ak7RXSbp7Qz{Y"-57]DfvlO* fh 
X-PGP-Id: 4F018825/2048
X-PGP-Fingerprint: 5653C0DDECE4359DFFDDB8F7A7970789
X-URL: http://pobox.com/~cg
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 08 Aug 1997 09:39:29 +0200
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

assar@sics.se said:
> Do you really see a new for more than 256 algoritms? 

Some people didn't see a need for more than 640k, either...

For this one byte, you step from likely exhaustion of your cypher-id space to 
very unlikely exhaustion. If people pick this up, start experimenting, 
etcetera - yes I can envision more than 256 algorithms. 65536, on the other 
hand, should be enough.



-- 
Cees de Groot               http://pobox.com/~cg         <cg@pobox.com>
Principal Consultant
OpenLink Software     http://www.openlinksw.com/    <cg@openlink.co.uk>




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id UAA20672 for ietf-open-pgp-bks; Thu, 7 Aug 1997 20:42:11 -0700 (PDT)
Received: from brahma.sics.se (brahma.sics.se [193.10.66.43]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id UAA20668 for <ietf-open-pgp@imc.org>; Thu, 7 Aug 1997 20:42:07 -0700 (PDT)
Received: from anhur.sics.se by brahma.sics.se (8.7.3/SICS) with ESMTP id FAA13272; Fri, 8 Aug 1997 05:45:56 +0200 (MET DST)
Received: from assaris.sics.se by anhur.sics.se (8.7.3/SICS-client) with ESMTP id FAA11954; Fri, 8 Aug 1997 05:45:55 +0200 (MET DST)
Received: (from assar@localhost) by assaris.sics.se (8.8.5/8.8.5) id FAA10905; Fri, 8 Aug 1997 05:46:45 +0200 (MET DST)
To: Jonathan Wienke <JonWienk@ix.netcom.com>
Cc: Jon Callas <jon@pgp.com>, jude shabry <jude@pgp.com>, coderpunks@toad.com, ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft
References: <9708060733.AA04453@h2np.suginami.tokyo.jp> <19970731000235.11138.qmail@peace.netris.org> <3.0.2.32.19970807183309.0069cb34@popd.netcruiser>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
From: Assar Westerlund <assar@sics.se>
Date: 08 Aug 1997 05:46:39 +0200
In-Reply-To: Jonathan Wienke's message of Thu, 07 Aug 1997 18:33:09 -0700
Message-ID: <5lafite3q8.fsf@assaris.sics.se>
Lines: 15
X-Mailer: Gnus v5.3/Emacs 19.34
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Jonathan Wienke <JonWienk@ix.netcom.com> writes:
> Instead of having a 1-byte cipher identifier, I would like to see a 4 byte
> text identifier for ciphers and hashes, so IDEA could be designated by
> "IDEA", triple-DES by "3DES", SHA-1 by "SHA1", etc. This would make it much
> easier for PGP to support numerous algorithms, and multiple encryption.

Do you really see a new for more than 256 algoritms?

> Perhaps each algorithm could be implemented as a plug-in, so that
> encrypting a message with triple-DES, IDEA, and then something cooked up in
> your basement would be easily implemented.

Having one byte doesn't stop you for implementing plug-ins.

/assar


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id UAA20629 for ietf-open-pgp-bks; Thu, 7 Aug 1997 20:38:48 -0700 (PDT)
Received: from clipper.webcc.net (clipper.webcc.net [207.67.206.2]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id UAA20625 for <ietf-open-pgp@imc.org>; Thu, 7 Aug 1997 20:38:44 -0700 (PDT)
Received: from [207.67.207.179] (burns.idio.com [207.67.207.179]) by clipper.webcc.net (8.8.5/8.6.9) with ESMTP id UAA31383; Thu, 7 Aug 1997 20:38:54 -0700
X-Sender: mclow@webcc.net
Message-Id: <v03102809b01044505b8f@[207.67.207.179]>
In-Reply-To: <199708080248.WAA08984@homeport.org>
References: <3.0.2.32.19970807183309.0069cb34@popd.netcruiser> from Jonathan Wienke at "Aug 7, 97 06:33:09 pm"
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 7 Aug 1997 20:39:31 -0700
To: Adam Shostack <adam@homeport.org>, JonWienk@ix.netcom.com (Jonathan Wienke)
From: Marshall Clow <mclow@owl.csusm.edu>
Subject: Re: PGP Message Exchange Formats Internet Draft
Cc: jon@pgp.com, jude@pgp.com, coderpunks@toad.com, ietf-open-pgp@imc.org
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

At 7:48 PM -0700 8/7/97, Adam Shostack wrote:
>Jonathan Wienke wrote:
>| Instead of having a 1-byte cipher identifier, I would like to see a 4 byte
>| text identifier for ciphers and hashes, so IDEA could be designated by
>| "IDEA", triple-DES by "3DES", SHA-1 by "SHA1", etc. This would make it much
>| easier for PGP to support numerous algorithms, and multiple encryption.
>| Perhaps each algorithm could be implemented as a plug-in, so that
>| encrypting a message with triple-DES, IDEA, and then something cooked up in
>| your basement would be easily implemented.
>|
>And RIPEMD-160 would be indicated how?  Having length byte, text field
>may well be overkill.  So I'd suggest that a one byte ID with
>everything in an include file makes writing code easier, and doesn't
>need to change the presentation.
>
As much a fan of 4 byte identifiers as I am, I agree with Adam here.
We aren't going to see 2 billion or so cipher ids.

However, I can envision a day when we have more than 256 cipher IDs.

Two bytes, please (or octets, if you prefer)

-- Marshall

Marshall Clow     Aladdin Systems   <mailto:mclow@mailhost2.csusm.edu>

"In Washington DC, officials from the White House, federal agencies and
Congress say regulations may be necessary to promote a free-market
system." --  CommunicationsWeek International April 21, 1997




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id TAA20403 for ietf-open-pgp-bks; Thu, 7 Aug 1997 19:56:53 -0700 (PDT)
Received: from homeport.org (lighthouse.homeport.org [205.136.65.198]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id TAA20396 for <ietf-open-pgp@imc.org>; Thu, 7 Aug 1997 19:56:46 -0700 (PDT)
Received: (adam@localhost) by homeport.org (8.8.5/8.6.9) id WAA08984; Thu, 7 Aug 1997 22:48:50 -0400 (EDT)
From: Adam Shostack <adam@homeport.org>
Message-Id: <199708080248.WAA08984@homeport.org>
Subject: Re: PGP Message Exchange Formats Internet Draft
In-Reply-To: <3.0.2.32.19970807183309.0069cb34@popd.netcruiser> from Jonathan Wienke at "Aug 7, 97 06:33:09 pm"
To: JonWienk@ix.netcom.com (Jonathan Wienke)
Date: Thu, 7 Aug 1997 22:48:49 -0400 (EDT)
Cc: jon@pgp.com, jude@pgp.com, coderpunks@toad.com, ietf-open-pgp@imc.org
X-Mailer: ELM [version 2.4ME+ PL27 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

And RIPEMD-160 would be indicated how?  Having length byte, text field
may well be overkill.  So I'd suggest that a one byte ID with
everything in an include file makes writing code easier, and doesn't
need to change the presentation.

Adam


Jonathan Wienke wrote:
| Instead of having a 1-byte cipher identifier, I would like to see a 4 byte
| text identifier for ciphers and hashes, so IDEA could be designated by
| "IDEA", triple-DES by "3DES", SHA-1 by "SHA1", etc. This would make it much
| easier for PGP to support numerous algorithms, and multiple encryption.
| Perhaps each algorithm could be implemented as a plug-in, so that
| encrypting a message with triple-DES, IDEA, and then something cooked up in
| your basement would be easily implemented.
| 
| At 01:47 PM 8/7/97 -0700, Jon Callas wrote:
| >At 12:33 AM -0700 8/6/97, Hironobu Suzuki said:
| >
| >
| >   I'd like to know to contact a person to get new chiper identifier.
| >
| >That might as well be me. As we progress with making PGP a standard, we'll
| >be setting up a way to do that. If you don't need it right away, let the
| >list know what you want, and it will get on our to-do list. If you need it
| >right away, we'll get you one ASAP.
| >
| >	Jon
| >
| >
| >
| >-----
| >Jon Callas                                         jon@pgp.com
| >Chief Scientist                                    555 Twin Dolphin Drive
| >Pretty Good Privacy, Inc.                          Suite 570
| >(415) 596-1960                                     Redwood Shores, CA 94065
| >
| >
| >
| >
| 
| Jonathan Wienke
| 
| What part of "the right of the people to keep and bear Arms, shall not be
| infringed" is too hard to understand? (From 2nd Amendment, U.S. Constitution)
| 
| PGP 2.6.2 RSA Key Fingerprint: 7484 2FB7 7588 ACD1  3A8F 778A 7407 2928
| DSS/D-H Key Fingerprint: 3312 6597 8258 9A9E D9FA  4878 C245 D245 EAA7 0DCC
| Public keys available at pgpkeys.mit.edu. PGP encrypted e-mail preferred.
| 
| US/Canadian Windows 95/NT or Mac users:
| Get Eudora Light + PGP 5.0 for free at http://www.eudora.com/eudoralight/
| Get PGP 5.0 for free at http://bs.mit.edu:8001/pgp-form.html
| Commercial version of PGP 5.0 and related products at http://www.pgp.com
| Eudora + PGP = Free, Convenient Communication Privacy
| 
| Go postal! Write your mommy a letter!

[application/pgp-signature is not supported, skipping...]


-- 
"It is seldom that liberty of any kind is lost all at once."
					               -Hume




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id SAA19953 for ietf-open-pgp-bks; Thu, 7 Aug 1997 18:34:53 -0700 (PDT)
Received: from dfw-ix12.ix.netcom.com (dfw-ix12.ix.netcom.com [206.214.98.12]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id SAA19949 for <ietf-open-pgp@imc.org>; Thu, 7 Aug 1997 18:34:48 -0700 (PDT)
Received: (from smap@localhost) by dfw-ix12.ix.netcom.com (8.8.4/8.8.4) id UAA02573; Thu, 7 Aug 1997 20:37:33 -0500 (CDT)
Received: from ffd-ca1-20.ix.netcom.com(205.186.177.52) by dfw-ix12.ix.netcom.com via smap (V1.3) id sma002433; Thu Aug  7 20:36:26 1997
Message-Id: <3.0.2.32.19970807183309.0069cb34@popd.netcruiser>
X-Sender: JonWienk@popd.netcruiser
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Thu, 07 Aug 1997 18:33:09 -0700
To: Jon Callas <jon@pgp.com>, jude shabry <jude@pgp.com>, coderpunks@toad.com
From: Jonathan Wienke <JonWienk@ix.netcom.com>
Subject: Re: PGP Message Exchange Formats Internet Draft
Cc: ietf-open-pgp@imc.org
In-Reply-To: <v03102802b00fe464d3e4@[194.0.130.21]>
References: <9708060733.AA04453@h2np.suginami.tokyo.jp> <19970731000235.11138.qmail@peace.netris.org>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="=====_Eudora-PGP-Plugin6131==_"; micalg=pgp-md5; protocol="application/pgp-signature"; PGPFormat="PGPMIME-signed"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

--=====_Eudora-PGP-Plugin6131==_
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Instead of having a 1-byte cipher identifier, I would like to see a 4 byte
text identifier for ciphers and hashes, so IDEA could be designated by
"IDEA", triple-DES by "3DES", SHA-1 by "SHA1", etc. This would make it much
easier for PGP to support numerous algorithms, and multiple encryption.
Perhaps each algorithm could be implemented as a plug-in, so that
encrypting a message with triple-DES, IDEA, and then something cooked up in
your basement would be easily implemented.

At 01:47 PM 8/7/97 -0700, Jon Callas wrote:
>At 12:33 AM -0700 8/6/97, Hironobu Suzuki said:
>
>
>   I'd like to know to contact a person to get new chiper identifier.
>
>That might as well be me. As we progress with making PGP a standard, we'll
>be setting up a way to do that. If you don't need it right away, let the
>list know what you want, and it will get on our to-do list. If you need it
>right away, we'll get you one ASAP.
>
>	Jon
>
>
>
>-----
>Jon Callas                                         jon@pgp.com
>Chief Scientist                                    555 Twin Dolphin Drive
>Pretty Good Privacy, Inc.                          Suite 570
>(415) 596-1960                                     Redwood Shores, CA 94065
>
>
>
>

Jonathan Wienke

What part of "the right of the people to keep and bear Arms, shall not be
infringed" is too hard to understand? (From 2nd Amendment, U.S. Constitution)

PGP 2.6.2 RSA Key Fingerprint: 7484 2FB7 7588 ACD1  3A8F 778A 7407 2928
DSS/D-H Key Fingerprint: 3312 6597 8258 9A9E D9FA  4878 C245 D245 EAA7 0DCC
Public keys available at pgpkeys.mit.edu. PGP encrypted e-mail preferred.

US/Canadian Windows 95/NT or Mac users:
Get Eudora Light + PGP 5.0 for free at http://www.eudora.com/eudoralight/
Get PGP 5.0 for free at http://bs.mit.edu:8001/pgp-form.html
Commercial version of PGP 5.0 and related products at http://www.pgp.com
Eudora + PGP = Free, Convenient Communication Privacy

Go postal! Write your mommy a letter!
--=====_Eudora-PGP-Plugin6131==_
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
MessageID: BK3k88TlTLlw6MnckWGSX6X4duur9lYb

iQEVAwUBM+p5HmrcIxe8e5eNAQHkZAgAwHzyn5B+P2p/WC5oKqEJaWFNXG4JvYGc
06hQFfGQBz6sqheoZQ7Tz4DWXJQ4ztjATmVlNmJoyhhl2l8qQoL0dHAGUTovH/Kq
XbEX72Avy505Y6PWj2DVuJeTE98sW6WV9kfPXYsTLIww6cstOw/K6h8+N5/Xs+C2
EId7MD/hVIRZCPPQmkaKl4uoBKsyDfDx3C5kHV7Wv27JKTMESo7dga4zTAz99021
5ZaqW2Be6vtM+tPZpEZWr0ZOnvDz55E7KuskVRpzczNEoAZRzuSjZmRrH8QQNCyu
HktRjT9ZuR3n/H1vFKKanrDCqufusRmheye+lxixLU9pVjVp+TGBKA==
=FybT
-----END PGP SIGNATURE-----

--=====_Eudora-PGP-Plugin6131==_--



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id OAA03669 for ietf-open-pgp-bks; Thu, 7 Aug 1997 14:01:41 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id OAA03653 for <ietf-open-pgp@imc.org>; Thu, 7 Aug 1997 14:01:36 -0700 (PDT)
Received: from [194.0.130.21] (tent-194-0-130-21.campsite.hip97.nl [194.0.130.21]) by fusebox.pgp.com (8.8.5/8.8.5) with ESMTP id OAA21052; Thu, 7 Aug 1997 14:05:57 -0700 (PDT)
X-Sender: jon@mail.pgp.com (Unverified)
Message-Id: <v03102802b00fe464d3e4@[194.0.130.21]>
In-Reply-To: <9708060733.AA04453@h2np.suginami.tokyo.jp>
References: Your message of "Wed, 30 Jul 1997 17:02:34 MST."             <19970731000235.11138.qmail@peace.netris.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 7 Aug 1997 13:47:37 -0700
To: Hironobu Suzuki <hironobu@h2np.suginami.tokyo.jp>, jude shabry <jude@pgp.com>
From: Jon Callas <jon@pgp.com>
Subject: Re: PGP Message Exchange Formats Internet Draft
Cc: ietf-open-pgp@imc.org
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

At 12:33 AM -0700 8/6/97, Hironobu Suzuki said:


   I'd like to know to contact a person to get new chiper identifier.

That might as well be me. As we progress with making PGP a standard, we'll
be setting up a way to do that. If you don't need it right away, let the
list know what you want, and it will get on our to-do list. If you need it
right away, we'll get you one ASAP.

	Jon



-----
Jon Callas                                         jon@pgp.com
Chief Scientist                                    555 Twin Dolphin Drive
Pretty Good Privacy, Inc.                          Suite 570
(415) 596-1960                                     Redwood Shores, CA 94065




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id NAA29388 for ietf-open-pgp-bks; Thu, 7 Aug 1997 13:28:31 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id NAA29374 for <ietf-open-pgp@imc.org>; Thu, 7 Aug 1997 13:28:24 -0700 (PDT)
Received: from [194.0.130.21] (tent-194-0-130-21.campsite.hip97.nl [194.0.130.21]) by fusebox.pgp.com (8.8.5/8.8.5) with ESMTP id NAA20604; Thu, 7 Aug 1997 13:32:29 -0700 (PDT)
X-Sender: jon@mail.pgp.com (Unverified)
Message-Id: <v03102800b00fe019d193@[194.0.130.21]>
In-Reply-To: <199708061836.LAA03384@fusebox.pgp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 7 Aug 1997 13:32:21 -0700
To: Noah Salzman <noah@pgp.com>, "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>, <wsimpson@greendragon.com>
From: Jon Callas <jon@pgp.com>
Subject: RE: content tag, format, terminology
Cc: <ietf-open-pgp@imc.org>
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

As the person who is guilty of using the word "octet" in the draft, and who
encouraged others to do the same, I suppose I should say why I did.

When I was lobbying for it, I said, "'octet' is the politically correct way
to say 'byte'" and gave pretty much the same explanations that Padgett and
others did. Once, long ago, there were other size bytes than the ones that
ones we're all used to. I agree that it's an odd term, and one that makes a
lot of people just wonder.

I can think of a couple of easy solutions. One is that we put in a
paragraph explaining that an octet is a PC byte (in more ways than one).
Another is that we change all the uses of "octet" to "byte" and put in a
paragraph explaining that for this documentation, when we say "byte" we
mean an eight-bit byte, the type that many other standards call an octet.
Either is fine with me.

	Jon



-----
Jon Callas                                         jon@pgp.com
Chief Scientist                                    555 Twin Dolphin Drive
Pretty Good Privacy, Inc.                          Suite 570
(415) 596-1960                                     Redwood Shores, CA 94065




Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id OAA27486 for ietf-open-pgp-bks; Wed, 6 Aug 1997 14:35:51 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id OAA27482 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 14:35:47 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm036-25.dialip.mich.net [141.211.7.67]) by merit.edu (8.8.6/8.8.5) with SMTP id RAA26290 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 17:40:07 -0400 (EDT)
Date: Wed, 6 Aug 97 21:23:23 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6414.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: Re: terminology
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

Folks, I've also been around since Baudot days, and am familiar with at
least some of the different sized historic bytes.  That's why I think we
should specifically define the meaning in a terminology section.

As opposed to the 9 in 36 mentioned, another of the byte sizes is 6 in 36
and 6 in 60 for the CDC 3000 and 6000 series respectively.

I used octet throughout PPP specifications, to be least confusing to
folks reading ISO, CCITT and IETF documents in parallel.

I use byte in other venues.  In any case, the terms should be well
defined, and cognizant of the intended reader.

The problem that I raised was that _both_ byte and octet are used in the
same document.  Pick one.  Be consistent and readable.  Thank you.

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id LAA25839 for ietf-open-pgp-bks; Wed, 6 Aug 1997 11:51:15 -0700 (PDT)
Received: from doorstop.cs.auckland.ac.nz (root@doorstop.cs.auckland.ac.nz [130.216.35.3]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id LAA25828 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 11:51:10 -0700 (PDT)
Received: from cs26.cs.auckland.ac.nz (pgut001@cs26.cs.auckland.ac.nz [130.216.33.9]) by doorstop.cs.auckland.ac.nz (8.8.6/8.8.6/cs-master) with SMTP id GAA09943; Thu, 7 Aug 1997 06:54:43 +1200 (sender pgut001@cs.auckland.ac.nz)
Received: by cs26.cs.auckland.ac.nz (relaymail v0.9) id <87089371903111>; Thu, 7 Aug 1997 06:55:19 (NZST)
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: PADGETT@hobbes.orl.lmco.com
Subject: RE: content tag, format, terminology
Cc: ietf-open-pgp@imc.org
Reply-To: pgut001@cs.auckland.ac.nz
X-Charge-To: pgut001
X-Authenticated: relaymail v0.9 on cs26.cs.auckland.ac.nz
Date: Thu, 7 Aug 1997 06:55:19 (NZST)
Message-ID: <87089371903111@cs26.cs.auckland.ac.nz>
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

>>byte             An 8-bit quantity; also known as "octet" in
>>                 standardese.
>
>Just a loint of paw but a byte is not always 8 bits though this is
>the common assumption today. If you asked an IBMer in 1981, the answer
>was 9 bits. To a Baudot type it would be five bits.
  
I knew someone was going to come up with this... in reply I'll post a classic 
flame of this sort of thing from Markus Kuhn.  Followups to... well, somewhere 
else I guess.
 
Peter.
 
>Newsgroups: comp.text.sgml,comp.std.internat
>From: mskuhn@cip.informatik.uni-erlangen.de (Markus Kuhn)
>Subject: Silly ISO terminology (was: UTF)
>Date: Tue, 11 Apr 1995 10:02:09 GMT
>
>I know very well that UTF means
>
>  Universal Multiple-Octet Coded Character Set Transformation Format.
>
>Some ISO committees have a real talent for effective anti-marketing by
>introducing lots of abbreviations which only support the common theory that
>some ISO standards have been written by little green monsters from outer space
>in order to confuse normal human beings and prepare them for the big invasion.
>Who can remember 'Universal Multiple-Octet Coded Character Set Transformation
>Format' easily without checking the standard?
>
>Why means UCS 'Universal Multiple-Octet Coded Character Set' and not simply
>much easier to remember 'Universal Character Set'? Why do we use strange
>terminology like 'octet' while today every 10-year old kid learns at school
>that 'byte' means 'an 8-bit binary number used in computers to store
>information'. Why use many character set standards still the extremely exotic
>08/15 notation for bytes (sorry, octets ;-) instead of the hexadecimal notatio
>used by everyone else all over the world.
>
>Markus
 
Peter.



Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id LAA25651 for ietf-open-pgp-bks; Wed, 6 Aug 1997 11:32:41 -0700 (PDT)
Received: from fusebox.pgp.com (fusebox.pgp.com [205.180.136.16]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id LAA25647 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 11:32:36 -0700 (PDT)
Received: from [205.180.136.74] (pgp74.pgp.com [205.180.136.74]) by fusebox.pgp.com (8.8.5/8.8.5) with SMTP id LAA03384; Wed, 6 Aug 1997 11:36:49 -0700 (PDT)
Message-Id: <199708061836.LAA03384@fusebox.pgp.com>
Subject: RE: content tag, format, terminology
Date: Wed, 6 Aug 97 11:37:25 -0700
x-sender: noah@mail.pgp.com
x-mailer: Claris Emailer 2.0v2, June 6, 1997
From: Noah Salzman <noah@pgp.com>
To: "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>, <wsimpson@greendragon.com>
cc: <ietf-open-pgp@imc.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

A. Padgett Peterson P.E. Information Security 
(PADGETT@hobbes.orl.lmco.com) wrote this on 8/6/97 11:25 AM:

>Just a loint of paw but a byte is not always 8 bits though this is
>the common assumption today. If you asked an IBMer in 1981, the answer
>was 9 bits. To a Baudot type it would be five bits.
>
>The original definition was "that number of bits required to define
>an alphanumeric character" (including some punctuation) so varied by
>platform.
>
>Now if you wish to define it as such, that is fine however "octet" is the
>correct and specific term for eight bits.


Since you brought it up, here is a little more info on byte length from:

http://nightflight.com/foldoc/
(The Free Online Dictionairy of Computing)
-------------------

byte

<unit>  A component in the machine data hierarchy usually larger than a 
bit and smaller than a word; now most often eight bits and the smallest 
addressable unit of storage. A byte typically holds one character. 

A byte may be 9 bits on 36-bit computers. Some older architectures used 
"byte" for quantities of 6 or 7 bits, and the PDP-10 and IBM 7030 
supported "bytes" that were actually bitfields of 1 to 36 (or 64) bits! 
These usages are now obsolete, and even 9-bit bytes have become rare in 
the general trend toward power-of-2 word sizes. 

The term was coined by Werner Buchholz in 1956 during the early design 
phase for the IBM Stretch computer. It was a mutation of the word "bite" 
intended to avoid confusion with "bit". In 1962 he described it as "a 
group of bits used to encode a character, or the number of bits 
transmitted in parallel to and from input-output units". The move to an 
8-bit byte happened in late 1956, and this size was later adopted and 
promulgated as a standard by the System/360 operating system (announced 
April 1964). 

James S. Jones <jsjones@jsjones.graceland.edu> adds: 

I am sure I read in some historical brochure by IBM some 15-20 years ago 
that BYTE was an acronym that stood for "Bit asYnchronous Transmission 
E__?__" which related to width of the bus between the Stretch CPU and its 
CRT-memory (prior to Core). 

See also nybble, octet.


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id LAA25541 for ietf-open-pgp-bks; Wed, 6 Aug 1997 11:21:57 -0700 (PDT)
Received: from hobbes.orl.lmco.com (hobbes.orl.lmco.com [141.240.192.100]) by mail.proper.com (8.8.5/8.7.3) with SMTP id LAA25537 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 11:21:53 -0700 (PDT)
Date: Wed, 6 Aug 1997 14:25:37 -0400 (EDT)
From: "A. Padgett Peterson P.E. Information Security" <PADGETT@hobbes.orl.lmco.com>
To: wsimpson@greendragon.com
CC: ietf-open-pgp@imc.org
Message-Id: <970806142537.20202033@hobbes.orl.lmco.com>
Subject: RE: content tag, format, terminology
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

>   byte             An 8-bit quantity; also known as "octet" in
>                    standardese.

Just a loint of paw but a byte is not always 8 bits though this is
the common assumption today. If you asked an IBMer in 1981, the answer
was 9 bits. To a Baudot type it would be five bits.

The original definition was "that number of bits required to define
an alphanumeric character" (including some punctuation) so varied by
platform.

Now if you wish to define it as such, that is fine however "octet" is the
correct and specific term for eight bits.

					Warmly,
						Padgett


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id JAA23977 for ietf-open-pgp-bks; Wed, 6 Aug 1997 09:23:15 -0700 (PDT)
Received: from merit.edu (merit.edu [198.108.1.42]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id JAA23973 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 09:23:11 -0700 (PDT)
Received: from Bill.Simpson.DialUp.Mich.Net (pm054-21.dialip.mich.net [141.211.6.159]) by merit.edu (8.8.6/8.8.5) with SMTP id MAA19919 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 12:27:29 -0400 (EDT)
Date: Wed, 6 Aug 97 14:51:12 GMT
From: "William Allen Simpson" <wsimpson@greendragon.com>
Message-ID: <6413.wsimpson@greendragon.com>
To: ietf-open-pgp@imc.org
Subject: content tag, format, terminology
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

There is a general problem with inconsistent terminology.

I suggest that "octet" be changed everywhere to "byte", with a short
section defining byte.  Here's what I use:

1.1.  Terminology

   In this document, the key words "MAY", "MUST, "MUST NOT", "optional",
   "recommended", "SHOULD", and "SHOULD NOT", are to be interpreted as
   described in [RFC-2119].

   byte             An 8-bit quantity; also known as "octet" in
                    standardese.

====

The term "packet" is simply wrong.  A packet is a link-layer term.

I suggest that "packet" be changed everywhere to "element", which would
be consistent with other sections of the draft, including section titles
using element.

====

And then there is the problem of the "cipher type byte", which does not
define a cipher, and which contains a "tag".  Please change the name to
"Content Tag Byte", which should not be too hard.

Many of the possible combinations of the CTB are not legal, or are never
generated.  The draft is confusing.  A better organization would be a
simple tabular list of the legal values and formats of the CTB.

Here's what I suggest:

hex     element                                 length  version
===     =======                                 ======  =======
00..83  Reserved
84      Public-Key-Encrypted Session-Key        1-byte  2.3.x
85      Public-Key-Encrypted Session-Key        2-byte  2.6.x
86..87  Reserved
88      Signature                               1-byte  2.3.x
89      Signature                               2-byte  2.6.x
8A..93  Reserved
94      Secret-Key
(etc.)
  ..C0  Reserved
C1      Public-Key-Encrypted Session-Key        n-byte  5.0.x
C2      Signature                               n-byte  5.0.x
(etc.)

Reserved.  A CTB MUST NOT have a tag with this value.

====

And that n-byte length definition needs work.  Very hard to understand.

Worse, it is really rather ugly.  Why have the 0..191 1-byte variant?
Why not start with 2-byte length for everything?  Are we really
encouraging smaller than 256-bit moduli?

OK, I suppose we are stuck with 0..191 for compatibility.

But the next step should be changed.  After all, you are bringing this
to the IETF for standardization; the IETF will have change control.

That power of two variant should be tossed.  Is it ever used?

In this case, I recommend that the stepping be this:

hex     decimal length  formula
===     ======= ======  =======
00..BF  to 191  1-byte  0 .. 191
C0..EF  to 239  2-byte  ((b[1] - 192) * 256) + b[2] + 192
                aka     b[1..2] - 2**15 - 2**14 + 192
                aka     b[1..2] - 48,960
                aka     192 .. 16,575
F0..FB  to 251  3-byte  b[1..3] - 2**23 - 2**22 - 2**21 - 2**20 + 16,576
                aka     16,576 .. 1,065,151
                aka     much too much for IP
FC..FF  to 255          reserved

WSimpson@UMich.edu
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
BSimpson@MorningStar.com
    Key fingerprint =  2E 07 23 03 C5 62 70 D3  59 B1 4F 5E 1D C2 C1 A2


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id AAA17022 for ietf-open-pgp-bks; Wed, 6 Aug 1997 00:36:37 -0700 (PDT)
Received: from mail0.iij.ad.jp (mail0.iij.ad.jp [202.232.2.113]) by mail.proper.com (8.8.5/8.7.3) with ESMTP id AAA17016 for <ietf-open-pgp@imc.org>; Wed, 6 Aug 1997 00:36:32 -0700 (PDT)
Received: from uucp1.iij.ad.jp (uucp1.iij.ad.jp [202.232.2.201]) by mail0.iij.ad.jp (8.8.5+2.7Wbeta5/3.5Wpl4-MAIL) with SMTP id QAA14187; Wed, 6 Aug 1997 16:40:51 +0900 (JST)
Received: (from uucp@localhost) by uucp1.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id QAA02779; Wed, 6 Aug 1997 16:40:51 +0900
Received: from localhost by h2np.suginami.tokyo.jp (NX5.67c/IIJ-U1.2c) id AA04453; Wed, 6 Aug 97 16:33:01 +0900
Message-Id: <9708060733.AA04453@h2np.suginami.tokyo.jp>
To: jude shabry <jude@pgp.com>
Cc: ietf-open-pgp@imc.org
Subject: Re: PGP Message Exchange Formats Internet Draft 
In-Reply-To: Your message of "Wed, 30 Jul 1997 17:02:34 MST." <19970731000235.11138.qmail@peace.netris.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Date: Wed, 06 Aug 1997 16:33:00 +0900
From: Hironobu Suzuki <hironobu@h2np.suginami.tokyo.jp>
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

>From Opening Message.

> - new cipher suites (elliptic curve, other symmetric ciphers) and
>   cipher identifiers

>From Internet Draft
>6. Constants
>* 6.1 Public Key Algorithms
>* 6.4 Hash Algorithms

I'd like to know to contact a person to get new chiper identifier.

-- 
Hironobu SUZUKI        Independent Software Consultant
Tel: +81-3-5310-7303   Fax: +81-3-5382-7065
E-Mail: hironobu@h2np.suginami.tokyo.jp
3-42-19-306, Nishiogi Kita, Suginami, Tokyo, 167, JAPAN.


Received: (from majordomo@localhost) by mail.proper.com (8.8.5/8.7.3) id SAA06747 for ietf-open-pgp-bks; Sat, 2 Aug 1997 18:45:43 -0700 (PDT)
Received: from ns.adis.at (root@ns.adis.at [195.64.0.34]) by mail.proper.com (8.8.5/8.7.3) with SMTP id SAA06742 for <ietf-open-pgp@imc.org>; Sat, 2 Aug 1997 18:45:37 -0700 (PDT)
Received: from [195.64.0.77] (asy207.adis.at [195.64.0.77]) by ns.adis.at (8.6.12/8.6.9) with SMTP id DAA16496; Sun, 3 Aug 1997 03:49:19 +0200
Message-Id: <199708030149.DAA16496@ns.adis.at>
Subject: Re: PGP Message Exchange Formats draft-ietf-pgp-formats00.txt
Date: Sun, 3 Aug 97 03:48:53 +0200
x-sender: yog@email.adis.at
x-mailer: Claris Emailer 1.1
From: Gerald Young <yog@adis.at>
To: "jude shabry" <jude@pgp.com>
cc: <ietf-open-pgp@imc.org>, <internet-drafts@ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-transfer-encoding: quoted-printable
Sender: owner-ietf-open-pgp@imc.org
Precedence: bulk

On 7/31/97 02:02, jude shabry <jude@pgp.com> wrote:
>INTERNET-DRAFT						      Gail Haspert
>Security						            PGP, Inc.
>Expires in six months					Editor             
>							                   July 30 1997
>
>PGP Message Exchange Formats
><draft-ietf-pgp-formats00.txt>
>

Some comments on the contents, syntax and semantcs of the =
aforementined document.

Regards
-- Gerald

-BEGIN-
> 2.4 Radix-64 conversion

>  ...converting    
>  the raw 8-bit binary octet stream to a stream of printable ASCII   
>  characters, called Radix-64 encoding or ASCII Armor.

Isn't the term "octet" a synonym for 8-bit data entities, defined as =
such in RFC ????

"ASCII characters" are really "7-bit US-ASCII octets"

>  Similar to MIME encoding, the process of Radix-64 encoding an

MIME defines several encodings, use an explicit reference to "base64" =
encoding
(RFC ???? Section ?.?)

>  ...8-bit binary stream of data...

"binary octet stream"

>  is as follows. Every three subsequent 8 bit binary octets...

simply "octets" instead of "8 bit binary octets" (8-bit binary =
octets).

>  are mapped into four subsequent 6-bit ASCII characters.  

what are 6-bit ASCII characters? use "US-ASCII". "6-bit coding subset =
of US-ASCII"

In general the process is already defined and phrased in some MIME =
documents, so
that wording SHOULD be used for consistency IMHO.

>  Radix-64 encoding also appends a CRC to detect transmission errors.

This really is a difference from base64.

How is padding handled? This is explicitely stated in base64 specs.

>  This radix-64 conversion, is a wrapper around the binary PGP   
>  messages, and is used to protect the binary messages during 
>  transmission over non-binary channels, such as Internet Email.

How does this interoperate with 8bitMIME capable ESMTP mailers? =
Explicite reference.

>  The following table defines the mapping.  The characters used are the
>  upper- and lower-case letters, the digits 0 through 9, and the
>  characters + and /.  The carriage-return and linefeed characters
>  aren't used in the conversion, nor is the tab or any other character
>  that might be altered by the mail system. The result is a text file
>  that is "immune" to the modifications inflicted by mail systems.

Is this anyhow different to MIME base64 encoding?

>  To encode an arbitrary 3 octets, separate the bit stream logically

how is an octet transformed into an bit stream, which bit is first...?

>  into four 6-bit groups, calculate the decimal value of the 6-bit

"decimal value" ??? decimal is because of the table below, but not
required by the encoding process? skip "decimal", use "use as an =
index".

>  group, and replace it with the corresponding character from the table 
>  below.

>  Decoding is the exact opposite operation.

Really? Nothing more :) This is a to-be standard, defining things not =
merely
stating them to happen...

Add one or more paragraphs on decoding...

>                  6-bit Value Mapped to Character Encoding

See? no "decimal" mentioned in the table heading

>           Hex octet           0x17      0x3A      0xA3
>Example:   Binary stream      00010111  00111010  10100011
>           Translate to 6bit  000101  110011  101010  100011
>           Decimal              5      51      42      35
>          Final Character       F       z       q       j

OK, this serves as example and definition on bit-streaming...

But, what to to if there are not enough octets as input, how to pad?
And how to detect the end of the to-be-decoded stream, as there is no
length field anywhere...

>  It is possible to use PGP to convert any arbitrary file to ASCII
>  Armor.  When this is done, PGP tries to compress the data before it
>  is converted to Radix-64.

Terms "ASCII Armor" and "Radix-64" are used interchangable, by =
intention.

What about MIME base64 content encoding of "binary" PGP message data?

binary data --> ASCII Armor (as per 2.4.1 below) --> compress ? -->
Radix-64 ---> MIME...

>2.4.1 ASCII Armor Formats
>
>  When PGP encodes data into ASCII Armor, it puts specific headers
>  around the data, so PGP can reconstruct the data at a future time.
>  PGP tries to inform the user what kind of data is encoded in the
>  ASCII armor through the use of the headers.
>
>  ASCII Armor is created by concatenating the following data:

ok, we are now creating ASCII Armor...

>
>       - An Armor Headerline, appropriate for the type of data
>       - Armor Headers
>       - A blank line

What is a line, BTW. Obviously now we need an RFC822 type definition
of "line" (sequence of octets terminated by an <CR><LF> sequence?)

>       - The ASCII-Armored data

Oops. This is an recursive definition, as we are about to specify how
ASCII-Armored data is created. Obviously this should read
"The Radix-64 encoded data"

>       - An Armor Checksum

Same as above, should read "An Radix-64 Checksum of the encoded data".

>       - The Armor Tail, which depends on the Armor Headerline.

>  An Armor Headerline is composed by taking the appropriate headerline
>  text surrounded by five (5) dashes (-) on either side of the

(-) --> (US-ASCII 0x?? "-")

>  headerline text.  The headerline text is chosen based upon the type
>  of data that is being encoded in Armor, and how it is being encoded.

Is it "Armor" or "ASCII Armor" or "ASCII-Armor" or what?

>  Headerline texts include the following strings:

Is an enumeration to follow or an example?

>   BEGIN PGP MESSAGE -- used for signed, encrypted, or compressed files
>   BEGIN PGP PUBLIC KEY BLOCK -- used for transferring public keys 
>   BEGIN PGP MESSAGE, PART X/Y -- used for multi-part messages, where
>                                   the armor is split amongst Y files,
>                                   and this is the Xth file out of Y.

Use a tabular approach here, like:

    "BEGIN PGP MESSAGE"            used for signed, encrypted, or
                                   compressed files
                                 
    "BEGIN PGP PUBLIC KEY BLOCK"   used for transferring public keys 
    
    "BEGIN PGP MESSAGE, PART X/Y"  used for multi-part messages, where
                                   the armor is split amongst Y files,
                                   and this is the Xth file out of Y.

Make clear whether this is an exhaustive list ("definition") or only
examples.

How are new value strings introduced, and what to to with 
undefined/unkown strings.

>  The Armor Headers are pairs of strings that can give the user or the
>  receiving PGP message block some information about how to decode or   
>  use the message.

Strange concept, however :)

>  ...The Armor Headers are a part of the armor, not a 
>  part of the message, and hence should not be used to convey any    
>  important information, since they can be changed in transport.

How could this happen, they are to contain base64/radix-64 characters
considered to be mail save. Any other encoding of the "ASCII Armor" is
to be transparent and is removed/reversed before the ASCII Armor is
passed to the PGP layer.

What about BINARY Armor? Maybe introduce something streamable like =
GIF or PNG.

>  The format of an Armor Header is that of a key-value pair.  PGP 
>  should consider improperly formatted Armor Headers to be corruption 
>  of the ASCII Armor.  Unknown keys should be reported to the user, but 
>  PGP should continue to process the message. Currently defined Armor 
>  Header Keys include "Version" and "Comment," which define the PGP 
>  Version used to encode the message and a user-defined comment.

This paragraph obviously deals with the above mentioned "Armor =
Headerlines",
not "Armor Headers".

Armor Headerlines are to be built after RFC822 lines, thus possibly =
adopting
the folding and encoding (Q-encoding) rules defined there and =
elsewhere.

Thus Headerlines are just like "Subject:" or "Comment:" header lines =
of email
messages.

>The Armor Checksum is a 24-bit CRC converted to four characters of 
>radix-64 encoding, prepending an equal-sign (=3D) to the four character =
code.

"... to the resulting four characters."

>The CRC is computed by using the generator 0x864CFB and an initialization 
>of 0xB704CE.  The accumulation is done on the data before it is converted 
>to radix-64, rather than on the converted data.  For more information on 
>CRC functions, the reader is asked to look at chapter 19 of the book 
>"C Programmer's Guide to Serial Communications," by Joe Campbell.

This complete para above is not intented properly.

Got the ISBN of that book. A References section is missing from the =
draft.

>  The Armor Tail is composed in the same manner as the Armor
>  Headerline, except the string "BEGIN" is replaced by the string
>  "END."

Its "Headerline", but "Tail"; maybe use "Tail line" and "Header line".

An example of a short message in ASCII Armor is missing here now.

>3. Data Element Formats
>This section describes the data elements used by PGP.

An empty line is missing as seperator.

>3.1 Scalar numbers
>
>Scalar numbers are unsigned, and are always stored in big-endian format. 
>Thus, the value of a two-octet scalar is ((n[0] << 8) + n[1]). The value 
>of a four-octet scalar is ((n[0] << 24) + (n[1] << 16) + (n[2] << 8) + =
n[3]).

Add example.

>The string of octets [00 01 01] forms an MPI that has a value of 1. The =
string 
>[00 09 01 ff] forms an MPI with the value of 511.

reformat into seperate paragraphs and use uppercase characters for =
hex digits A..F.

--> The string of octets [00 01 01] forms a MPI that has a value of 1.
-->
--> The string of octets [00 09 01 FF] forms a MPI with the value of =
511.

Hmm, thus MPI's are quite different from Radix-64 bit streams, as the =
bit stream
is aligned differently. But:

>Additional rules:
>
>The size of an MPI is ((MPI.length + 7) / 8) + 2.

--> The size of a MPI in octets is ((MPI.length + 7) / 8) + 2.
                =3D=3D    =3D=3D=3D=3D=3D=3D=3D=3D=3D

>The length field of an MPI describes the length starting from its most 
>significant non-zero bit. Thus, the MPI [00 02 01] is not formed =
correctly.
>It should be [00 01 01].

This clears things up a bit, but this should be placed before the =
Example anyway.

Is it "an MPI" or "a MPI" ?!

>3.3 Strings
>
>A string consists of a one-octet length and then N octets of string data.

"an (!) one-octet", better "an one-octet scalar number specifying the =
length,
followed by that number of octets of string data."

Add an example, say "PGP".

>3.4 Time fields
>
>A time field is a four-octet number containing the number of seconds 
>elapsed since midnight, 1 January 1970 GMT.

"four-octet scalar number". Is this the UNIX epoch...

Give one example (maybe 1 January 2000 :) ) and give the maximum =
date/time possible
(not taking leap seconds and such into account...:) )

>4.2 Packet Headers
>
>The first octet of the packet header is called the "Cipher Type Byte."

"Byte" is ambiguous?! Define "ctb" or "CTB" used below.

This first octet is also the first octet of the entire packet, or =
else?

And, packets headers are obviously not covered by section 3, as they =
are not
defined there (an design flaw of early times, I guess).

Are "Tags" (as mentioned in 4.1 Overview) always single octets, then =
they can
be defined in section 3.

>In an old format packet, the packet tag resides in the middle four bits
>((ctb & 0x3c) >> 2). The two low order bits (ctb & 0x3) denote the number 

use "0x3C"

>of octets following the CTB that hold the length of the packet body.

"length" --> "length-type"

Thus with ((ctb & 0xFC) >> 2) --> 64..127 for old formats...

>The meaning of the length-type is:

>0 - The packet has a one-octet length. The header is 2 octets long.
>1 - The packet has a two-octet length. The header is 3 octets long.
>2 - The packet has a four-octet length. The header is 5 octets long.
>3 - The packet is of indeterminate length. The header is 1 byte long, 
>and the application must determine how long the packet is. If the packet 
>is in a file, this means that the packet extends until the end of the =
file. 
>In general, an application should not use indeterminate length packets.

Use table format:

  0   The packet has a one-octet length. The header is 2 octets long.

  1   The packet has a two-octet length. The header is 3 octets long.

  2   The packet has a four-octet length. The header is 5 octets long.

  3   The packet is of indeterminate length. The header is 1 byte =
long, 
      and the application must determine how long the packet is. If =
the packet 
      is in a file, this means that the packet extends until the end =
of the
      file.

  In general, an application should not use indeterminate length =
packets.

>In a new format packet, the low-order six bits (cth & 0x3f) form the =
packet
>tag.

The above text on old format packets used "ctb"?! 0x3F

>If the next octet is 191 or less, then that is the length of the packet

Use "second octet".

>body. If that octet is between 192 and 223, then the length of the packet 
>body is held in the two octets following the CTB with the following =
formula:

Another design flaw with v5.0: why not use MPI's here too.

Start a new para for the 192 to 223 case and maybe use also "second =
octet".

Rephrase to "high-order bit clear" type of description. Maybe use hex =
numbers
here too. "CTB" used here again, should be "ctb"?

>   bodyLen =3D ((p[1] - 192) * 256) + p[2] + 192;

what is p obviously pointing to?

>Note that this yields a maximum packet body length of 8383 octets for this
>type of packet.
>
>If the second octet is 224 or greater (note that 224 is E0 in =
hexadecimal, or 

"If that octet is between 224 and 255...", "0xE0" (you already used =
the
uppercase here)

>11100000 in binary), then the low-order five bits form the length of the 
>packet body with the formula:
>
>   bodyLen =3D 1 << (p[1] & 0x1f);
>
>In English, the packet body length is a power of two. Its maximum length 
>is 2**31 octets long. Note that there is no way to form a new-format =
packet 
>that is longer than 8383 octets and not a power of two in length.
>
>Please note that in all of these explanations, the total length of the
>packet is the length of the header plus the length of the body.

>4.3 Packet Tags
>
>The packet tag denotes what type of packet the body holds. Note that old
>format packets can only have tags less than 16, whereas new format =
packets 
>can have tags as great as 63. The defined tags are:
>
>0  -- Reserved. A packet must not have a tag with this value.
>1  -- Encrypted Session Key Packet

This table uses yet another format... unify.
Use Obsolete and Reserved and New as First descriptive element, maybe =
form
another column.

What to to with undefined packet tags encountered?

Packet Tag 16 is a new (v5.0) packet type?!

>5.0 Packet Types
>
>This section describes some of the more interesting packet types.

Rephrase. This is the definition document, should describe all packet =
types?!

>5.1 Encrypted Session Key Packets

Add packet tag value to the heading: "5.1 Encrypted Session Key =
Packets (Packet
Tag 1)"

>The body of this packet consists of:
>
>       - A one-octet number giving the version number of the packet type,
>        either 2 or 3. All modern versions of PGP generate type 3   
>        packets.

Give a complete desciption (is 0 valid, what about 1, how to =
decode...)
"All modern versions of PGP MUST generate type 3 packets and SHOULD =
decode type
2 packets."

>- An eight-octet number that gives the ID of the public key that 
>  the session key is encrypted to.
>       - A one-octet number giving the public-key algorithm used.

Definition of values is where?

>- A string of octets that is the encrypted session key. This 
>  string takes up the remainder of the packet, but is not     
>  explicitly counted.

"...and is thus not explicitely counted."

Intention is off...
use "scalar" instead of "number" to keep term consistent in this =
document.

>5.2 Conventional Encrypted Session-Key Packets

"5.2 Conventional Encrypted Session-Key Packets (Packet Tag 3)"
What about tag 2?

>This packet (tag 3) describes a session key that has been encrypted to a

omit "(tag 3)"

>secondary symmetric cipher. This allows a message to be encrypted to a
>number of public keys, and also to one or more pass phrases. This packet 
>type is new, and is not generated by PGP 2.x or PGP 5.0.

What about PGP 1.x or 0.x?

>The body of this packet consists of:
>	- A one-octet version number. The current version is 4.

Other versions, MUST, SHOULD... as above.

>	- A one-octet number describing the symmetric algorithm used.

Definitions...where?

>	- A "string-to-key" object. This is described below. It is 2, 10,   
>        or 11 octets long.
>	- The encrypted session key itself, which is decrypted with the
>        string-to-key object.

Table Intention is off...

>The string-to-key object has this format:
>
><To be written in a future draft.>

Sure :)


For other packet tags formattings needs to be chacket, headers should =
add the tag value. and missing descriptions and value definitions =
given

>5.9 User-Name Packet
>
>A user-name packet is a counted string with a one-octet length. By
>convention, it is an RFC 822 mail name, but there are no restrictions on =
its >content.

add tag value; what is "a (!) RFC mail name". Give an example. =
Possibly the mailbox name is meant (as in a To:,CC:,BCC: spec. Or =
"e-mail address"?

>6. Constants
>
>This section describes the constants used in PGP Version 5.x.

What about compatibility with previous (and future) versions?!

Following tables need to be adapted to document standard.

>7. Transferable Public Keys
>
>   Public keys may transferred between PGP users. The essential elements
>   of a transferable public key are:

Intention is off..

>8.1 Key Structures

>Each signature certifies the RSA public key and the preceding UserID.
>The RSA public key can have many UserIDs and each UserID can have
>many signatures.

Use either "User ID" or "UserID" for consistency.

>8.2 Public Key Certificate Packet Structure 
>
>To accommodate the addition of the subkey construction, a new
>version of the public-key-certificate packet was created.  Packets
>with a version of '3' are still created for PGP keys that use RSA

use either "version 3" or "version '3'" cnsistently.

>public keys.  For specifics on version 3 packets, see RFC 1991.
>The terms and formatting used here are consistent with that RFC.

"with that RFC"--> "with that document"

>RSA Public Key Certificate Packet ("old format")
>
>    a) packet structure field with CTB bits 5-2 =3D 0110 (2 or 3 bytes);
>    b) version number =3D 3 (1 byte);
>    c) time stamp of key creation (4 bytes);
>    d) validity period in days (0 means forever) (2 bytes);

This table should be formatted according to previous table samples.

And use octets instead of bytes, and two-octets and so on...

>8.7 Future Formats 
>
>Additional information on PGP formats is being provided to the public in
>order for others to build compatible or complimentary systems that
>support PGP.  

Eh?

And:

Add reference/bibliography and how to reach the author/working =
group....

-END-
=8A

