Discussion:
[TrouSerS-users] Load key returns 0x00000028. Unsupported key parameters
supraja sridhar
2017-07-17 06:31:10 UTC
Permalink
Hi all,

I am trying to create a pair of keys through openssl and wrap the key using
SRK.

I wrapped the key using a parent key which in turn is wrapped by SRK. When
I load the parent key first, it returns success. When I load the actual
key(hKey), it returns unsupported key parameters.

initFlags for hKey

initFlags = TSS_KEY_TYPE_LEGACY | TSS_KEY_SIZE_2048 |
TSS_KEY_VOLATILE | TSS_KEY_AUTHORIZATION |
TSS_KEY_NOT_MIGRATABLE;

Please help,
Supraja
Ken Goldman
2017-07-17 13:39:10 UTC
Permalink
My generic answer to these questions is to debug with a SW TPM. The
trace will tell you exactly what parameter is wrong.

https://sourceforge.net/projects/ibmswtpm/
Post by supraja sridhar
I am trying to create a pair of keys through openssl and wrap the key
using SRK.
I wrapped the key using a parent key which in turn is wrapped by SRK.
When I load the parent key first, it returns success. When I load the
actual key(hKey), it returns unsupported key parameters.
initFlags for hKey
initFlags = TSS_KEY_TYPE_LEGACY | TSS_KEY_SIZE_2048 |
TSS_KEY_VOLATILE | TSS_KEY_AUTHORIZATION |
TSS_KEY_NOT_MIGRATABLE;
Loading...