pub(crate) fn chain_crypto_err(e: PublicKeyError) -> ReadError