Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Encryption key type should be determined based on the connection #1008

Open
Moopli opened this issue Dec 20, 2019 · 0 comments
Open

Encryption key type should be determined based on the connection #1008

Moopli opened this issue Dec 20, 2019 · 0 comments

Comments

@Moopli
Copy link
Contributor

Moopli commented Dec 20, 2019

Two agents communicating over a connection should use encryption key types which are:

  • Consistent with their chosen envelope format
  • Found within their DID doc
  • Found within the other party's DID doc

This can be a value determined once, when the connection is created, and cached in the connection record, this can be determined live whenever a message is sent, this can be recalculated whenever a DID doc updates, etc.

This can be used to enforce requirements on key type (eg for regulatory purposes) since an agent which has requirements can refrain from presenting non-compliant key types on their DID docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant