v2.2.1:Using signer.py

Generate your key

  1. Save your passphrase in keytest.pass

  2. Generate DER certificate

ssh-keygen -m PEM -t rsa -b 2048 -f keytest -P "$(cat ./keytest.pass)"
openssl rsa -inform PEM  -in ./keytest -outform DER -out keytest.der -passin file:./keytest.pass
ln -s keytest.pub keytest.der.pub

Sign a binary for Flash

ngultra_binary_signer.py -k <your_key> <input_binary> <output_folder>

ngultra_binary_signer.py -k keytest.der bsp_demo.bin /tmp

Sign a binary for SpaceWire

ngultra_binary_signer.py -s -k <your_key> <input_binary> <output_folder>

ngultra_binary_signer.py -s -k keytest.der bsp_demo.bin /tmp

© NanoXplore 2022