Skip to content

Commit

Permalink
Merge branch 'main' into ottomorac-add-did-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomorac authored Jan 7, 2025
2 parents eab722c + 12bc64c commit 059537f
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 79 deletions.
15 changes: 13 additions & 2 deletions methods/key.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,18 @@
"hostingNotRequired": true,
"hostedCentrally": false,
"hostedDecentrally": false,
"dataProtectionCompliant": false,
"cryptographyPrivacyPreserving": false,
"cryptographyGovernmentApproved": true,
"dataProtectionCompliant": false
"cryptographyGovernmentApprovedARE": false,
"cryptographyGovernmentApprovedAUS": false,
"cryptographyGovernmentApprovedBRA": false,
"cryptographyGovernmentApprovedCAN": false,
"cryptographyGovernmentApprovedCHN": false,
"cryptographyGovernmentApprovedEU": false,
"cryptographyGovernmentApprovedIND": false,
"cryptographyGovernmentApprovedISR": false,
"cryptographyGovernmentApprovedJPN": false,
"cryptographyGovernmentApprovedKOR": false,
"cryptographyGovernmentApprovedRUS": false,
"cryptographyGovernmentApprovedUSA": false
}
15 changes: 13 additions & 2 deletions methods/peer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,18 @@
"hostingNotRequired": true,
"hostedCentrally": false,
"hostedDecentrally": false,
"dataProtectionCompliant": false,
"cryptographyPrivacyPreserving": false,
"cryptographyGovernmentApproved": true,
"dataProtectionCompliant": false
"cryptographyGovernmentApprovedARE": false,
"cryptographyGovernmentApprovedAUS": false,
"cryptographyGovernmentApprovedBRA": false,
"cryptographyGovernmentApprovedCAN": false,
"cryptographyGovernmentApprovedCHN": false,
"cryptographyGovernmentApprovedEU": false,
"cryptographyGovernmentApprovedIND": false,
"cryptographyGovernmentApprovedISR": false,
"cryptographyGovernmentApprovedJPN": false,
"cryptographyGovernmentApprovedKOR": false,
"cryptographyGovernmentApprovedRUS": false,
"cryptographyGovernmentApprovedUSA": false
}
15 changes: 13 additions & 2 deletions methods/web.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,18 @@
"hostingNotRequired": false,
"hostedCentrally": true,
"hostedDecentrally": false,
"dataProtectionCompliant": false,
"cryptographyPrivacyPreserving": false,
"cryptographyGovernmentApproved": true,
"dataProtectionCompliant": false
"cryptographyGovernmentApprovedARE": false,
"cryptographyGovernmentApprovedAUS": false,
"cryptographyGovernmentApprovedBRA": false,
"cryptographyGovernmentApprovedCAN": false,
"cryptographyGovernmentApprovedCHN": false,
"cryptographyGovernmentApprovedEU": false,
"cryptographyGovernmentApprovedIND": false,
"cryptographyGovernmentApprovedISR": false,
"cryptographyGovernmentApprovedJPN": false,
"cryptographyGovernmentApprovedKOR": false,
"cryptographyGovernmentApprovedRUS": false,
"cryptographyGovernmentApprovedUSA": false
}
17 changes: 14 additions & 3 deletions methods/webvh.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,21 @@
"resolvableGlobally": true,
"history": true,
"historySigned": true,
"hostedNot": false,
"hostingNotRequired": true,
"hostedCentrally": true,
"hostedDecentrally": false,
"dataProtectionCompliant": false,
"cryptographyPrivacyPreserving": false,
"cryptographyGovernmentApproved": true,
"dataProtectionCompliant": false
"cryptographyGovernmentApprovedARE": false,
"cryptographyGovernmentApprovedAUS": false,
"cryptographyGovernmentApprovedBRA": false,
"cryptographyGovernmentApprovedCAN": false,
"cryptographyGovernmentApprovedCHN": false,
"cryptographyGovernmentApprovedEU": false,
"cryptographyGovernmentApprovedIND": false,
"cryptographyGovernmentApprovedISR": false,
"cryptographyGovernmentApprovedJPN": false,
"cryptographyGovernmentApprovedKOR": false,
"cryptographyGovernmentApprovedRUS": false,
"cryptographyGovernmentApprovedUSA": false
}
67 changes: 61 additions & 6 deletions schemas/traits.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,75 @@
"title": "Decentrally Hosted",
"description": "DID document is stored, managed, and resolved through a distributed infrastructure, typically implemented using decentralized ledger technologies (DLT) or peer-to-peer networks."
},
"dataProtectionCompliant": {
"type": "boolean",
"title": "Data Protection-compliant",
"description": "A DID method's ability to fully adhere to data protection regulation requirements, ensuring comprehensive protection of personal data and individual privacy rights. For example: GDPR (EU), LGPD (Brasil), DPDP (India)."
},
"cryptographyPrivacyPreserving": {
"type": "boolean",
"title": "Privacy Preserving Cryptography",
"description": "A DID method's ability to use cryptographic techniques that enable identity verification and authentication while minimizing the disclosure of sensitive personal information. For example: privacy techniques as zk-snarks and zk-starks."
},
"cryptographyGovernmentApproved": {
"cryptographyGovernmentApprovedARE": {
"type": "boolean",
"title": "Government-approved Cryptography by two Countries",
"description": "A DID method that implements cryptographic algorithms and protocols explicitly validated and recommended by two national cryptographic standards bodies. For example: NIST and ENISA."
"title": "United Arab Emirates TDRA-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"dataProtectionCompliant": {
"cryptographyGovernmentApprovedAUS": {
"type": "boolean",
"title": "Data Protection-compliant",
"description": "A DID method's ability to fully adhere to data protection regulation requirements, ensuring comprehensive protection of personal data and individual privacy rights. For example: GDPR (EU), LGPD (Brasil), DPDP (India)."
"title": "Australia ASD-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedBRA": {
"type": "boolean",
"title": "Brasil ICP-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedCAN": {
"type": "boolean",
"title": "Canada CSE-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedCHN": {
"type": "boolean",
"title": "China SM-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedEU": {
"type": "boolean",
"title": "European Union ETSI/ENISA-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedIND": {
"type": "boolean",
"title": "India CCA-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedISR": {
"type": "boolean",
"title": "Israel SCALPEL-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedJPN": {
"type": "boolean",
"title": "Japan CRYPTREC-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedKOR": {
"type": "boolean",
"title": "South Korea KCMVP-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedRUS": {
"type": "boolean",
"title": "Russia GOST-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
},
"cryptographyGovernmentApprovedUSA": {
"type": "boolean",
"title": "United States of America NIST-approved Cryptography",
"description": "A DID method that implements cryptographic algorithms and protocols that are explicitly validated and recommended the national cryptographic standards body."
}
},
"required": [
Expand Down
Loading

0 comments on commit 059537f

Please sign in to comment.