Skip to content

Freenet Key

Stephen Oliver edited this page Mar 30, 2017 · 2 revisions

All files within Freenet are identified and requested by a key, in a similar way that normal websites are identified by a domain name.

Content Hash Key

The most fundamental key type.

All files over 1KiB are ultimately divided into one or more 32KiB CHKs.

CHK filenames are determined only by their contents.

Signed Subspace Key

The other basic key type.

These combine a public key with a human-readable filename, and allow for freesites.

Some higher-level key types (which are built out of the basic ones) are:

Keyword Signed Key

A variant of SSKs, where everything is determined by a simple human readable filename (e.g. KSK@sample.txt).

These are spammable, meaning that other users can insert a different file under the same name. However they are convenient in some cases.

Updatable Subspace Key

A form of updatable keys especially useful for freesites and ARKs.

Technical Details

Keys may carry either metadata or data.

metadata

If a key contains metadata, it may specify:

  • A redirect to another key

  • A splitfile manifest - a bunch of pointers to keys which when fetched and reassembled yield a larger file

  • Multi-level metadata - a splitfile which isn't a file but metadata; the splitfile manifest for a 20MB+ file will not fit in a single CHK so has to be split itself

  • A Simple Manifest, a list of filenames, each of which has metadata attached to it

  • An archive manifest - a pointer to a Container

  • An archive redirect - a pointer to a file within a Container

  • True metadata, such as the MIME type of the data which will be returned, combined with any of the above

See also: Single File Manifests

Clone this wiki locally
You can’t perform that action at this time.