I am looking at the possibility of using YubiHSM to encrypt data on a server without having the ability for the same server to decrypt it - however I am having trouble getting past go with the python API.
I can connect to the HSM OK, generate keys and unlock them with no issues through a terminal. However when I attempt to unlock the keys using pyhsm I am told the master key which I use successfully through the terminal is too long.
Attachment:
Screen Shot 2016-03-23 at 15.07.47.png [ 157.18 KiB | Viewed 2231 times ]
I feel like I am missing something obvious....
Dom