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

Add support to COSE_Countersignature (RFC 9338) #172

Merged
merged 4 commits into from
Sep 30, 2023

Commits on Sep 18, 2023

  1. Added support to countersignatures as specified by RFC 9338.

    Signed-off-by: Guilherme Balena Versiani <guibv@mailbox.org>
    balena committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    22faed2 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. * Added references to countersignatures at README.md;

    * Syntax sugar while passing parents as references at `Sign` and `Verify` functions;
    * Added countersignatures usage examples to `example_test.go`;
    * Applied code improvements as suggested by @shizhMSFT.
    
    Signed-off-by: Guilherme Balena Versiani <guibv@mailbox.org>
    balena committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    a90b6e2 View commit details
    Browse the repository at this point in the history
  2. Added short comment.

    Signed-off-by: Guilherme Balena Versiani <guibv@mailbox.org>
    balena committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    b287c6a View commit details
    Browse the repository at this point in the history
  3. * Passing countersignatures as reference at unprotected headers;

    * Returning either reference to countersignatures or slice of countersignature references at `UnmarshalCBOR` header functions;
    * Adjusted unit tests accordingly.
    
    Signed-off-by: Guilherme Balena Versiani <guibv@mailbox.org>
    balena committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    64e7f90 View commit details
    Browse the repository at this point in the history