mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-02 21:53:08 +00:00
* add deps * complete keystore, move code * remove esling * rename command * rename export * fix bug * rollback example * rollback example[2] * improve compatibility with nwaku * add packages * update example * add keystore.spec.ts * up node, add whitelist words * add types * try break test * add test * add more tests * add helper functions, update example, add tests * fix types * fix test * add logs * fix build of the object * use different approach to catch errors * run one test * anotehr one * fix validation error * apply last fixes * update example * up * ignroe generated files * up * up * fix test * test * fix * up * add prettier ignore * up * fix lint * up * last
43 lines
872 B
JSON
43 lines
872 B
JSON
{
|
|
"$ref": "#/definitions/Credential",
|
|
"definitions": {
|
|
"Credential": {
|
|
"type": "object",
|
|
"properties": {
|
|
"crypto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cipher": {
|
|
"type": "string"
|
|
},
|
|
"cipherparams": {
|
|
"type": "object"
|
|
},
|
|
"ciphertext": {
|
|
"type": "string"
|
|
},
|
|
"kdf": {
|
|
"type": "string"
|
|
},
|
|
"kdfparams": {
|
|
"type": "object"
|
|
},
|
|
"mac": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"cipher",
|
|
"cipherparams",
|
|
"ciphertext",
|
|
"kdf",
|
|
"kdfparams",
|
|
"mac"
|
|
]
|
|
}
|
|
},
|
|
"required": ["crypto"]
|
|
}
|
|
}
|
|
}
|