Hi, i am working on windows server and i faced an issue while trying to transfer one image file (40kb size) from one node to other.
we got below error while trying to publish hexadecimal value of password protected file into items stream:
command: multichain-cli chain1 publishfrom 1YdiZtswNLfJ23NJkjqxLLRx7LLJzzZDnDf7Xr items secret-cpuinfo $cipherhex
Error:error code: -8
error message:
Item data should be hexadecimal string
on doing further analysis we realized that the hexadecimal value of image file is coming out to be very large which eventually is not getting stored completely in shell variable in cmd.
openssl enc -aes-256-cbc -in C:\Users\amkhurana\Documents\MultichainSetup\Ak.jpg -pass pass:%password% | xxd -p -c 99999
commands are working fine to transfer txt file since its hexadecimal value is small but for image its getting failed. Please help!