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

Fails to decode unencrypted RSA private key from PEM encoded key pair #1658

Closed
ldclakmal opened this issue Jul 15, 2021 · 0 comments · Fixed by ballerina-platform/module-ballerina-crypto#232
Assignees
Labels
Area/Security Issues related to stdlib security module/crypto Team/PCM Protocol connector packages related issues Type/Bug

Comments

@ldclakmal
Copy link
Member

Description:
crypto:decodeRsaPrivateKeyFromKeyFile(string keyFile, string? keyPassword = ()) returns PrivateKey|Error; API fails to decode unencrypted RSA private key from PEM encoded key pair file which has both private key and public key information.

Affected Versions:
SwanLake Beta 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Security Issues related to stdlib security module/crypto Team/PCM Protocol connector packages related issues Type/Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant