You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
security: derive the real signed payload in obli-pkg verify path #60
The package verify path is an explicit MVP stub: placeholder payload (mock_message = pkg_content) and zeroed test-signature fallbacks (left by #56 with a TODO(security)). A real scheme signs the package bytes excluding the embedded signature blocks. Source: ffi/zig/src/obli-pkg.zig:377.
Premise update (measured 2026-08-04): the original defect here — mock_message = pkg_content placeholder payload + zeroed test-signature fallbacks — is partially fixed already: deriveSignedPayload now genuinely strips SIGNATURE: envelope lines to reconstruct the signed bytes, and missing keys/signatures fail closed.
PR #109 closes the four remaining fail-open gaps: zero-padded short key files, uninitialised base64-decode tails passed to OQS_SIG_verify, mid-line vs line-start SIGNATURE: parser asymmetry, and the /tmp HOME fallback (plus an invalid free on that path).
This issue is now rescoped to what's still missing:
a signer producing real SIGNATURE:<name>:<base64> blocks over the canonical payload (nothing in the repo emits them yet, so verify can only fail closed)
end-to-end sign→verify test vectors for all three schemes (Dilithium5, SPHINCS+, Ed25519)
a real key-distribution/trust-root story to replace ~/.obli-pkg/keyring/ test keys
Activity
hyperpolymath commentedon Aug 4, 2026
Premise update (measured 2026-08-04): the original defect here —
mock_message = pkg_contentplaceholder payload + zeroed test-signature fallbacks — is partially fixed already:deriveSignedPayloadnow genuinely stripsSIGNATURE:envelope lines to reconstruct the signed bytes, and missing keys/signatures fail closed.PR #109 closes the four remaining fail-open gaps: zero-padded short key files, uninitialised base64-decode tails passed to
OQS_SIG_verify, mid-line vs line-startSIGNATURE:parser asymmetry, and the/tmpHOME fallback (plus an invalidfreeon that path).This issue is now rescoped to what's still missing:
SIGNATURE:<name>:<base64>blocks over the canonical payload (nothing in the repo emits them yet, so verify can only fail closed)~/.obli-pkg/keyring/test keysci: Zig FFI gate (pinned 0.13.0) + obli-pkg verification hardening (#109
feat(estate): full RSR-template alignment + real obli-pkg signing scheme
fix(ci): unblock all five startup-failed workflows; hold codeql-actio…