Skip to content

Instantly share code, notes, and snippets.

@evanp
Last active January 19, 2026 08:35
Show Gist options
  • Select an option

  • Save evanp/792c62ebb636eeb7a231ff43cca402e0 to your computer and use it in GitHub Desktop.

Select an option

Save evanp/792c62ebb636eeb7a231ff43cca402e0 to your computer and use it in GitHub Desktop.
A minimal user with a public key
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
],
"id": "https://social.example/person/SEv678nDpuylYzZmdsfB9",
"type": "Person",
"preferredUsername": "example",
"inbox": "https://social.example/collection/9TOqs9LawlwK8JRQnbLfj",
"outbox": "https://social.example/collection/z0zAaqemphzkk--C2w3Xt",
"followers": "https://social.example/collection/wjApfcbMM6khKqEG7WUjE",
"following": "https://social.example/collection/OmPg1lweAKlFRRP_jzAMG",
"liked": "https://social.example/collection/aMKm4Q095CSFgEC5O8tCE",
"publicKey": {
"id": "https://social.example/key/MZ46DLELS2e2sdggQO4aD",
"type": "Key",
"owner": "https://social.example/person/SEv678nDpuylYzZmdsfB9",
"publicKeyPem": "<key material goes here>"
}
}
@trwnh
Copy link

trwnh commented Jan 19, 2026

"type": "Key",

https://w3id.org/security/v1 defines a term for https://w3id.org/security#Key using CryptographicKey, not Key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment