Skip to content

Identity back-endorsement becomes per-identity-type - #8401

Open
Max (maxtropets) wants to merge 1 commit into
microsoft:mainfrom
maxtropets:f/multisign-part-4
Open

Max (maxtropets) wants to merge 1 commit into
microsoft:mainfrom
maxtropets:f/multisign-part-4

Conversation

@maxtropets

Copy link
Copy Markdown
Collaborator

More of #7848.

  • Pure backwards-compatible table schema change.
  • Handling all CLASSICAL as before, PQ isn't considered until further changes to previous_service_identity config are made - we still expect a single cert with EC key.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The persisted schema and disaster-recovery verification path are security-sensitive and the new PQ-filtering behavior remains untested.

Pull request overview

Updates back-endorsement storage to support per-identity-type entries, advancing #7848 while preserving CLASSICAL behavior.

Changes:

  • Replaces the singleton endorsement table with an identity-keyed map.
  • Updates CLASSICAL readers, writers, recovery scanning, and tests.
  • Defers PQ endorsement verification.

Custom instructions used: .github/copilot-instructions.md, .github/instructions/reviewing.instructions.md

File summaries
File Description
src/service/tables/previous_service_identity.h Defines the identity-keyed endorsement table.
src/node/test/snapshotter.cpp Updates snapshot fixtures for CLASSICAL keys.
src/node/rpc/network_identity_accessors_impl.h Reads CLASSICAL endorsements from the map.
src/node/recovery_snapshot_ledger.h Filters recovery scanning to CLASSICAL entries.
src/node/internal_tables_access.h Updates CLASSICAL endorsement access and writes.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/node/recovery_snapshot_ledger.h
@maxtropets
Max (maxtropets) marked this pull request as ready for review September 18, 2026 11:53
@maxtropets
Max (maxtropets) requested a review from a team as a code owner September 18, 2026 11:53
@achamayou Amaury Chamayou (achamayou) added the run-long-test Run Long Test job label Sep 18, 2026
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.

3 participants