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

Version 0.6.2: ECDSA/ ECDH interface and Workflow enhancements #36

Merged
merged 17 commits into from
Nov 3, 2024

Conversation

HLRichardson-Git
Copy link
Owner

Issues encorporated:

Description of changes:

This PR updates the library's version from 0.6.1 to 0.6.2, implementing several enhancements to the ECDSA interface, flexible hashing options, build consistency improvements, and continuous integration/ continuous development (CI/CD) setup. Here is a list of the major changes:

  1. ECDSA Interface Updates

    • Added peerPublicKey as a parameter for ECDSA signature verification, allowing for improved control and usability in ECDSA.
    • Refactored ECC algorithms to utilize dedicated ECDSAPublicKey and ECDHPublicKey objects, enhancing code organization and clarity.
    • Introduced a HashAlgorithm enum to the ECDSA class, supporting flexible hash algorithm selection, including a None option as default so our testing did not have to be changed.
  2. Build and Test Workflow Improvements

    • Implemented a new GitHub Actions CI workflow for automated builds and tests to maintain code quality across future changes.
    • Updated the CI configuration to trigger workflows on all release branches, giving maintainers more confidence a PR is at least passing the unit tests.
  3. Documentation and Metadata Updates

    • Updated the README to reflect changes to the ECDSA interface and provide example code.
    • Updated the changelog in CHANGES to list the changes introduced here.
    • Added mirzaim to the special thanks section of AUTHORS.md.

Release notes:

  • Adds peerPublicKey as parameter for ECDSA signature verification
  • Adds ECDSAPublicKey and ECDHPublicKey to be used for ECC public keys in place of old Point class
  • Adds HashAlgorithm enum as parameter to ECDSA signature generation/ verification to select hash to be used
  • Refactors ECDH to force user to pass ECDHPublicKey as parameter to compute shared secret for simplicity
  • Implements CI/CD GitHub action workflow to run unit tests on push/PR to main or release branches

@HLRichardson-Git HLRichardson-Git merged commit 18e2b87 into main Nov 3, 2024
2 checks passed
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.

2 participants