[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The canonical <CR><LF> in rfc2015



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

In <3.0.5.32.19980123002125.0085c470@xxxxxxxxxxxxxxxxxx>, on 01/23/98 
   at 03:21 AM, Bill Stewart <bill.stewart@xxxxxxxxx> said:

>At 02:46 PM 1/23/98 +0900, Hiroyuki Yamada wrote:
>>I have a question about PGP signed data in section 5-(1)(2)(3)
>>of rfc2015. It requires <CR><LF> for end of each lines instead
>>of <NL>.  Could anybody have any reason for it ?

>Different operating systems have different conventions for
>representing the end of a line.  Unix uses <LF> ( = <NL> ).
>MS-DOS uses <CR><LF> as do some other systems.  I think
>Macintoshes may use <CR>.  So if you want to sign a document on one
>system and verify the signature on the other,
>you have to know which convention is being used,
>or hope that the your operating system, the signer's operating system, or
>some glue in between did not change the newline.
>If you always sign the same version, this doesn't happen,
>and <CR><LF> probably will not do Bad Things on most systems.

Isn't <CR><LF> pretty much the standard in the RFC's ? IIRC RFC733 onward
all specify <CR><LF>. Since RFC733 and for the most part RFC822 pre-date
the PC revolution I would imagine that this was the standard convention
for the machines being used by ARPANET at the time (I was still using an
IBM1130 then and I don't remember what it used).

Perhaps a Net historian could step in and clarify the matter.

- -- 
- ---------------------------------------------------------------
William H. Geiger III  http://users.invweb.net/~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://users.invweb.net/~whgiii/pgpmr2.html                        
- ---------------------------------------------------------------
 
Tag-O-Matic: This is a TAG-O-Matic
             Multi-line Sample
             Tag 

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

iQCVAwUBNMinGY9Co1n+aLhhAQFTVwP/QeCQC/it39LW/vd0EhDln4z0KuXCOcOR
6DC2jfg908T9I7TUr0/Z8KprkW6mkLjCrbV0E4hG6DWvrWcXRW8Vc4IX/O2O1zAX
wTDEGmoNfG55Qnimn0uGB2qWZPuCknfDAIM69VRWbTPcaCPTFHlt/+C9JM5NA9zI
WxLWUO+BKpw=
=gkP0
-----END PGP SIGNATURE-----