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

Create CertificatePrivateKey class instead of combining into CertificateBundle #150

Closed

Conversation

ghost
Copy link

@ghost ghost commented Mar 22, 2023

Currently, we return CertificateBundle for both downloadCertificate and getCertificatePrivateKey, despite not having any shared data. Move the private key data into its own class. This is a breaking change. Fixes #118. We'll postpone merging until the next major version; if we merge it now, our next release must be breaking, even if the other changes are only patches or minor.

@ghost ghost added the enhancement label Mar 22, 2023
@ghost ghost self-assigned this Mar 22, 2023
@ghost ghost self-requested a review March 22, 2023 05:57
@DXTimer DXTimer mentioned this pull request Dec 15, 2023
@ggalmazor ggalmazor force-pushed the change/create-separate-class-for-certificate-private-key branch from 2247e80 to 57305f7 Compare March 12, 2024 10:12
@ggalmazor
Copy link
Contributor

Closing in favor of #171

I wanted to reduce the number of breaking changes introduced by this fix, so I avoided changing the getters in CertificateBundle that were not affected by the privateKey change we need to introduce

@ggalmazor ggalmazor closed this Mar 12, 2024
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.

Change Certificates
1 participant