def db_store_yubikey(self, public_id, key_handle, aead, nonce = None):
        if nonce is not None and not self.version.have_YSM_DB_YUBIKEY_AEAD_STORE2():
            # introduced in 1.0.4
            raise pyhsm.exception.YHSM_Error("YubiHSM does not support nonce != public_id.")
        return pyhsm.db_cmd.YHSM_Cmd_DB_YubiKey_Store( \
            self.stick, public_id, key_handle, aead, nonce = nonce).execute()
Copy redis configuration and scripts
dataset/ETHPy150Open Yubico/python-pyhsm/pyhsm/base.py/YHSM.db_store_yubikey--crossover with--dataset/ETHPy150Open PaulMcMillan/toorcon_2013/configurator/fabfile/master.py/configure_redis