facebook / akd

An implementation of an auditable key directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating and storing persistent VRF public and secret keys.

Jasleen1 opened this issue · comments

Now that we have a PR implementing the VRFs, we should find a way to securely generate, store and access the VRF secret key and to publish a VRF public key.

The vrf crate could probably support key generation but still it needs to be stored somewhere.

Update: Will be moved to a trait which will be implemented by users of the library (since key storage varies widely by implementation constraints)

Github offers encrypted secrets that can be used with Github actions. Did you mean a solution for key generation/storage/access for the long term?

Github offers encrypted secrets that can be used with Github actions. Did you mean a solution for key generation/storage/access for the long term?

Yeah no, it's more where the VRF key would live which is specific to each deployment (my deployment may not want to talk to github, or even have network access, etc). It's better as a trait which is left to whoever is going to utilize the lib to implement where to get the VRF key from.