Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

9 downloads

Install on DigitalOcean Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-server.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-server.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Daniel Quellhorst Changelog for this batch. 65ef78d 3 hours, 42 minutes ago History
exchange_keys.json · 2.5 KB · 32 lines
1{
2 "name": "exchange_keys",
3 "title": "Exchange Keys",
4 "version": 2,
5 "description": "The PUBLIC halves of this box's Ed25519 signing keys, as listed in its profile. The private halves are files under the data directory's exchange/private/ (0600, never a record, never in a backup, never served or logged; object_exchange). One key is active and signs; a rotated key is retired, keeps its row so documents and receipts it signed still verify, and its private half is deleted. A new key carries a vouch: the previous key's signature over it, which is how a partner that pinned the old key learns to trust the new one. key_id is derived from the public key, so a row cannot claim another key's id; key_id, public_key and the vouch are frozen from creation. v2: backup_note and backed_up_at: where the operator says the private file is backed up, which the readiness check (op=check) reports.",
6 "fields": [
7 {"name": "id"},
8 {"name": "key_id", "type": "text", "required": true, "label": "Key Id"},
9 {"name": "public_key", "type": "text", "required": true, "label": "Public Key",
10 "help": "Raw 32-byte Ed25519 public key, base64url without padding."},
11 {"name": "status", "type": "enum", "default": "active", "enum": ["active", "retired"],
12 "label": "Status",
13 "transitions": {"active": [{"to": "retired"}], "retired": []}},
14 {"name": "created_at", "type": "text", "label": "Created"},
15 {"name": "retired_at", "type": "text", "label": "Retired"},
16 {"name": "vouched_by", "type": "text", "label": "Vouched By"},
17 {"name": "vouch_signature", "type": "textarea", "label": "Vouch Signature"},
18 {"name": "backup_note", "type": "text", "label": "Backed Up In",
19 "help": "Where the operator says this key's private file is kept (op=record_key_backup). The box cannot see it: no backup it makes holds the key.",
20 "validation": {"max_length": 300}},
21 {"name": "backed_up_at", "type": "text", "label": "Backup Recorded"}
22 ],
23 "unique": [{"fields": ["key_id"], "message": "That key is already listed."}],
24 "locked_when": [
25 {"when": {"status": ["active", "retired"]},
26 "fields": ["key_id", "public_key", "created_at", "vouched_by", "vouch_signature"],
27 "message": "A key's public half is a published fact; rotate instead of editing it."},
28 {"when": {"status": "retired"}, "except": [],
29 "message": "A retired key stays listed so what it signed still verifies."}
30 ],
31 "views": {"list_mode": "table", "list_fields": ["key_id", "status", "created_at", "retired_at"]}
32}