Register a site
A site registers itself.
A site here is a service name and an identity key. The site's own software signs a record with that key and sends it to this centre. The centre then asks the name for the same record over HTTPS, and takes the site if the two agree.
Send the SiteRegistration
to POST https://kc1.minicrypt.ai/.well-known/minicrypt
with the media type application/vnd.minicrypt. Nothing is typed into this
page: the identity key signs the record, and that key stays offline.
What the centre checks
- The record
- The identity key in the record signed it. Its name is in canonical form: lower case, no trailing dot, a port only when it is not 443. It is dated no more than 300 seconds ahead.
- The name
-
GET https://your-name/.well-known/minicryptreturns the site's signed record, under the same identity key. The centre makes that one request, follows no redirect, and connects to public addresses only. - The online keys
- Each certificate the record lists is signed by the identity key, runs for at most 90 days, and is in date. The centre keeps the ones the record lists and no others.
- A newer record
- It comes under the same identity key with a higher version. A record under another key replaces nothing: a new identity key is announced in the site's entry for seven days first, and the holder of the current key can withdraw the announcement.
What the centre holds
The centre says what it accepted in its next snapshot, which it publishes at least once an hour. Look a name up here to read its entry in the latest one.
What registering is worth
- As much as HTTPS for that name
- It shows that whoever controls the name's web server published this key. It is as strong as DNS and the web's certificates for that name. A phone that pairs with the site pins the identity key for itself and keeps it whatever a centre says later.
- The first component is level 1
- The site's server fetches it over TLS, signed for by an online key. A component that an operator carries to the server's console earns level 2. The site names its operators by a grant its identity key signs, and the operator's phone presents it.