Skip to content

COSE signatures and verification in CCF #6449

@maxtropets

Description

@maxtropets

COSE signatures for Merkle root must be stored for each signature transactions.

Raw signature must be kept too, so existing tooling keeps working for new transactions.

### Tasks
- [x] New schema
- [x] Sign and store in the new tables
- [x] Pass key info to protected headers
- [x] COSE signature verification during [replication](https://github.com/microsoft/CCF/blob/main/src/node/history.h#L701)
- [x] COSE signature verification during recovery (turns out to be the same code as for replication)
- [x] COSE signature in Python package
- [x] Perf measurements

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions