Crypto Actions
Crypto actions are encrypted messages sent automatically from account to account, often to give the recipient account a new cryptographic secret (key share, key...).
The frontend regularly lists its crypto actions, processes them, and deletes the ones that have been processed.
Right now the only type of crypto action is invitation
,
in which case the encrypted
part decrypts to
the user key share of the box identified by box_id
.
#
Listing One's Crypto ActionsRules:
- account ID must match the one in the access token (you can only list your own crypto actions)
Response:
#
Getting a Specific Crypto ActionRules:
- account ID must match the one in the access token (you can only list your own crypto actions)
Response:
#
Deleting a Crypto ActionRules:
- account ID must match the one in the access token (you can only delete your own crypto actions)
- action with this ID must exist and be owned by the querier's account
Side effects:
- notifications pointing to this crypto action (e.g. auto invitations) will be marked as “used”.
Response if success: HTTP 204 No Content