public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* setting the TLS cipher list for HTTPS booting
@ 2018-01-19 14:33 Laszlo Ersek
  2018-01-20  6:18 ` Wu, Jiaxin
  0 siblings, 1 reply; 15+ messages in thread
From: Laszlo Ersek @ 2018-01-19 14:33 UTC (permalink / raw)
  To: Jiaxin Wu, Fu, Siyuan; +Cc: edk2-devel-01

Hello Jiaxin, Siyuan,

it seems that the "preferred set of ciphers" can be controlled at the
TLS session level.

With regard to HTTPS booting, "NetworkPkg/HttpDxe" makes several calls
to EFI_TLS_PROTOCOL.SetSessionData() -- in the file
"NetworkPkg/HttpDxe/HttpsSupport.c", -- but it never passes
"EfiTlsCipherList" as argument for the "DataType" parameter.

Is there a way for platform code to control the list of ciphers?

This is different from other "global" TLS aspects, such as
EFI_TLS_CONFIGURATION_PROTOCOL, because the latter is a singleton
"service" protocol, while EFI_TLS_PROTOCOL instances are created by
clients as-needed, via TLS service binding. So, I think if a platform
wanted to control this on the session level, then it would have to "ask"
HttpDxe somehow.

If you agree -- do you suggest a dynamic PCD, or an extension to the
UEFI spec (at the HTTP level)?

Thanks!
Laszlo


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-02-06  2:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2018-02-05  3:33                       ` Wu, Jiaxin
2018-02-05 10:46                         ` Laszlo Ersek
2018-02-06  2:34                           ` Wu, Jiaxin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox