socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.compute.events.vm.hostKeys

record key any

The bidder reports the VM's SSH host keys; sent as the payload of a market.event.

definitions: #hostKey

record

fieldtypedescription
keys *array of #hostKey
observedAt *string datetime
createdAt *string datetime
signaturesnetwork.attested.signature#signatures

#hostKey object

fieldtypedescription
type *string
knownValues ["ssh-ed25519","ecdsa-sha2-nistp256","ssh-rsa"]
publicKey *string
The key in authorized_keys form.
fingerprint *string
The SHA256 fingerprint of the key.

used in

Compute Contract Flow - Complete Architecture Map, guest-events: events under a receipt, protocol: the atproto protocol of socialweb-computer, lexicons-market: one row per lexicon, The protocol spec, Four signed hops, one verifiable contract.

raw schema: lexicons/com/publicdomainrelay/temp/compute/events/vm/hostKeys.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.compute.events.vm.hostKeys",
  "description": "The bidder reports the VM's SSH host keys; sent as the payload of a market.event.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "keys",
          "observedAt",
          "createdAt"
        ],
        "properties": {
          "keys": {
            "type": "array",
            "items": {
              "type": "ref",
              "ref": "#hostKey"
            }
          },
          "observedAt": {
            "type": "string",
            "format": "datetime"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "signatures": {
            "type": "ref",
            "ref": "network.attested.signature#signatures"
          }
        }
      }
    },
    "hostKey": {
      "type": "object",
      "required": [
        "type",
        "publicKey",
        "fingerprint"
      ],
      "properties": {
        "type": {
          "type": "string",
          "knownValues": [
            "ssh-ed25519",
            "ecdsa-sha2-nistp256",
            "ssh-rsa"
          ]
        },
        "publicKey": {
          "type": "string",
          "description": "The key in authorized_keys form."
        },
        "fingerprint": {
          "type": "string",
          "description": "The SHA256 fingerprint of the key."
        }
      }
    }
  }
}