TPM2 (Trusted Platform Module) userspace development
 help / color / mirror / Atom feed
From: Joshua Lock <joshua.g.lock at linux.intel.com>
To: tpm2@lists.01.org
Subject: Re: [tpm2] There is no '-I' option for tpm2_rsaencrypt which I found it in the doc.
Date: Fri, 19 Oct 2018 10:26:59 +0100	[thread overview]
Message-ID: <ab7fcef99b2ee1c77d8b0d0a7a3da2fcaa43bf44.camel@linux.intel.com> (raw)
In-Reply-To: CA+tBKViQvj4SfavhkL6z=GQnkWkcB7SNEgNzWSQFsZcvkLgUeQ@mail.gmail.com

[-- 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


             reply	other threads:[~2018-10-19  9:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-19  9:26 Joshua Lock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-22  2:38 [tpm2] There is no '-I' option for tpm2_rsaencrypt which I found it in the doc Terry An
2018-10-19 12:10 Joshua Lock
2018-10-19  8:36 Terry An

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=ab7fcef99b2ee1c77d8b0d0a7a3da2fcaa43bf44.camel@linux.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