Add Ed25519 sign/verify to Void::Crypto #36

Closed
opened 2026-12-03 10:13:45 +00:00 by faumaray · 1 comment
Owner

VoidBuildSystem (Track D3 provenance) needs an Ed25519 sign/verify primitive for package and binary signatures.

Current Void::Crypto exposes hashing only (SHA-256/BLAKE2b), so VBS emits SPDX/CycloneDX SBOMs without signatures and deliberately does not substitute a weaker scheme.

Suggested API:

  • Void::Crypto::ed25519_keypair()
  • Void::Crypto::ed25519_sign(secret_key, message) -> signature
  • Void::Crypto::ed25519_verify(public_key, message, signature) -> bool

Tracked locally as VL-014 in VoidBuildSystem docs/VOIDLIBRARY_UPSTREAM_REQUESTS.md.

VoidBuildSystem (Track D3 provenance) needs an Ed25519 sign/verify primitive for package and binary signatures. Current `Void::Crypto` exposes hashing only (SHA-256/BLAKE2b), so VBS emits SPDX/CycloneDX SBOMs without signatures and deliberately does not substitute a weaker scheme. Suggested API: - `Void::Crypto::ed25519_keypair()` - `Void::Crypto::ed25519_sign(secret_key, message) -> signature` - `Void::Crypto::ed25519_verify(public_key, message, signature) -> bool` Tracked locally as `VL-014` in VoidBuildSystem `docs/VOIDLIBRARY_UPSTREAM_REQUESTS.md`.
Author
Owner

Implemented as Ed25519 sign/verify on branch issue-36-ed25519 (commit f5842b9), merged into main as f146df9. Tests pass. Closing as done.

Implemented as Ed25519 sign/verify on branch `issue-36-ed25519` (commit `f5842b9`), merged into `main` as `f146df9`. Tests pass. Closing as done.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Void/Library#36