nuts-foundation / nuts-node

The reference implementation of the Nuts specification. A decentralized identity network based on the w3c ssi concepts with practical functionality for the healthcare domain.
https://nuts-foundation.gitbook.io
GNU General Public License v3.0
23 stars 15 forks source link

Support fine grain control of encryption key algorithms #1948

Open woutslakhorst opened 1 year ago

woutslakhorst commented 1 year ago

https://www.sogis.eu/documents/cc/crypto/SOGIS-Agreed-Cryptographic-Mechanisms-1.2.pdf specifies that only RSA keys may be used for asymmetric encryption.

The node currently has code support for RSA and EC, but uses EC by default. There's no option to create RSA keys via the API.

This option should be added so parties can generate RSA encryption keys when required to conform to SOGIS (and others)

woutslakhorst commented 1 month ago

still relevant