public inbox for tpm2@lists.linux.dev
 help / color / mirror / Atom feed
From: Petr Gotthard <petr.gotthard at centrum.cz>
To: tpm2@lists.01.org
Subject: [tpm2] Re: {External} Re: OpenSSL 3 and tpm2 provider... / openssl cms
Date: Thu, 28 Apr 2022 17:10:57 +0200	[thread overview]
Message-ID: <20220428171057.180185B4@centrum.cz> (raw)
In-Reply-To: DS7PR03MB55766301B4D6369D582181AD9AFD9@ds7pr03mb5576.namprd03.prod.outlook.com

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

>I also tried this:  
>
>openssl cms -encrypt -provider tpm2 -provider base -propquery ?provider=tpm2,tpm2.cipher!=yes -in file.txt -recip handle:0x01000013 -aes128
>
>Same result...

That should work as well. Have you tried "-provider default" instead of "-provider base"?

Openssl should be able to combine algorithms from different providers and the tpm2-openssl provider announces to openssl only those algorithms that are supported by the tpm2 chip itself. The only tricky bit is when the same algorithm is implemented twice, which is not your case... yet ;-).


Petr

             reply	other threads:[~2022-04-28 15:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28 15:10 Petr Gotthard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-28 17:39 [tpm2] Re: {External} Re: OpenSSL 3 and tpm2 provider... / openssl cms Petr Gotthard
2022-04-28 16:33 Sievert, James
2022-04-28 16:26 Petr Gotthard
2022-04-28 15:46 Sievert, James
2022-04-28 15:07 Sievert, James
2022-04-28 14:42 Sievert, James
2022-04-27 17:37 Petr Gotthard
2022-04-27 15:20 Sievert, James
2022-04-27 14:46 Petr Gotthard
2022-04-26 21:54 Petr Gotthard
2022-04-26 21:43 Sievert, James
2022-04-26 20:22 Petr Gotthard

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=20220428171057.180185B4@centrum.cz \
    --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