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

Throw an CryptoException if private key can not found while decoding #86

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

normanmaurer
Copy link
Member

Motivation:

We should better throw a CryptoException directly if we can not find the private key while decoding. At the moment we throw a NPE which is kind of confusing.

Modifications:

Directly throw a CryptoException

Result:

Less confusing exception

Motivation:

We should better throw a CryptoException directly if we can not find the private key while decoding. At the moment we throw a NPE which is kind of confusing.

Modifications:

Directly throw a CryptoException

Result:

Less confusing exception
@normanmaurer normanmaurer requested a review from thomdev August 29, 2024 17:50
@normanmaurer normanmaurer added this to the 0.0.15.Final milestone Aug 29, 2024
@normanmaurer normanmaurer merged commit f9f0d06 into main Aug 30, 2024
9 checks passed
@normanmaurer normanmaurer deleted the key branch September 2, 2024 15:54
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