-
Notifications
You must be signed in to change notification settings - Fork 28
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
pelican generate keygen
creates invalid public keys
#2084
Comments
I'll further note that starting an origin locally does result in a valid public key at |
7.13.1 is affected by this bug. 7.12.4 is not affected. |
In 7.12.4 and earlier, pelican/cmd/generate_keygen.go Lines 71 to 75 in d7aea0e
In 7.13, the command was updated with its own key generation flow, because the server now initializes a directory of private keys. While I'm having trouble groking the code flow, I suspect something like the following got dropped in the process: pelican/config/init_server_creds.go Lines 522 to 533 in d7aea0e
|
It looks like the
pelican generate keygen
command is creating public keys that don't have akid
or analg
field, both of which are required for token verification.From @brianaydemir:
Brian also reports that testing this command with Pelican v7.9.X generates a valid public key, so the fix here should really have a regression test.
The text was updated successfully, but these errors were encountered: