Getting Started with HSM4: Unable to locate package zk*


I’m going through the getting started document on my RPi4B with raspbian bullseye.
When I exec the following command, the prompt returns without rebooting:
curl -G | sudo bash

According to my brief investigation, it seems this “apt install” command in the script doesn’t work:
apt install -y libzk libzymkeyssl zkbootrtc zkifc zkapputilslib zksaapps zkpkcs11 cryptsetup
I tried “apt serach”, but cannot find libzk, libzymkeyssl etc.

Is there a workaround?

Best regards,

@gok - Are you using bullseye 64 or bullseye 32? If you are using 32-bit, please edit /boot/config.txt and add the following line to the bottom of the file, then reboot and try the install again.


Raspberry PI OS 32-bit images install the 64-bit kernel along with the 32-bit root filesystem. This does not allow our installation script to work.

I’m using bullseye 64, so I skipped this process.

So sorry, I seem to use bullseye 32!

$ getconf LONG_BIT

The installation works well after appending ‘arm_64bit=0’.
Thank you!