Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tkn20: prevent panics on key gen errors
Both SystemSecretKey.KeyGen and Setup try to dereference the return values from abe/cpabe/tkn20/internal/tkn without checking for an error. On error, these values are nil and the functions panic. This is easy to reproduce by passing an io.Reader that returns an error.
- Loading branch information