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 stream overloads for key classes #602

Conversation

rwalworth
Copy link
Contributor

Description:
This PR allows PublicKey and PrivateKey classes to have their DER-encoded hex strings printed directly without having to call toStringDer(). This more closely matches how other SDKs can print keys.

Related issue(s):

Fixes #590

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@rwalworth rwalworth added the New Feature A new feature, service, or documentation. Major changes that are not backwards compatible. label Nov 10, 2023
@rwalworth rwalworth self-assigned this Nov 10, 2023
@rwalworth rwalworth linked an issue Nov 10, 2023 that may be closed by this pull request
Copy link
Contributor

@gsstoykov gsstoykov left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@deyanzz deyanzz left a comment

Choose a reason for hiding this comment

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

LGTM.

@deyanzz deyanzz merged commit 7ccb23b into main Nov 13, 2023
@deyanzz deyanzz deleted the 00590-possible-inconsistency-between-ed-keys-produced-with-other-sdks branch November 13, 2023 15:35
@rwalworth rwalworth mentioned this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature A new feature, service, or documentation. Major changes that are not backwards compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible inconsistency between ED keys produced with other SDKs
3 participants