writing down filecaps: revise URI scheme #432

Open
opened 2008-06-01 21:34:06 +00:00 by warner · 6 comments

I'd like to sit down and draw up a plan for "cap reification": what are the exact strings used to represent our various file/directory capabilities. We know that there will be at least two kinds (human-readable and packed machine-readable), and that we might want the human-readable ones to be browser-friendly (or 72-column friendly, or concise, or some combination thereof). And we've drawn up a couple of proposals based upon adequate crypto key sizes and "base62" encoding schemes, but we haven't finished the roadmap yet.

Various features and tradeoffs:

  • printable
  • pronounceable, error-resistant (base32 with o/0 tolerance)
  • short
  • browser-friendly (starts with <http://localhost>)
  • IANA-friendly (starts with x-tahoe: or tahoe:)
  • email friendly (printable and shorter than 72 characters)
  • self-identifying (includes some redundant prefix, version number)
  • visually distinct
I'd like to sit down and draw up a plan for "cap reification": what are the exact strings used to represent our various file/directory capabilities. We know that there will be at least two kinds (human-readable and packed machine-readable), and that we might want the human-readable ones to be browser-friendly (or 72-column friendly, or concise, or some combination thereof). And we've drawn up a couple of proposals based upon adequate crypto key sizes and "base62" encoding schemes, but we haven't finished the roadmap yet. Various features and tradeoffs: * printable * pronounceable, error-resistant (base32 with o/0 tolerance) * short * browser-friendly (starts with `<http://localhost>`) * IANA-friendly (starts with `x-tahoe:` or `tahoe:`) * email friendly (printable and shorter than 72 characters) * self-identifying (includes some redundant prefix, version number) * visually distinct
warner added the
code-encoding
major
task
1.0.0
labels 2008-06-01 21:34:06 +00:00
warner added this to the 1.5.0 milestone 2008-06-01 21:34:06 +00:00
Author

Related tickets:

  • #418: create tahoe: URI scheme identifier, register with IANA
  • #217: DSA-based mutable files, will enable shorter caps
  • #102: "smaller and prettier directory URIs"
  • #105: "command-line access to URIs" (printable caps should be distinguishable
    from filenames, so "tahoe cp $CAP local/foo.txt" is not too ambiguous)
  • #52: "browser integration": caps that are legal URIs and make IANA happy can also
    be handled by browser plugins
  • #125: caps for files and directories should be human-distinguishable. It is even
    more important that humans be able to distinguish read-caps and write-caps.
Related tickets: * #418: create `tahoe:` URI scheme identifier, register with IANA * #217: DSA-based mutable files, will enable shorter caps * #102: "smaller and prettier directory URIs" * #105: "command-line access to URIs" (printable caps should be distinguishable from filenames, so "tahoe cp $CAP local/foo.txt" is not too ambiguous) * #52: "browser integration": caps that are legal URIs and make IANA happy can also be handled by browser plugins * #125: caps for files and directories should be human-distinguishable. It is even more important that humans be able to distinguish read-caps and write-caps.

See also #52 (browser integration).

See also #52 (browser integration).
zooko modified the milestone from 1.5.0 to eventually 2009-06-30 12:40:23 +00:00
Author

NewCapDesign is the place to design the new cap format. It contains a detailed list of design criteria.

[NewCapDesign](wiki/NewCapDesign) is the place to design the new cap format. It contains a detailed list of design criteria.
davidsarah commented 2009-10-28 03:35:15 +00:00
Owner

Tagging issues relevant to new cap protocol design.

Tagging issues relevant to new cap protocol design.
zooko modified the milestone from eventually to 2.0.0 2010-02-23 03:07:30 +00:00

Some old notes about this are on ticket #102. Please read them!

Some old notes about this are on ticket #102. Please read them!
Owner

Ticket retargeted after milestone closed (editing milestones)

Ticket retargeted after milestone closed (editing milestones)
meejah removed this from the 2.0.0 milestone 2021-03-30 18:40:46 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#432
No description provided.