On Mon, 2017-07-17 at 12:01 +0530, supraja sridhar wrote: > 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;
What about the intermediate parent key? My best guess would be that your parent key doesn't have a usage of type TPM_KEY_STORAGE, that would mean the TPM would throw an unsupported parameter when you try to unwrap a key using it as the parent. James ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
