jolocom / wallet-rs

Rust-implemented signing/decrypting keystore
Apache License 2.0
10 stars 7 forks source link

fix(box): check for box length before slicing #6

Closed chunningham closed 3 years ago

chunningham commented 3 years ago

calling unseal_box would panic when called with slices smaller than the public key length of K. fixed and test case added