NTP/RTC - No Zymkey Installed/RTC Failing

I cannot get the RTC working. I WAS ABLE to use the Python utilities to get the time, I could also run both Python examples correctly, as well as retrieve taps in my scripts… but when the system boots, The RTC setting fails with “ERROR: no zymkeys installed.” - what can I do to rectify this problem?

And the blue light has went from a slow 3 second beep, to a fast flashing blue light again…

root@HS-2017090119:~# cat /var/log/syslog | grep Zymkey
Oct 17 14:35:20 HS-2017090119 systemd[1]: Starting Restore System Clock from Zymkey…
Oct 17 14:35:24 HS-2017090119 systemd[1]: Failed to start Restore System Clock from Zymkey.
Oct 17 14:35:29 HS-2017090119 systemd[1]: Starting Zymkey Interface Connector…
Oct 17 14:35:29 HS-2017090119 systemd[1]: Started Zymkey Interface Connector.
root@HS-2017090119:~# sudo systemctl status zkbootrtc
● zkbootrtc.service - Restore System Clock from Zymkey
Loaded: loaded (/etc/systemd/system/zkbootrtc.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2017-10-17 14:35:24 UTC; 1min 6s ago
Process: 610 ExecStart=/sbin/zkbootrtc (code=exited, status=255)
Main PID: 610 (code=exited, status=255)

Oct 17 14:35:19 HS-2017090119 systemd[1]: Starting Restore System Clock from Zymkey…
Oct 17 14:35:24 HS-2017090119 zkbootrtc[610]: ERROR: no zymkeys installed.
Oct 17 14:35:24 HS-2017090119 systemd[1]: zkbootrtc.service: Main process exited, code=exited, stat
Oct 17 14:35:24 HS-2017090119 systemd[1]: Failed to start Restore System Clock from Zymkey.
Oct 17 14:35:24 HS-2017090119 systemd[1]: zkbootrtc.service: Unit entered failed state.
Oct 17 14:35:24 HS-2017090119 systemd[1]: zkbootrtc.service: Failed with result ‘exit-code’.

When I run: (get s segfault)
root@HS-2017090119:~# zkgrifs
Segmentation fault

Finally…

import zymkey

Exception AssertionError: AssertionError(‘bad return code -1’,) in <bound method Zymkey.del of <zymkey.module.Zymkey object at 0x76a09890>> ignored

zymkey.client.sign(‘hello world!’)
Traceback (most recent call last):
File “”, line 1, in
AttributeError: ‘NoneType’ object has no attribute ‘sign’

Tried Jessie version of OpenSSL not working either. Its just constantly flashing now, after working fine for a couple of days.

I had a rechargable battery being charged running the Pi. I removed this, and it appears to have been the issue :frowning:

I guess it was not giving it enough power.

If you do not have a good quality power source with sufficient peak current to meet all your system demands, then power dips/brown outs will occur. The Zymkey monitors the 5V rails and will see this as a potential tampering event.