An exception thrown by Halite when a key is invalid should be translated to a Key exception.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2717053-3.patch | 837 bytes | rlhawk |
An exception thrown by Halite when a key is invalid should be translated to a Key exception.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2717053-3.patch | 837 bytes | rlhawk |
Comments
Comment #2
rlhawkAfter thinking about this a bit more, I realized that an Encrypt exception should be thrown instead.
Comment #3
rlhawkHere's a patch that translates a thrown InvalidKey exception from Halite into an EncryptException exception.
Comment #4
tynor commentedLooks good to me.
Comment #6
rlhawk