Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Server's public and private keys are swapped #665

@gbryant-arm

Description

@gbryant-arm

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtrusted-veracruz-runtimeSomething related to the trusted Veracruz runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions