* [tpm2] There is no '-I' option for tpm2_rsaencrypt which I found it in the doc.
@ 2018-10-19 8:36 Terry An
0 siblings, 0 replies; 4+ messages in thread
From: Terry An @ 2018-10-19 8:36 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
[root(a)localhost Test]# tpm2_rsaencrypt -I data.in -c obj.ctx -o
data.encrypted
tpm2_rsaencrypt: invalid option -- 'I'
[root(a)localhost Test]#
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 255 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [tpm2] There is no '-I' option for tpm2_rsaencrypt which I found it in the doc.
@ 2018-10-19 9:26 Joshua Lock
0 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2018-10-19 9:26 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 717 bytes --]
Which version of the tools are you using and where are you reading that
in the documentation?
In 3.0 (released 2017-12-08) the -l option to tpm2_rsaencrypt was
removed. The tool now expects an argument of the filename to encrypt or
instead otherwise defaults to stdin.
We probably have to fix the docs for the version you're using.
Thanks,
Joshua
On Fri, 2018-10-19 at 16:36 +0800, Terry An wrote:
> [root(a)localhost Test]# tpm2_rsaencrypt -I data.in -c obj.ctx -o
> data.encrypted
> tpm2_rsaencrypt: invalid option -- 'I'
> [root(a)localhost Test]#
> _______________________________________________
> tpm2 mailing list
> tpm2(a)lists.01.org
> https://lists.01.org/mailman/listinfo/tpm2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [tpm2] There is no '-I' option for tpm2_rsaencrypt which I found it in the doc.
@ 2018-10-19 12:10 Joshua Lock
0 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2018-10-19 12:10 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
On Fri, 2018-10-19 at 16:36 +0800, Terry An wrote:
> [root(a)localhost Test]# tpm2_rsaencrypt -I data.in -c obj.ctx -o
> data.encrypted
> tpm2_rsaencrypt: invalid option -- 'I'
> [root(a)localhost Test]#
I see the example was incorrect in both the 3.0.X and 3.X branches,
I've sent pull requests to update.
You want:
# tpm2_rsaencrypt -c obj.ctx -o data.encrypted data.in
Joshua
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [tpm2] There is no '-I' option for tpm2_rsaencrypt which I found it in the doc.
@ 2018-10-22 2:38 Terry An
0 siblings, 0 replies; 4+ messages in thread
From: Terry An @ 2018-10-22 2:38 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 544 bytes --]
Thanks, I'll check it out.
On Fri, Oct 19, 2018 at 8:10 PM Joshua Lock <joshua.g.lock(a)linux.intel.com>
wrote:
> On Fri, 2018-10-19 at 16:36 +0800, Terry An wrote:
> > [root(a)localhost Test]# tpm2_rsaencrypt -I data.in -c obj.ctx -o
> > data.encrypted
> > tpm2_rsaencrypt: invalid option -- 'I'
> > [root(a)localhost Test]#
>
> I see the example was incorrect in both the 3.0.X and 3.X branches,
> I've sent pull requests to update.
>
> You want:
> # tpm2_rsaencrypt -c obj.ctx -o data.encrypted data.in
>
> Joshua
>
>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 958 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-22 2:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-19 9:26 [tpm2] There is no '-I' option for tpm2_rsaencrypt which I found it in the doc Joshua Lock
-- strict thread matches above, loose matches on Subject: below --
2018-10-22 2:38 Terry An
2018-10-19 12:10 Joshua Lock
2018-10-19 8:36 Terry An
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox