Radar · Go · Archive · Week 48 · Nov 24 – 30, 2025
runtime/secret: add new package
Worth knowingruntime
- What changed
- A new
runtime/secretpackage is added to provide a consistent “Clear()” interface for parts of the Go crypto API that store keys in internal buffers. - Production impact
- The source does not say.
- Try it
- Import
runtime/secretand callClear()on a crypto type that supports it. - Source
- github.com/golang/go/issues/21865
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed