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

Fix generate keygen so that public keys included required fields #2085

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

brianaydemir
Copy link
Contributor

@brianaydemir brianaydemir commented Mar 7, 2025

config.GeneratePrivateKey is documented as generating a PEM-encoded key, so I've updated the code underlying generate keygen to use what seems to be the function for reading such PEM-encoded keys.

(There seem to be multiple functions for "reading" private keys, so I went with calling the function whose implementation most directly seems to address the problems of #2084.)

@brianaydemir brianaydemir added bug Something isn't working client Issue affecting the OSDF client labels Mar 7, 2025
@brianaydemir brianaydemir added this to the v7.15 milestone Mar 7, 2025
@brianaydemir brianaydemir linked an issue Mar 7, 2025 that may be closed by this pull request
@brianaydemir brianaydemir marked this pull request as ready for review March 7, 2025 21:53
@brianaydemir
Copy link
Contributor Author

I did confirm that my updates to the unit tests failed without the changes made in this PR.

@bbockelm bbockelm merged commit 6bca0e6 into PelicanPlatform:main Mar 8, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working client Issue affecting the OSDF client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pelican generate keygen creates invalid public keys
2 participants