Skip to content

Memory locking is not thread safe #20

@rbost

Description

@rbost

The memory locking on cryptographic keys (through libsodium) is not thread safe, making it hard to use on real use cases, without cheating (ie. copying the buffers meant to initialize keys).

We should implement a fix that is efficient: relying on locks seams too expensive, lock-free mechanisms seem necessary, yet not trivial to implement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions