IronCoreLabs / ironoxide

Rust SDK for IronCore Privacy Platform
https://docs.rs/ironoxide
GNU Affero General Public License v3.0
10 stars 3 forks source link

`IronOxideErr::AesError` isn't very useful #268

Open skeet70 opened 2 years ago

skeet70 commented 2 years ago

Remove the Into<IronOxideErr> for ring::Unspecified, and write specific conversions into useful external error types in places we have contextual information about what went wrong. AesError is returned from rotate key, change password, etc and the caller doesn't know/care what that means.