Skip to content

Commit

Permalink
Merge pull request #75 from ManudL2000/upd/mldsa44
Browse files Browse the repository at this point in the history
Upd/mldsa44
  • Loading branch information
andrea-dintino authored May 16, 2024
2 parents bbfabf4 + ef95437 commit 9d369a8
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/did_security.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,27 @@ This class represents a linked data signature verification key. See the [Dilithi
"publicKeyBase58": "HKJdoS2NDCYGEVVMNDAVwHiEMjcYphbeeqshLtZJ6gqeFQjEKxXzB5X7tKFqXqVjqHRf8vCQoUVRUPifATqN7bosyBPUJsytYi6pwtvpMQJ9cakZzmhZnbeh8yJd2hxZNK3yTMNpQ6Y1rymzPGxyTZ3syDPLVk8HeHeaH399gabYfjnj7knM6cfmfyyZf6Vz5JmbCtPpAGpyaGPBtixHhMc8n1b9zEiXeaY4JpkjPVATM45pYo6di2ZNfhQh72VrhaVPZ8iLiPy2YQzoRRDfWz8byoVNqBDHS48uaEQ3tXbEHxcbbUfyoXfR7hh6s43ZKtBLgR2FuxTYwvJrji2e2BmC6bs8esNMfMNsaNWQxygf9R21iZAo7kvYU318CL7Tm8raDcGsiXzB24r9XWzCs7fFEYfQjWppcVwqGG7jdMr867KaxMBq1TpkSibhtYzJ7X3zLhEZge2hmD16Wa7vBh7hdwoRrq5uS7HRYzD9cXR5WVn7M39NcHqLzio9wub66YETi5pgbdD7EKwxEDN7WPSiVvjLzqGVpMhGwzKPpD7dBQof3bdDywxpzGmzwi2wbpuHDBwRceR7zy8TVdS1oDdGXkvjPQKrLXjwZMpWY3a31CEtxLp56Xqp5m12fx5L3d46ET7GdQDHE18inNPg1qNdjgJkbJc2X6qVFB6NWgQpAng4htiZSrNTLeTbbCik5xLaBUdBWoKiHkm3c12Xh9QvEEZq9xKZNEiDBsC6vnH2jcz55kfeJyKj9872hXhHe3MgfpFTm7aVWLghFj48YMwF7v8twUuEVmvVyLSWTkrRjEgnteELXUCdfbnjRw9H2ykbYK1eB8Q3cM6T6P94W3Qxy8axHMKmzCLVVTozXiED7vQS6vr7fERzrA4QRWbzbYc9utAhJewBaDGiLUuLQze5NLBLmGQEw6jCj9UtLj9sikzc6fSMYKrE9DQ2qXMN7ZGE5vfPd3y24acPGviezmcvTYAK3JnYsDso6UmZh5RH7BERXgX8R978hYYD1AWpjDcnV5rJp59cSTGWV26DCdhr1YrnLWtAAEsooRzYwoeU23dpCrUVJdSSQMp3QDF26hGDJ3ed6tP2jSW7ZvZQYPfjE7LinQfuLhLS282uoRxFopEJ8A5SP7ofpqDEayhPsfvYbHZqv5tzuvAP6nJyKd2Be1FuLzjszBHbms2Hc5Z6JYt48xz9UDawd1UJqkcWbk8YehoEyETr4DXaDErnmmKYk5o216xJK3gdHpvPB2uxQHfGWmBx9Gsrhr7xT82jdLGdpJ1iYA4CU4KcG3PNSwUonsSNpQfb9e9CTwDoGZaDqTs283WGn1ZG1dDsPzdTMkUYRc9TJPSgeoatmjad7mM1o2wsYCvZbEbU1ZGP21rayoWif7SZSRRUrtSRtWj75buTESf5C5rr7xFQkepuuEdmm2E4FwypQpQHxGVNJxAeaFTRtTu7LK6conHmQawaXM76zE2YqiVadpfBwqpQAcq8jSTRHSsoawon2ESaRd4yvcNKfu3HkJ4MJjfySQzwrFf2Ugyt2dfat62AcVF2RN1YukKSgWgaD7VmZvkM4iQg5pEtJyEsf3D6K4rqKH1UJBvYdCSvCbeYvS91JNNR9y37X35famBXkA6XLndLRMUqYd31CXbBmaPRnHnDmoQ2Q6NcXtAKUt2DSf2U9tVv4tCBqCbD8wAxwjAMXLbSeDWvcDjnLxGDPyroNFeKP3YZfZierDpEMbgdxpfoiWd6dhYRvy6mekDSLQftb45n3CK951oJjDrdi1V4if9FkwuH"
}
```
### Mldsa44VerificationKey

ML-DSA-44 is an update of the Dilithium algorithm implemented by NIST, see the specification in [FIPS 204](https://csrc.nist.gov/pubs/fips/204/ipd) for more details.
This class represents a linked data signature verification key.


**Status**:
*Stable*
**Expected properties**:
*id, type, controller, publicKeyBase58*

**Example**:

```json
{
"id": "did:example:123#mldsa44_public_key",
"type": "Mldsa44VerificationKey",
"controller": "did:example:123",
"publicKeyBase58": "8cvh2985w2mdFnQH6nz7HMVeSxKMetizH5piuYoMpv86Mo4ibKujLBitSjT1MdSuJ1sR1zxsKXe6NjcQwac1ohUtGGf8swFgBi9cNVqfJw9r8WLfZ8uBoe2ehKS5DCjtNEQqF7sDvb7DJLnHPtDnhZQi32Hm6sAPgH2BCLPE7B56kMPvwFUDmrf1bLcYKdfn7mnkw8Q5rDXQRHSTPWisDACDxporJPK33CMPggz3DuWKv783vpx8fTmXKZgQXakiyBHYf2Bv88f4D9K8fdd2NvjQYM1hk5nG9BVixhKVAdgf1hzrEKkccnUFuaa2mna5iUkFEZjGCgWGzY8S62pyNwhR1dEMpMGmRzGqm9gtHEFKbFJ8GA3mAE53mLTDZahMmAjMXn4CAEaBQ6iw2saCQoMHNGzBNWY69r9uCQohv4B2x3EX7ZWEmKnWNCnZDggqAajDV5doqaJxXSeFSq7wfoUZxsewMdUtXeQheYPCJx89RoUr7aerv3gszUvkhH6QtNMUjit8f484YZHLzMxu6PoHwtkbuxC4SRXaWo27FvoqZQCXHRNKQ5b3mGkTfyG5YxFHrhvekrE9TV8UwWnTKhE69k8SbjwTH2AA9BmnAgXt1BmjbPF4zxFBwFeSQfMXS2S69X8zob5xhefQpgzcjNXdzSygiCRTyLqFVzFPdYaewEBXHgjb73XHy5pXPYzsS1XjJbHwYKD899gQjqAMRmWyyduaPEMk7ziaA92QGF6xMqLSATqq1P6KFL3yWXWXXiqRcjnDy8crGmCi3jX23iLjzJebCweY2GHGLBss7dXnDw4oTWNt1TY57x4ioucC7ARk5Zm5MvZHXesWbqPVudyCpPgj7g7RGgE7ozGj1ADcDMfyNzGmAUyW5ycStoJrMUJWM76ourGhdXMNjpiwCpNJhmVJTddhXgQsKLeBKS89bzj23YTKJdhhFKBAxsfQZpCRLn7XbUrNPtqNBGeSZG3ksjMDzAsobG1RyC4S8AyaWt1BThiY2eVxUp6LVNhwSQeQGJ7TeQ4YCbAd8CupVqA14cdCPFUEAfYCnbqYUHRC7nrdTmHRRZzCmeiPZC86bAq6PauWqE3s9wgRPR8huGbMYiSzkM1AX6ZCM9zrVwsk1ZBAHR1jkfrMWhetkoixNxMqCKBbJkszNMQNhjj5P5Tn6gY8cT8dCTuwKuQ5z4176YhdxNktMZZ6uv3A4JkU8oHqyEtbPXaH9CJmM8fPYiFwUYjASREZpfEJkkYMDHTDt7L3WwWyixZqHTzh62FYbMyHUPrEoq596qAnNvGdt4m6kRX92wq7hE5rBq8peH4kXG5yHQqxadMrn3Wt4gj1oSQ7BY43Fsgmdzzjv7twk8422GkDVeigzXDbwoPRdoRMw6hpqQY1n9vrXST9sq5SSSe4QNXA533d9YTEYv6Qwc5jUFrag4AiNdgtAyJ2wAnAzFjXW4WWWKfdYyzs5yKD6ypWWEBG4tepLAnoZ91zG5VtnaJCG9vMxnaSCDb68SLx1rH9rCrfB72udugpnNN5ALaHdhLBJZR9VUHyJaJeVGwfxAEtjJz5nu1ZzPks1YuwpJCKZWKhgkQCyrLABypoCD7EJi4GCB2RBNEzEsE4wVDi4dUNKoasHp8BcrZjx2gKYB3J4W55yuYZdJKhR7jSDFrrcFBJJqtUUW1xnjfHhYA5wG3LxsE9Hkz9aZexvRUH8xxs2zccPcoqW4e2hy7662FBWhdteE8QfccqGcBwk4CSJ5cY28A8SXHVd6B7gWwRkDWTwWgWNuShqoWMkcke"
}
```

### BbsVerificationKey
This class represents a linked data signature verification key. See the [BBS paper](https://identity.foundation/bbs-signature/draft-irtf-cfrg-bbs-signatures.html) for more details.
Expand Down
26 changes: 26 additions & 0 deletions docs/specs/Mldsa44.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"@context": {
"id": "@id",
"type": "@type",
"@protected": true,
"Mldsa44VerificationKey": {
"@id": "https://dyne.github.io/W3C-DID/#mldsa44verificationkey",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"controller": {
"@id": "https://w3id.org/security#controller",
"@type": "@id"
},
"revoked": {
"@id": "https://w3id.org/security#revoked",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"publicKeyBase58": {
"@id": "https://w3id.org/security#publicKeyBase58"
}
}
}
}
}

0 comments on commit 9d369a8

Please sign in to comment.