Ubuntu 20.04 (focal fossa) Support

Alive & Released !

We’re happy to announce that the Zymkey Host Package now supports Ubuntu 20.04. LTS, 64 and 32 bit distributions.
The installation script in Getting Started will automatically select the correct repository.

New Features:

  • Support for Ubuntu 20.04 32-bit and 64-bit.

  • Fix to quickly sync RTC with system clock. Resolves problem with Zymkey RTC displaying small values.

  • Fixed PKCS#11 library now saves keys in Ubuntu 18.04 and 20.04.

  • Initial support for Jetson Nano running Tegra Linux 18.04.

For New Installations:

  • Follow the standard “Getting Started…” steps. Each flavor of operating system automatically chooses the correct repository, including the Jetson.

    • Note: By default the Jetson OS image does not include curl which is used to retrieve the Zymkey installation script. You must install curl first.

      sudo apt install curl

To Update existing Installations to implement fixes to issues above:

  • Can run sudo apt-get update, sudo apt-get upgrade

              sudo apt-get update
              sudo apt-get upgrade -y
    

Known Issues:

  • The example scripts located in /usr/local/share/zymkey/ are missing from the Ubuntu 20.04 32-bit and 64-bit repositories.

  • The mk_encr_sd_rfs.sh and mk_encr_ext_rfs.sh scripts that do LUKS encryption of the SDCard rootfs are currently not supported on the Jetson Nano.

  • The i2c address cannot currently be changed from the default of 0x30.

Great!!! Thanks Bob!
I ran the installation script without any issues - all went very well and have the 3 second blinky :slight_smile: This was done on two RPi-4 boards with 8-Gig Ram.

I copied the test scripts from a different RPi running Raspberry Pi OS and got this result:

ubuntu@k8s-node-0:~/examples$ date;python3 /usr/local/share/zymkey/examples/zk_crypto_test.py;date
Fri Jul 17 07:32:18 EDT 2020
Signing data…OK
Verifying data…OK
Verifying tainted data…FAIL, yay!
Generating random block (131072 bytes)…
Encrypting random block…
Decrypting encrypted block…
PASS: Decrypted data matches original random data
Done!
Fri Jul 17 07:33:48 EDT 2020
Looks like around 90 seconds…

The Raspberry OS test run:

pi@Zymbit:/usr/local/share/zymkey/examples $ date;python /usr/local/share/zymkey/examples/zk_crypto_test.py;date
Fri 17 Jul 07:33:36 EDT 2020
Signing data…OK
Verifying data…OK
Verifying tainted data…FAIL, yay!
Generating random block (131072 bytes)…
Encrypting random block…
Decrypting encrypted block…
PASS: Decrypted data matches original random data
Done!
Fri 17 Jul 07:35:13 EDT 2020
Around 97 seconds to run the test script…

Notice the python3 call in the Ubuntu version :slight_smile:

So far things are working as expected - I plan to do some more testing this weekend but want to say THANKS for getting this working in Ubuntu 20.04 LTS.

I expected the Ubuntu version to run a bit faster given it is running 64-bit OS vs 32-Bit and the processor speed in the RPi-4 is a bit faster than the RPi-3 I tested against.

Gary