dht put
doesn't interact well with binary data
#5112
Labels
Projects
dht put
doesn't interact well with binary data
#5112
Currently,
ipfs dht put
allows users to put "arbitrary" values into the DHT. Unfortunately, this doesn't interact well with binary data. Due to how the CLI works, we can't pipe arbitrary binary stdin because each "line" will be interpreted as a new argument. We can't pass it in as an argument because it may contain null bytes.The DHT commands should probably take files as input (or base64 decode the value).
The text was updated successfully, but these errors were encountered: