Open alekitto opened 2 years ago
Thanks for the heads-up on this. It's clearly something I hadn't realized. We probably need to fix up pgx as well.
Circling back to this... I spent some time many months ago looking into minicbor
and ciborium
and they failed pretty quickly with ZDB. I suppose either they're not perfect cbor impls or ES is sending something incorrect that serde_cbor
can handle.
I'm not exactly sure what to do. I once considered just taking over serde_cbor
maintenance, but at the end of the day, I don't have time to maintain it.
This project still uses
serde_cbor
which has been abandoned by its author and its repository has been archived. Unfortunately that library sometimes fails to decode valid cbor streams, which is the cause of errors like the one reported on #643.This is not an issue right now as supported ES versions produce outputs decodable from the library, but potentially could be in the future.
The author proposed two alternatives:
minicbor
ciborium
RUSTSEC-2021-0127