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

[WIP] [DRAFT] COSE back-endorsements #6510

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

maxtropets
Copy link
Contributor

@maxtropets maxtropets commented Sep 27, 2024

Closes #6500

@maxtropets maxtropets self-assigned this Sep 27, 2024
@maxtropets maxtropets changed the title [WIP] [DRAFR] COSE back-endorsements [WIP] [DRAFT] COSE back-endorsements Sep 27, 2024
@maxtropets maxtropets added the run-long-test Run Long Test job label Sep 30, 2024
ccf::Tables::PREVIOUS_SERVICE_IDENTITY_ENDORSEMENT);
try
{
const auto pubkey = ccf::crypto::public_key_pem_from_cert(
Copy link
Contributor Author

@maxtropets maxtropets Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To discuss if this must be moved to the final recovery TX, or can stay in here.

Pros for leaving it as is

  • simplifies chain lookup

Cons

  • not really safe to endorse smth with the service key until members have signed off service opening

However

  • If recovery isn't completed - the incomplete endorsement will be lost
  • During recovery we won't produce endorsements anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-long-test Run Long Test job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Service endorsements as COSE during DR
1 participant