[Cryptech Tech] Generating keys on alpha using pkcs11-tool

Leif Johansson leifj at sunet.se
Sat Nov 19 15:55:19 UTC 2016



Skickat från min iPhone

> 19 nov. 2016 kl. 16:52 skrev Linus Nordberg <linus at nordberg.se>:
> 
> I don't know but I'll see if I can make that spy tool tell me as soon as
> I'm back with the device.
> 
> Hmm. I bet `--label' and `--id' would be worthwile investigating too.
> 
> 
> Leif Johansson <leifj at sunet.se> wrote
> Sat, 19 Nov 2016 23:56:28 +0900:
> 
>> What does your template look like?
>> 

I mean what do you feed the library?

>> Skickat från min iPhone
>> 
>>> 19 nov. 2016 kl. 19:47 skrev Linus Nordberg <linus at nordberg.se>:
>>> 
>>> Hi,
>>> 
>>> I'm trying to generate an RSA keypair on an alpha using pkcs11-tool and
>>> libcryptech-pkcs11.so.0 with cryptech-alpha-firmware.tar.gz installed,
>>> the later two both from the cryptech-alpha package version
>>> 2.0.1471810159. I keep getting
>>> 
>>> error: PKCS11 function C_GenerateKeyPair failed: rv =
>>> CKR_TEMPLATE_INCONSISTENT (0xd1)
>>> 
>>> and would like to know if anybody else has succeeded with this before I
>>> start debugging.
>>> 
>>> Thanks,
>>> Linus
>>> _______________________________________________
>>> Tech mailing list
>>> Tech at cryptech.is
>>> https://lists.cryptech.is/listinfo/tech


More information about the Tech mailing list