From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"chao-jui.huang@hpe.com" <chao-jui.huang@hpe.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: "Wei, Kent (HPS SW)" <kent.wei@hpe.com>,
"Lin, Derek (HPS SW)" <derek.lin2@hpe.com>,
"Wang, Nickle (HPS SW)" <nickle.wang@hpe.com>,
"Wang, Sunny (HPS SW)" <sunnywang@hpe.com>
Subject: Re: Propose on enabling TLSv1.3
Date: Mon, 3 Aug 2020 22:06:33 +0000 [thread overview]
Message-ID: <MN2PR11MB44613E262F47563352B624F2D24D0@MN2PR11MB4461.namprd11.prod.outlook.com> (raw)
In-Reply-To: <DF4PR8401MB1067E1659BBAA855D904A51CCD4D0@DF4PR8401MB1067.NAMPRD84.PROD.OUTLOOK.COM>
[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]
Hi Mathew,
There are a couple Tianocore Bugzillas open on this topic
https://bugzilla.tianocore.org/show_bug.cgi?id=2424
https://bugzilla.tianocore.org/show_bug.cgi?id=2541
I recommend you review these and comment on the current proposals.
Best regards,
Mike
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Huang, Matthew (HPS SW)
Sent: Sunday, August 2, 2020 10:55 PM
To: devel@edk2.groups.io
Cc: Wei, Kent (HPS SW) <kent.wei@hpe.com>; Lin, Derek (HPS SW) <derek.lin2@hpe.com>; Wang, Nickle (HPS SW) <nickle.wang@hpe.com>; Wang, Sunny (HPS SW) <sunnywang@hpe.com>
Subject: [edk2-devel] Propose on enabling TLSv1.3
Hi:
It’s Matthew from HPE UEFI team. There is no TLSv1.3 support under current EDK2 releases, and I’m working on enabling TLSv1.3 under UEFI and the result looks promising. OpenSSL have already made RFC8446 happens in late 2018, the submodule we’re having on the master branch is more than enough to make the whole thing work.
There are several problems needed to be addressed:'
1. OpenSslLib needs a reconfiguration with “no-ec” option on in process_files.pl, and no off the shelf Perl built with native Windows command prompt could’ve processed the file correctly. But I’ve managed to remove the blockage using Perl MSYS2 build under Windows without any error. Since this is only a one-timer, I don’t think that would’ve caused too much of a trouble. The produced opensslconf.h seems correct, and this is all we need.
2. There are some policies issues caused by OpenSSL, OpenSSL explicitly describes that SSL_set_cipher_list is for TLS version 1.2 and lower, SSL_set_ciphersuites is for TLSv1.3, but these function are tangled to each other and the behavior is not equally fair. In current revision EDK2 included in the OpenSSL submodule, SSL_set_cipher_list can parse v1.3 cipher suites but will not apply them, meanwhile SSL_set_ciphersuites cannot support any cipher lower than v1.3. This will cause a problem that when user applies auto versioning, TLSv1.3 will not be applied even if v1.3 is enabled except setting an empty list using SSL_set_cipher_list.
3. Apart from point 2., SSL_set_ciphersuites in current revision EDK2 included in the OpenSSL submodule, cannot exclude ciphersuites that user disabled, so every cipher suites will be in the list for server to
But I browsed all OpenSSL github PRs or merge-pending patches, both point 2 and 3 have somewhat one or more solutions going on, I’ve applied them for testing and the result is fairly satisfying.
If there’s a chance we discuss this in code? It will be easier this way, I have a working patch we can start with, thanks.
Regards,
Matthew
[-- Attachment #2: Type: text/html, Size: 44110 bytes --]
next prev parent reply other threads:[~2020-08-03 22:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-03 5:54 Propose on enabling TLSv1.3 Huang, Matthew (HPS SW)
2020-08-03 22:06 ` Michael D Kinney [this message]
2020-08-10 2:59 ` Zhiguang Liu
2020-08-10 4:26 ` [edk2-devel] " Huang, Matthew (HPS SW)
2020-11-19 17:09 ` Matthew Carlson
[not found] ` <1629CD946C53C473.23035@groups.io>
2020-08-12 11:12 ` 回覆: " Huang, Matthew (HPS SW)
[not found] ` <162A80E91C03CB2F.12108@groups.io>
2020-08-19 23:16 ` Huang, Matthew (HPS SW)
2020-08-20 0:50 ` Zhiguang Liu
2020-09-04 2:32 ` Zhiguang Liu
2020-09-07 2:37 ` Zhiguang Liu
2020-09-07 5:29 ` Yao, Jiewen
2020-09-07 5:39 ` Huang, Matthew (HPS SW)
2020-11-19 2:07 ` Zhiguang Liu
2020-11-19 9:34 ` Laszlo Ersek
2020-11-25 5:12 ` Huang, Matthew (HPS SW)
2020-11-25 7:27 ` Zhiguang Liu
2020-12-03 0:24 ` Huang, Matthew (HPS SW)
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-list 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=MN2PR11MB44613E262F47563352B624F2D24D0@MN2PR11MB4461.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/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