Closed jmandel closed 4 years ago
The longform will be reworked in future iterations. The sidetree longform spec is also changed and the latest spec is implemented (https://github.com/microsoft/VerifiableCredentials-Verification-SDK-Typescript/commit/5a9b2fb917cbde72ba8f75ed513f6723b330fa37).
When provisioning keys for a commit/reveal pair...
https://github.com/microsoft/VerifiableCredentials-Verification-SDK-Typescript/blob/851f9cfdb1de13190d1ac268f62b578cd30b1371/lib/ApiCrypto/LongFormDid.ts#L99
I believe the sidetree implementation expects these to be
secp256k1
public keys, which wouldn't be compatible with a privateAES-GCM
keyIt'll be important to return the associated private key (or maybe following the keyStore pattern, write these keys to a relevant store)