You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Relevant issue(s)
Resolves#2711#2808
## Description
This change introduces doc encryption. Upon creation of a document the
user can pass the encryption flag which will signal to db to create a
new symmetric key using AES-GCM and will store it locally.
With the encryption flag all doc fields (deltas) being stored in the DAG
encrypted. The datastore will still store data as plain text, as for
it's encryption we can use encryption-at-rest.
Decryption is not used at the moment, as it is relevant only p2p
environment and we don't have yet key exchange mechanism. All peers sync
encrypted data.
This PR also adds 2 new parameters to GraphQL `create_` mutation:
1. `inputs`: a list of documents to be created
2. `encrypt`: flag that indicates if document(s) need to be encrypted.
At the moment gql only supports creation of a single document at a time.
It should be possible to create multiple document, like this:
Note: creation of multiple documents is already supported through CLI.
The text was updated successfully, but these errors were encountered: