Thread (49 messages) 49 messages, 10 authors, 2024-06-28

Re: [RFC net-next 01/15] psp: add documentation

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-05-11 00:11:33

On Fri, 10 May 2024 15:19:23 -0700 Saeed Mahameed wrote:
quoted
+PSP is designed primarily for hardware offloads. There is currently
+no software fallback for systems which do not have PSP capable NICs.
+There is also no standard (or otherwise defined) way of establishing
+a PSP-secured connection or exchanging the symmetric keys.
+
+The expectation is that higher layer protocols will take care of
+protocol and key negotiation. For example one may use TLS key exchange,
+announce the PSP capability, and switch to PSP if both endpoints
+are PSP-capable.
The documentation doesn't include anything about userspace, other than
highlevel remarks on how this is expected to work.
The cover letter does.
What are we planning for userspace? I know we have kperf basic support and
some experimental python library, but nothing official or psp centric. 
Remind me, how long did it take for kernel TLS support to be merged
into OpenSSL? ;)
I propose to start community driven project with a well established
library, with some concrete sample implementation for key negotiation,
as a plugin maybe, so anyone can implement their own key-exchange
mechanisms on top of the official psp library.
Yes, I should have CCed Meta's folks who work on TLS [1]. Adding them
now. More than happy to facilitate the discussion, maybe Willem can
CC the right Google folks, IDK who else...

We should start moving with the kernel support, IMO, until we do 
the user space implementation is stalled. I don't expect that the
way we install keys in the kernel would be impacted by the handshake.

[1] https://github.com/facebookincubator/fizz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help