Defluencer / rust-defluencer

The rust implementation of the Defluencer protocol.
Apache License 2.0
13 stars 0 forks source link

Invalid IPNS Record #15

Open SionoiS opened 1 year ago

SionoiS commented 1 year ago

Can't seams to be able to decode IPNS records generated by Kubo. libipld & serde_ipld_dag-cbor, both crate errors when decoding the Dag Cbor document in the record. The problem is when trying to get a rust type. Decoding to Ipld type works fine.

When trying to add a record to Kubo, the body response is empty and routing fails. Probably a badly encoded dag cbor document, who knows!

DougAnderson444 commented 8 months ago

I think we're overlapping in a lot of areas, by the way! I did this in rust last year, might help you out with the issues you're seeing: https://github.com/DougAnderson444/ipns-utils/tree/master