derecalliance / protobufs

The format of DeRec messages.
Apache License 2.0
2 stars 0 forks source link

Optionally allow more than one secret to share same encryption context #22

Open jorabin opened 7 months ago

jorabin commented 7 months ago

There have been a number of exchanges on this topic, contained as proposals and comments in Proposal for Simplification of Communication Relationship between Sharer and Helper

Outside of the discussion in that document we have agreed to introduce a key rotation #18 mechanism, the precise details of which are currently TBD, but which - in any case - renders some of the points of discussion in that document moot. The remaining key issue is summarized below.

Summary

TBB wants it to be possible for a sharer to have more than one secret with any helper without the need to re-pair (and hence undertake KYC multiple times for the same helper) and without the need for a single secret to contain other secrets.

Proposed Resolution

TBB proposes that the protobuf definitions be amended to provide for two modes of operation: one-secret-per-encryption-context (same as it works today) or multiple-secrets-per-encryption-context.

To achieve this:

Conformance

Implementation of the single secret mode of working is REQUIRED, multi-secret mode is OPTIONAL. An implementation MUST signal that it doesn’t support the requested mode by replying with the error code multi-secret mode not supported .