-
-
Notifications
You must be signed in to change notification settings - Fork 952
BEGIN ENCRYPTED PRIVATE KEY is not supported #1535
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
Comments
Hi, it is supported on the current |
@Rob-Hague Thanks it's working with this version. |
Cool, yep would like to do it just need to get the CI -> nuget link more automated |
2024.2.0 published on nuget - closing now |
Uh oh!
There was an error while loading. Please reload this page.
The documentation says "BEGIN ENCRYPTED PRIVATE KEY" is supported private key format. But when I use the following key the exception "Key 'ENCRYPTED' is not supported." is thrown.
When looking at the source code of "PrivateKeyFile.cs" it also looks like this simply is not supported:
First of all the variable keyName will contain "ENCRYPTED" and there is no case for that in the switch statement. So it wil throw the mentioned exception. Also if it was going to match with "RSA" the passPhrase would not be used?
So either the regex is wrong and extracts the wrong values or the implementation is simply missing and not true according to the documentation.
I'm using the version "2024.1.0" btw.
The text was updated successfully, but these errors were encountered: