Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Server's public and private keys are swapped #665

Open
gbryant-arm opened this issue Oct 10, 2023 · 1 comment
Open

Server's public and private keys are swapped #665

gbryant-arm opened this issue Oct 10, 2023 · 1 comment
Labels
bug Something isn't working trusted-veracruz-runtime Something related to the trusted Veracruz runtime

Comments

@gbryant-arm
Copy link
Contributor

Describe the bug
In https://github.com/veracruz-project/veracruz/blob/main/crates/session-manager/src/session_context.rs#L100C15-L100C16:
The freshly generated public and private keys are swapped: the public key is written to the private key field and vice versa.
Could this be/become a problem?

@gbryant-arm gbryant-arm added bug Something isn't working trusted-veracruz-runtime Something related to the trusted Veracruz runtime labels Oct 10, 2023
@dreemkiller
Copy link
Member

I don't see how it's not already a problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working trusted-veracruz-runtime Something related to the trusted Veracruz runtime
Projects
None yet
Development

No branches or pull requests

2 participants