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

KeyConfig decoding #14

Open
bamnet opened this issue Jul 26, 2024 · 0 comments
Open

KeyConfig decoding #14

bamnet opened this issue Jul 26, 2024 · 0 comments

Comments

@bamnet
Copy link

bamnet commented Jul 26, 2024

This package provides methods to encode a KeyConfig via PublicKeyConfig.encode() but, AFAICT, nothing to decode a KeyConfig?

It's not clear how to wire this up to a package like https://github.com/cloudflare/privacy-gateway-server-go, where I can get an encoded KeyConfig by calling the /ohttp-keys endpoint. I was hoping to pass that output to a decode function which would construct aDeterministicKeyConfig but I don't think that exists?

Apologies for the noob question, I'm reverse engineering a lot of how this works from the tests.

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

No branches or pull requests

1 participant