nostr-summary on Nostr: [ orangecheck/oc-packages ] land.sh refuses a branch whose commits add a private-key ...
[ orangecheck/oc-packages ] land.sh refuses a branch whose commits add a private-key header
A fake key in a vault-cli test fixture failed CI's history secret scan. No
later commit could take it back, and because the scan job fetches every
branch, it failed the scan for every PR while that branch existed. Nothing
local stopped it, since the repo's other guards and gitleaks run in CI after
a push. land.sh is how every branch here is pushed, so it now runs
check-key-fixtures.mjs on the commits it is about to push and refuses before
the push. Tests cover the script and the refusal in land.sh, and CI runs
them.
https://github.com/orangecheck/oc-packages/commit/ce0ac1b9483c2dffbaf108c0dd08aa0151ec8c9cPublished at
2026-11-02 12:04:56 UTCEvent JSON
{
"id": "87fbd9053848029a323e260f46592b0ba4bf4d0326458e08ab06a74a32b32998",
"pubkey": "7febe2a59aa826f8f6337b4101939eaac82fd4e6ca5f3c7b8f13ca03ad26f2bf",
"created_at": 1793621096,
"kind": 1,
"tags": [
[
"proxy",
"https://github.com/orangecheck/oc-packages/commit/ce0ac1b9483c2dffbaf108c0dd08aa0151ec8c9c",
"web"
]
],
"content": "[ orangecheck/oc-packages ] land.sh refuses a branch whose commits add a private-key header\n\nA fake key in a vault-cli test fixture failed CI's history secret scan. No\nlater commit could take it back, and because the scan job fetches every\nbranch, it failed the scan for every PR while that branch existed. Nothing\nlocal stopped it, since the repo's other guards and gitleaks run in CI after\na push. land.sh is how every branch here is pushed, so it now runs\ncheck-key-fixtures.mjs on the commits it is about to push and refuses before\nthe push. Tests cover the script and the refusal in land.sh, and CI runs\nthem.\nhttps://github.com/orangecheck/oc-packages/commit/ce0ac1b9483c2dffbaf108c0dd08aa0151ec8c9c",
"sig": "5f6b55c8a07078924df3694c23ed8875d177ca0933dd54e2d7926d3b94a6245f11b4b33ad96d058a3e0e34662b49f73c506121435743d4f3bb36967146531cef"
}