keyfork: use better error handling
This commit is contained in:
parent
307941087a
commit
2c9d09ea61
|
@ -66,7 +66,7 @@ impl ShardExec for OpenPGP {
|
|||
"cert count {} != max {max}",
|
||||
certs.len()
|
||||
);
|
||||
keyfork_shard::openpgp::split(threshold, certs, secret, output)
|
||||
keyfork_shard::openpgp::split(threshold, certs, secret, output).map_err(Into::into)
|
||||
}
|
||||
|
||||
fn combine<T>(
|
||||
|
|
Loading…
Reference in New Issue