Description
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.
Problem types
CWE-358: Improperly Implemented Security Check for Standard
Product status
Any version before 0.52.0
Credits
NCC Group Cryptography Services, sponsored by Teleport
References
groups.google.com/g/golang-announce/c/a082jnz-LvI