From: Laszlo Ersek <lersek@redhat.com>
To: "Wu, Jiaxin" <jiaxin.wu@intel.com>,
"Fu, Siyuan" <siyuan.fu@intel.com>,
"Ye, Ting" <ting.ye@intel.com>, "Long, Qin" <qin.long@intel.com>,
"Yao, Jiewen" <jiewen.yao@intel.com>,
"Hsiung, Harry L" <harry.l.hsiung@intel.com>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: setting the TLS cipher list for HTTPS booting
Date: Thu, 25 Jan 2018 13:41:41 +0100 [thread overview]
Message-ID: <99394818-f0d5-8566-c1f7-240004e5cedd@redhat.com> (raw)
In-Reply-To: <895558F6EA4E3B41AC93A00D163B72741635FE91@SHSMSX103.ccr.corp.intel.com>
On 01/25/18 05:52, Wu, Jiaxin wrote:
> Hi Laszlo,
>
> The HttpDxe driver needs to install the Driver Binding Protocol so as
> to check if a specific controller is supported by HttpDxe. HttpDxe
> can only be started if the TcpServiceBindingProtocol existed. So, it
> has to follow the UEFI Driver Model.
>
> For the PCD usage, I think it should be fine to cover the
> configuration of UEFI Drivers through the PCD settings. The
> requirement of *.inf needs to include the PcdLib and the section of
> [Pcd]. We already have the similar pattern for this usage, for
> example, Ps2KeyboardDxe, PciBusDxe, PciSioSerialDxe, and etc in
> MdeModulePkg. Besides, there are some advantages by using PCD
> compared to the variable. First, PCD is one kind of interface that
> more formal than a private variable, the setting by PCD is more
> acceptable by the consumer. Secondly, from a *security* standpoint,
> variable can be dumped easily from the flash region. Here, even
> though it's no security impact towards the cipher list storage
> because it will be public shared to remote server, but we need to
> think and *align* with other configurations for TLS in HTTPS level.
> For example, in the future, we might support the HTTPS mutual
> authentication, than the host PrivateKey/Password
> (EfiTlsConfigDataTypeHostPrivateKey) *mustn't* be saved as a variable
> due to its confidentiality, while PCD is good choice. At that time,
> we will also provide the PCD for EfiTlsConfigDataTypeCACertificate,
> which is currently setting by the variable (TlsCaCertificate), so as
> to align all the configuration setting on one line, which can reduce
> the complexity of platform usage. Finally, we can also save the
> variable space.
>
> From the above, the dynamic PCD is a solution I still preferred.
OK, it works for me. Thanks!
Laszlo
next prev parent reply other threads:[~2018-01-25 12:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-19 14:33 setting the TLS cipher list for HTTPS booting Laszlo Ersek
2018-01-20 6:18 ` Wu, Jiaxin
2018-01-22 9:37 ` Laszlo Ersek
2018-01-23 2:43 ` Wu, Jiaxin
2018-01-23 14:01 ` Laszlo Ersek
2018-01-23 15:01 ` Laszlo Ersek
2018-01-24 2:10 ` Wu, Jiaxin
2018-01-24 3:40 ` Wu, Jiaxin
2018-01-24 6:50 ` Wu, Jiaxin
2018-01-24 16:13 ` Laszlo Ersek
2018-01-25 4:52 ` Wu, Jiaxin
2018-01-25 12:41 ` Laszlo Ersek [this message]
2018-02-05 3:33 ` Wu, Jiaxin
2018-02-05 10:46 ` Laszlo Ersek
2018-02-06 2:34 ` Wu, Jiaxin
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=99394818-f0d5-8566-c1f7-240004e5cedd@redhat.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