pull/33/head
conor 2016-06-17 22:52:41 -04:00
rodzic 581eb81805
commit b5418aedc7
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -17,7 +17,8 @@ cert=$3
hex2pubkey $pub pubkey.pem
[[ "$?" -ne "0" ]] && exit 1
signcert $key pubkey.pem $cert
[[ "$?" -ne "0" ]] && exit 1
[[ "$?" -ne "0" ]] && exit 2
cbytes.py $cert
[[ "$?" -ne "0" ]] && exit 1
[[ "$?" -ne "0" ]] && exit 3
exit 0

Wyświetl plik

@ -50,10 +50,9 @@ gencert.sh "$1" "$(cat pubkey.hex)" attest.der > ../firmware/src/cert.c
echo "done."
echo "building..."
if [[ $FLASH_TOOLS = 1 ]]
if [[ $FLASH_TOOLS != 1 ]]
then
echo "Building from command line only works on Windows"
echo "Open Simplicity Studio and rebuild final program."
echo "Then you can erase and reprogram U2F Token."
exit 1