Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out if there is a way to sign attestations with consensus key #40

Open
gjermundgaraba opened this issue Aug 4, 2024 · 1 comment

Comments

@gjermundgaraba
Copy link
Collaborator

Right now attestations are signed in the sidecar with a key that is separate from the validators consensus key. It would be nice if there was a way to move this to the abci implementation and instead use the validators own consensus key.

The reason this would be useful is because currently we need to have a registry (in the configmodule) that maps a validator to the attester id and public key.

If the attestation was instead signed with the consensus key, we could look up the validator directly with the public key and verify the signature directly, with no extra registry step involved.

I currently believe this would need to go through some kind of API in cometBFT, because the validator key is not guaranteed to be available on the machine itself (when using a remote signer).

@gjermundgaraba
Copy link
Collaborator Author

Not needed for now due to #69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant