Post
Topic
Board Mining (Altcoins)
Re: "Cannot find Signature"... What's this?
by
yonydouna
on 26/12/2018, 20:01:16 UTC


no you went too far down,

search around line line no 40.

refer to the image i gave you from the Russian  website  >

https://forum.bits.media/uploads/monthly_2018_12/176069530_2018-12-0419_48_19.png.a447fba7e31d74b4d083a1a9dc1cbd56.png

you need to find these lines that he put blue rectangular, you need to find those 2 part of codes and delete them. they are usually around line no 40, but could be different , you just  need to scroll until you find them.

Yes, I realized, I had edited the post seconds before your comment  Grin
-------------------------

Code:
if [ ! -f runme.sh.sig ]; then
        echo "Cannot Find Signature!!!" >> /tmp/upgrade_result
else
        openssl dgst -sha256 -verify /etc/bitmain-pub.pem -signature  runme.sh.sig  runme.sh >/dev/null  2>&1
        res=$?
        if [ $res -eq 1 ]; then
                echo "Installer Not Signtured!!!" >> /tmp/upgrade_result
        else
                if [ -f runme.sh ]; then
                        sh runme.sh
                else
                        echo "Incorrect firmware!!!!" >> /tmp/upgrade_result
                fi
        fi
fi

#if [ -f runme.sh ]; then
#       sh runme.sh
#else
#       echo "Incorrect firmware!!!!" >> /tmp/upgrade_result
#fi

Fine, I already have the code, what's next?