Skip to content

chore(deps): pin ngtcp2 by commit sha instead of mutable tag - #155

Merged
jamofer merged 1 commit into
mainfrom
chore/sec10-pin-ngtcp2-sha
Jul 21, 2026
Merged

chore(deps): pin ngtcp2 by commit sha instead of mutable tag#155
jamofer merged 1 commit into
mainfrom
chore/sec10-pin-ngtcp2-sha

Conversation

@jamofer

@jamofer jamofer commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

What

Pin the ngtcp2 FetchContent dependency to commit SHA 454390e (v1.23.0) instead of the mutable GIT_TAG v1.23.0.

Why

Supply-chain hygiene (audit SEC-10). ngtcp2 was the only dependency pinned by a git tag, which a tag owner can move; sqlite is already URL_HASH-pinned. A moved tag would silently alter the build on a fresh checkout.

How

GIT_TAG v1.23.0GIT_TAG 454390edaf6c954a101aa77961a939dd9e338ad2 # v1.23.0 (the dereferenced commit of the v1.23.0 annotated tag).

Testing

  • make release reconfigures + builds clean at the pinned SHA

Notes

No code change. Same tree as before — the SHA is exactly what v1.23.0 pointed to.

@jamofer
jamofer force-pushed the chore/sec10-pin-ngtcp2-sha branch from cc92bcd to d012f29 Compare July 21, 2026 21:48
@jamofer
jamofer merged commit f5a00e0 into main Jul 21, 2026
6 checks passed
@jamofer
jamofer deleted the chore/sec10-pin-ngtcp2-sha branch July 21, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant