I’ve been trying to develop a script for removing all keys from a ZymKey 4i
As the 4I doesn’t support the get_slot_alloc_list command and only has 3 slots I am attempting to explicitly remove the keys as follows
zymkey.client.remove_key(0)
zymkey.client.remove_key(1)
zymkey.client.remove_key(2)
When I attempt this I receive the following error “bad return code -1”.
I have checked to make sure there are keys in the slots using zymkey.client.get_public_key(0)
There appears to be keys in the slots,
What am I doing wrong. The API documentation doesn’t give much information as to why it’s not working.