This (GitHub - kmartin36/nv-tegra-sign: Python script to sign files for the Nvidia TX2) seems to be a wonderful tool, but I am not a python guy, and using it fails for me, complaining about missing packages :
nvidia@devkit-jp451:~/nv-tegra-sign$ ./sign.py /boot/dtbfile /tmp/dtbfile.encrypt
Traceback (most recent call last):
File "./sign.py", line 3, in <module>
from cryptography.hazmat.backends.openssl import backend
ImportError: No module named cryptography.hazmat.backends.openssl
nvidia@devkit-jp451:~/nv-tegra-sign$
How do I install the missing dependencies ?
Later…
sudo apt install python-pip
installs the needed package(s)