> > psuedo-keytype. With a new keytype you can disambiguate between mapped and
> > non-mapped keys and you can store information about the mapfile in the key
> > without limiting what normal keys can look like. What do you think of this
> > idea? I didn't think all that much about it so it may have some problems.
>
> That was my original proposal. Break the key into two parts: the location
> of the map file, and the filename to look up in the map file. I used a
> colon. For example,
>
> freenet:KSK@blah:/index.html
No, this is different. Your proposal messes with KSKs. My proposal is to
create a new psuedo-keytype such as MMK, so:
freenet:MMK@mapfile/filename
The distinction may seem subtle but it doesn't mess up KSK or SSK
parsing. You could even have a mapfile indexed by CHK:
freenet:MMK@CHK@asdf/filename
Another example:
freenet:MMK@SSK@asdf/blah/filename
The last one is iffy, but you have to have some way to use SSKs for map
files, which is confusing unless you say that mapfile names can't have
"/" in them, which I am comfortable doing.
So what do you think of this way versus putting the mapfile name in all of
the different keytypes?
_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev