From: Imran Desai <imran.desai at intel.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: trying duplication and then rsa_en/decrypt
Date: Wed, 20 May 2020 17:31:52 +0000 [thread overview]
Message-ID: <20200520173152.2843.3012@ml01.vlan13.01.org> (raw)
In-Reply-To: 476DC76E7D1DF2438D32BFADF679FC5649EEFEE5@ORSMSX101.amr.corp.intel.com
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
Hi Ted,
Based on what you said you want to accomplish and your above-mentioned references, I have a hunch that you have the keys set up incorrectly.
Can you please,
1. Try to create a key with "userwithauth" set in the step in your script that references policy_duplication man page as in here: "tpm2_create -C src_o.ctx -g sha256 -G rsa -r dupkey.priv -u dupkey.pub \
-L policydupselect.dat -a "sensitivedataorigin|sign|decrypt|userwithauth" -c dupkey.ctx -Q"
2. Share your exact steps/ script that you implemented.
3. Share the key properties of the parent and child object you created. You can use tpm2_readpublic command to dump the key properties.
Thanks
next reply other threads:[~2020-05-20 17:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-20 17:31 Imran Desai [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-21 17:06 [tpm2] Re: trying duplication and then rsa_en/decrypt Roberts, William C
2020-05-21 16:18 ted.h.kim
2020-05-21 15:08 Roberts, William C
2020-05-21 0:37 ted.h.kim
2020-05-20 20:49 ted.h.kim
2020-05-20 19:44 Imran Desai
2020-05-20 19:38 Imran Desai
2020-05-20 19:15 Imran Desai
2020-05-20 18:56 ted.h.kim
2020-05-20 18:03 ted.h.kim
2020-05-20 15:09 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=20200520173152.2843.3012@ml01.vlan13.01.org \
--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