Closed gabriel closed 5 years ago
When using signcrypt open, if you don't specify a SymmetricKeyResolver it panics.
Since the resolver is optional, we can check for nil and return, and it returns with a ErrNoDecryptionKey error as expected.
When using signcrypt open, if you don't specify a SymmetricKeyResolver it panics.
Since the resolver is optional, we can check for nil and return, and it returns with a ErrNoDecryptionKey error as expected.