Re: secure URIs

Trevor Perrin said:
>> meta:sha1=oHn3H7i+rYwEnZulnHb09KO/6Ro=:http://josefsson.org/key.txt

> I like that too.  I'd put the <URI> first, for readability.  Then it 
> doesn't look too different from my suggestion.

The problem with your approach:

> http-://josefsson.org/key.txt:sha1=oHn3H7i+rYwEnZulnHb09KO/6Ro=

is that colons already appear in URIs. See, for example:

  http://www.davros.org/temp/transfer:sha1=2309r+4erqcqc=xx.gif

(ignore the content; it's just an image someone sent me). The "meta"
approach has the advantage of being syntactically unambiguous, but only if
you leave the metadata at the start or provide a better way of ending the
URI section (for example, requiring colons to be escaped).

-- 
Clive D.W. Feather  | Work:  <clive@demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive@davros.org>  | *** NOTE CHANGE ***
Demon Internet      | WWW: http://www.davros.org | Fax:    +44 870 051 9937
Thus plc            |                            | Mobile: +44 7973 377646

Received on Wednesday, 30 April 2003 03:33:09 UTC