baseline icon indicating copy to clipboard operation
baseline copied to clipboard

BPISubject `publicKey` as an object for BRI-3

Open Therecanbeonlyone1969 opened this issue 2 years ago • 2 comments

Overview

publicKey used in the BPISubject should be a key-value object (as a map) to allow for more than one public key to be associated with a BPISubject e.g.

[publicKey, {keyAlg, keyType}]

Reference

  • Issue #488

Assumptions

-More than 1 pubkey per BPISubject

Therecanbeonlyone1969 avatar Sep 15 '22 17:09 Therecanbeonlyone1969

Hi @Therecanbeonlyone1969

Could you please provide some details on the KV {keyAlg, keyType}. What are the possible values that we can hold in these keys?

Manik-Jain avatar Sep 22 '22 14:09 Manik-Jain

Hi @Therecanbeonlyone1969

Could you please provide some details on the KV {keyAlg, keyType}. What are the possible values that we can hold in these keys?

Sure. each publicKey must minimally be associated with a keyRepresentation e.g. JWK (JSON Web Key), base64 and keyAlg e.g. secp256k1 or ed25519 @Manik-Jain

Therecanbeonlyone1969 avatar Sep 22 '22 16:09 Therecanbeonlyone1969

2023-01-26 SRI-3 call - Decision is to wait with implementation until we finish the milestone 3 at least. We just assume the PK stored currently is of a single type. We ll revisit as soon as milestone 3 is done.

ognjenkurtic avatar Jan 26 '23 15:01 ognjenkurtic