iroh icon indicating copy to clipboard operation
iroh copied to clipboard

doc get <key> not returning hash for large (1.5Mb) document import

Open ntangldev opened this issue 1 year ago • 0 comments

I am running the iroh CLI 0.11.0 on Mac M1 Sonoma 14.0

I installed iroh using

curl -fsSL https://sh.iroh.computer/install.sh | sh

I have imported a 1.5Mb document

When I try to get the document I was expecting to get the hash returned, but with either the default mode or explicitly requesting hash mode no response is returned.

`author:szozlqglrywojk35 doc:owcr5mvpvzhf4ics

doc import ~/projects/testblob Preparing import... Import 1 files totaling 1.52 MiB? yes Success! (0 seconds)

author:szozlqglrywojk35 doc:owcr5mvpvzhf4ics

doc keys @szozlqglrywojk35: testblob = lsoaqmjoqh4bkc44 (1.52 MiB)

author:szozlqglrywojk35 doc:owcr5mvpvzhf4ics

doc get testblob

author:szozlqglrywojk35 doc:owcr5mvpvzhf4ics

doc get --mode hash testblob

`

For small (3char) values the key/value is returned

ntangldev avatar Dec 03 '23 22:12 ntangldev