Comment 1 for bug 1480735

Revision history for this message
Fernando Diaz (diazjf) wrote : Re: Unable to run pkcs11-key-generation python script that generates MKEK

stack@stack-VirtualBox:/opt/stack/barbican/bin$ sudo python pkcs11-key-generation.py --library-path /usr/local/lib/softhsm/libsofthsm2.so --passphrase mypassword --slot-id 1 mkek --length 32 --label 'primarymkek1'
No handlers could be found for logger "oslo_config.cfg"
HSM returned response code: 0xd0L CKR_TEMPLATE_INCOMPLETE

stack@stack-VirtualBox:/opt/stack/barbican/bin$ sudo python pkcs11-key-generation.py --library-path /usr/local/lib/softhsm/libsofthsm2.so --passphrase mypassword --slot-id 1 mkek --label 'primarymkek1'
No handlers could be found for logger "oslo_config.cfg"
MKEK successfully generated!
stack@stack-VirtualBox:/opt/stack/barbican/bin$