mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
(cherry picked from commit 67d73f74ac)
45460e99 check for currently unsafe constructs
5ebb8546 move the jsonld unsafe keys check up a little so that it will actually terminate if positive.
363e2ab5 fix invalid json
b2362c8c only expand and check jsonld if verifying
d21ac6ef jsonld: refactor and hard fail on normalisation or expansion error
2e64496e Merge branch 'dev' into json-ld
c0918861 revert always hard fail
Co-authored-by: Mario <mario@mariovavti.com>
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
{
|
|
"@context": {
|
|
"id": "@id",
|
|
"type": "@type",
|
|
"proof": {
|
|
"@id": "https://w3id.org/security#proof",
|
|
"@type": "@id"
|
|
},
|
|
"DataIntegrityProof": {
|
|
"@id": "https://w3id.org/security#DataIntegrityProof"
|
|
},
|
|
"challenge": "https://w3id.org/security#challenge",
|
|
"created": {
|
|
"@id": "http://purl.org/dc/terms/created",
|
|
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
},
|
|
"domain": "https://w3id.org/security#domain",
|
|
"expires": {
|
|
"@id": "https://w3id.org/security#expiration",
|
|
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
|
},
|
|
"nonce": "https://w3id.org/security#nonce",
|
|
"cryptosuite": "https://w3id.org/security#cryptosuite",
|
|
"proofValue": {
|
|
"@id": "https://w3id.org/security#proofValue",
|
|
"@type": "https://w3id.org/security#multibase"
|
|
},
|
|
"verificationMethod": {
|
|
"@id": "https://w3id.org/security#verificationMethod",
|
|
"@type": "@id"
|
|
},
|
|
"proofPurpose": {
|
|
"@id": "https://w3id.org/security#proofPurpose",
|
|
"@type": "@vocab"
|
|
},
|
|
"assertionMethod": {
|
|
"@id": "https://w3id.org/security#assertionMethod",
|
|
"@type": "@id"
|
|
},
|
|
"authentication": {
|
|
"@id": "https://w3id.org/security#authenticationMethod",
|
|
"@type": "@id"
|
|
},
|
|
"capabilityInvocation": {
|
|
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
|
"@type": "@id"
|
|
},
|
|
"capabilityDelegation": {
|
|
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
|
"@type": "@id"
|
|
},
|
|
"keyAgreement": {
|
|
"@id": "https://w3id.org/security#keyAgreementMethod",
|
|
"@type": "@id",
|
|
"@container": "@set"
|
|
}
|
|
}
|
|
}
|