Skip to content

Fix pemToDer() return type#364

Merged
cjbarth merged 1 commit intonode-saml:masterfrom
cjbarth:pemToDer-bugs
Jul 29, 2023
Merged

Fix pemToDer() return type#364
cjbarth merged 1 commit intonode-saml:masterfrom
cjbarth:pemToDer-bugs

Conversation

@cjbarth
Copy link
Contributor

@cjbarth cjbarth commented Jul 27, 2023

A DER-encoded certificate should be in binary format. This fix is technically a breaking change, but it is also a bug fix. It is unlikely that many are using pemToDer() on their own, so the risk of automatic breaking is low with a semver-minor release.

Copy link
Collaborator

@LoneRifle LoneRifle left a comment

Choose a reason for hiding this comment

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

Lgtm.

@cjbarth cjbarth merged commit 06cab68 into node-saml:master Jul 29, 2023
@cjbarth cjbarth deleted the pemToDer-bugs branch July 29, 2023 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants