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 13:10:39 +0100	[thread overview]
Message-ID: <82664f73d081578de7dc45fb804ab4527fede427.camel@linux.intel.com> (raw)
In-Reply-To: CA+tBKViQvj4SfavhkL6z=GQnkWkcB7SNEgNzWSQFsZcvkLgUeQ@mail.gmail.com

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


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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-19 12:10 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  9:26 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=82664f73d081578de7dc45fb804ab4527fede427.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