Description (CNA)
The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it. The key would sign without any confirmation prompt, with no indication to the caller that the constraint was not in effect. NewKeyring() now returns an error when unsupported constraints are requested.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| golang.org/x/crypto / golang.org/x/crypto/ssh/agent | affected 0 before 0.52.0 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/issue/79436
- https://go.dev/cl/778642
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://pkg.go.dev/vuln/GO-2026-5005
ADP enrichment
No English description supplied.
No references supplied.