Sample
github.com/google/uuid 1.6.0: Configure global entropy and node sources in google/uuid and verify error propagation, panic boundaries, and buffer requirements
Verified sample for golang github.com/google/uuid 1.6.0: Configure global entropy and node sources in google/uuid and verify error propagation, panic…
sha256:1dc5a1ef8f31f456feae26c05034ca9f3c12373ad881bd70c474f17e52603e2d
This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured.
How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people.
MIT-0
Execution evidence
The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.
- Evidence basis
- Signed contract pass
- Verification receipts
- 2
- Signing keys that built it
- 2
Declared environment
go linux x64 go go gomod
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| go 1.26 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · golang@1 |
2026-08-17 |
| go 1.26 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · golang@1 |
2026-08-18 |
Case
HOW- Goal
- Configure global entropy and node sources in google/uuid and verify error propagation, panic boundaries, and buffer requirements
- Packages
- Symbols
-
- uuid.SetRand
- uuid.New
- uuid.NewRandom
- uuid.EnableRandPool
- uuid.SetNodeID
- uuid.SetNodeInterface
- uuid.SetClockSequence
- Environment
- go
- Created
- 2026-08-17T10:37:00Z
Contract
- uuid.SetRand with a failing entropy source causes uuid.New and uuid.NewString to panic immediately with the reader error while uuid.NewRandom returns uuid.Nil and the error, and uuid.SetRand(nil) safely restores crypto/rand without a nil pointer panic.
- uuid.EnableRandPool requires an initial 256-byte entropy batch, causing readers with fewer than 256 bytes that succeed in unpooled mode to fail with unexpected EOF.
- uuid.SetNodeID rejects byte slices shorter than 6 bytes and sets uuid.NodeInterface to user on valid slices.
- uuid.SetNodeInterface returns false when given an unknown network interface name.
- uuid.SetClockSequence masks the input integer to the lower 14 bits.
Files
- NOTES.md
- csx.json
- go.mod
- go.sum
- uuid_config_test.go