mithril icon indicating copy to clipboard operation
mithril copied to clipboard

Implement Certification of the Mithril Verification Keys in Signer/Aggregator

Open jpraynaud opened this issue 2 years ago • 3 comments

Issue

Implement the certification of the Mithril Verification Keys in the Signer and the Aggregator

Tasks / Depends

  • [ ] Use new key registration from mithril-core
  • [ ] TBD

Depends on #384

jpraynaud avatar Aug 26 '22 07:08 jpraynaud

After a discussion with @abailly-iohk , we thought that it would probably be of interest to keep mithril-core protocol agnostic. In the sense that we should not fit mithril-core to work only with Cardano.

Therefore, it would be better for the parsing of the opcert and kes keys to happen in the Mitrhil client and aggregator. Therefore, the verification that a given key is really associated to a PoolID should happen in the node.

Thoughts @jpraynaud ?

iquerejeta avatar Aug 26 '22 14:08 iquerejeta

I completely agree with keeping mithril-core agnostic and handle the certification of the Mithril Verification Keys and PoolId in mithril-common instead :+1:

We will use the code you created in the NewKeyReg of the PR #433 and adapt it in mithril-common. WDYT?

jpraynaud avatar Aug 26 '22 15:08 jpraynaud

Yes, I was thinking about that. we are only missing computing the poolID from the cold key, but other than that, we have compatibility. I'm now trying to install the node cli in my machine to try and resolve this last missing point 😓

iquerejeta avatar Aug 26 '22 15:08 iquerejeta