Hi, I'm attempting to unseal data that was sealed with the TPM and a set of PCRs. The code in question is at http://pastebin.com/NaPR2tVa. The lines of concern are 50-67. To be clear, printe() is a custom error function (which does almost nothing but print to stderr instead of stdout). checkFail is a function that, unless the TSS_RESULT is TSS_SUCCESS, prints the error code and error message - making sure that whatever executes does so cleanly. Everything works until line 59, which oddly enough gives back the error "TSS_E_PS_KEY_EXISTS" (21). I have ownership of the TPM, and I know both the TPM password and the SRK password. tpm_seal (the tpm_tools command) works; tpm_unseal never outputs anything (to stdout, or with -o specified). I have verified all the variables going in are created properly, and indeed, it will seal data. Unseal just refuses to work.
Any suggestions? Thanks, Nathan Scott ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
