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

Add Azure Key example and fix ECDSA OID check #226

Merged
merged 2 commits into from
Sep 16, 2024
Merged

Conversation

jborean93
Copy link
Contributor

Adds an example of using this library with a private key hosted in Azure Key Vault. This also includes a fix for loading an ephemeral ECDSA key from the .NET object by properly checking the curve OID value.

Adds an example of using this library with a private key hosted in Azure
Key Vault. This also includes a fix for loading an ephemeral ECDSA key
from the .NET object by properly checking the curve OID value.
@jborean93
Copy link
Contributor Author

@tmds let me know if you want to split out the OID bugfix into a separate PR so your review on the Azure bits don't hold up your next release.

examples/azure_key/AzureECDsaKey.cs Outdated Show resolved Hide resolved
examples/azure_key/AzureKeyCredential.cs Outdated Show resolved Hide resolved
examples/azure_key/AzureKeyCredential.cs Outdated Show resolved Hide resolved
examples/azure_key/AzureKeyCredential.cs Outdated Show resolved Hide resolved
examples/azure_key/AzureKeyCredential.cs Outdated Show resolved Hide resolved
src/Tmds.Ssh/PrivateKeyCredential.cs Show resolved Hide resolved
@tmds
Copy link
Owner

tmds commented Sep 16, 2024

Great example, @jborean93! I've added some minor suggestions.

README.md Outdated Show resolved Hide resolved
@tmds tmds merged commit 1d63109 into tmds:main Sep 16, 2024
1 check passed
@tmds
Copy link
Owner

tmds commented Sep 16, 2024

Thanks @jborean93!

@jborean93 jborean93 deleted the azure-key branch September 16, 2024 11:18
@jborean93
Copy link
Contributor Author

Thanks for the review

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