lokinet icon indicating copy to clipboard operation
lokinet copied to clipboard

bencode-dump.py output is not compatible with jq

Open majestrate opened this issue 1 year ago • 2 comments

our helper tool's output does not have output you can pipe to jq, we should add a flag to do that.

majestrate avatar Apr 12 '23 10:04 majestrate

It's not meant to be, and realistically can't be, because we have binary.

jagerman avatar Apr 12 '23 12:04 jagerman

i am suggesting a mode (given by a flag) where we would encode binary strings as hex.

majestrate avatar Apr 12 '23 13:04 majestrate