From: Tadeusz Struk <tadeusz.struk at intel.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: Persistance Not working
Date: Fri, 18 Oct 2019 15:10:43 -0700 [thread overview]
Message-ID: <50769586-7ac4-73de-22e9-7eea2bbb5b3a@intel.com> (raw)
In-Reply-To: 67ae3571-0e90-459a-9172-47cd298874c9@www.fastmail.com
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
On 10/18/19 2:17 PM, Trey Weaver wrote:
> I can rerun the rsadecrypt line a 1000 times and it works fine. But if
> I reboot my system and run it I get this error:
>
> */ps(a)jpsadmin-TB116C-AN:~/Temp$ tpm2_rsadecrypt -V -k 0x81000004 -o
> msg.out2.txt -I msg.enc/**/
> /*
> */ERROR on line: "82" in file: "tools/tpm2_rsadecrypt.c": rsaDecrypt
> failed, error code: 0x84/**/
> /*
> */ERROR on line: "168" in file: "tools/tpm2_tool.c": Unable to run
> tpm2_rsadecrypt/**/
> /*
>
> What good is persistence if it does not work over a power cycle?
>
> What am I doing wrong?
You need to make the primary also persistent or after reboot recreate it
using exactly the same parameters.
--
Tadeusz
next reply other threads:[~2019-10-18 22:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-18 22:10 Tadeusz Struk [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-10-21 19:14 [tpm2] Re: Persistance Not working Trey Weaver
2019-10-22 14:20 Roberts, William C
2019-10-22 18:29 Trey Weaver
2019-10-22 18:37 Jonas Witschel
2019-10-24 16:01 Roberts, William C
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50769586-7ac4-73de-22e9-7eea2bbb5b3a@intel.com \
--to=tpm2@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox