Skip to content

jwt::helper::create_public_key_from_rsa_components doesn't exist in vcpkg version? #368

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

Open
M-U-X opened this issue Nov 13, 2024 · 8 comments
Labels

Comments

@M-U-X
Copy link

M-U-X commented Nov 13, 2024

What's your question?

jwt::helper::create_public_key_from_rsa_components jwks example? and how to verify google jwt id tokens?

Additional Context

I've a jwt id token from google, that I obtained through the normal oauth2 sign in with google flow, I want to verify it with this library, google's public keys are ig offered from 3 end points in different formats,
https://www.googleapis.com/oauth2/v1/certs
https://www.googleapis.com/oauth2/v2/certs
https://www.googleapis.com/oauth2/v3/certs

how do I use any of those with the libraries, I was trying the jwks example for the v3 one, but as the title says, the create_public key isn't there

@M-U-X M-U-X added the question label Nov 13, 2024
@Thalhammer
Copy link
Owner

vcpkg is only updated for Releases, the last of which is 0.7.0.
jwt::helper::create_public_key_from_rsa_components didn't exist yet at that time.

Maybe its time for a 0.8.0 or 0.7.1 @prince-chrismc ?

@tezet
Copy link

tezet commented Mar 5, 2025

I would be interested in new release as well for the same reason.

@prince-chrismc
Copy link
Collaborator

@Thalhammer I put together a 0.7.1 but it seems the API key expire for nuget https://github.com/Thalhammer/jwt-cpp/actions/runs/13756659075/job/38465108404#step:3:3, you should be able to restart that failed job after updating it 🙏

@prince-chrismc
Copy link
Collaborator

microsoft/vcpkg#44280

@archetypiarz
Copy link

Last conan release is 0.7.0, could you please release a new version with this function available?

@prince-chrismc
Copy link
Collaborator

Please open a PR to update the package in CCI conan-center-index as a new version is available

@archetypiarz
Copy link

@prince-chrismc
I've made a PR, but to be honest I don't exactly know what's going next - is that the time I have to wait or do I have to take another actions?

@prince-chrismc
Copy link
Collaborator

You need to wait for the Conan team to review and approve the PR. I haven't been involved for some time but when I was there was a fair delay with how many PRs come in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants