Skip to content

Conversation

@Sukuna0007Abhi
Copy link
Contributor

Implements support for CoTS (Concise Trust Anchor Store) in the CoSERV package as specified in draft-howard-rats-coserv-02.

Changes:

  • Added CoTSStmt struct to quads.go with authorities and CoTS fields
  • Updated ResultSet to include TAS field (CBOR field 4) for CoTS statements
  • Implemented AddCoTS() method to allow adding CoTS statements to ResultSet
  • Added comprehensive unit tests for CoTS functionality
  • Removed TODO comment for CoTS in resultset.go

This implementation follows the CoSERV specification trust-anchors structure:

  trust-anchors = (
    &(akq: 3) => [ * ak-quad ]
    &(tas: 4) => [ * cots-stmt ]
  )

Fixes #201

Implements support for CoTS (Concise Trust Anchor Store) in the CoSERV package as specified in draft-howard-rats-coserv-02.

Changes:
- Added CoTSStmt struct to quads.go with authorities and CoTS fields
- Updated ResultSet to include TAS field (CBOR field 4) for CoTS statements
- Implemented AddCoTS() method to allow adding CoTS statements to ResultSet
- Added comprehensive unit tests for CoTS functionality
- Removed TODO comment for CoTS in resultset.go

This implementation follows the CoSERV specification trust-anchors structure:
  trust-anchors = (
    &(akq: 3) => [ * ak-quad ]
    &(tas: 4) => [ * cots-stmt ]
  )

Fixes veraison#201

Signed-off-by: Sukuna0007Abhi <[email protected]>
@Sukuna0007Abhi
Copy link
Contributor Author

ready for review sir @thomas-fossati @yogeshbdeshpande @setrofim thanks

Signed-off-by: Sukuna0007Abhi <[email protected]>
@yogeshbdeshpande
Copy link
Contributor

Added @paulhowardarm for visibility ONLY...

@Sukuna0007Abhi
Copy link
Contributor Author

Pls review sir @paulhowardarm sir @thomas-fossati

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for CoTS

2 participants