bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

PSK support in TLSv1.3

Open xipki opened this issue 4 years ago • 12 comments

PSK seems to still not supported in TLSv1.3. Do you have plan to support this, and what is the roadmap?

xipki avatar May 07 '21 11:05 xipki

Are you interested in "session resumption" PSKs or external PSKs? Client or server or both?

I am actually working on external PSK support in the lightweight TLS API at the moment, and it might be available in the next release. I don't really know how that would look for BCJSSE so it's not currently on the roadmap.

Hopefully this work will lead us naturally into "session resumption" PSK support, including in BCJSSE, but there's no roadmap for that yet due to many competing priorities.

peterdettman avatar May 07 '21 12:05 peterdettman

Currently, I am evaluating the addition of EST support to my opensource project XiPKI. For EST, I need the external PSK support in CA (TLS server side), and also the test client (TLS client). I prefer to TLSv1.3 since it needs less rounds than TLS1.2.

It is nice if this feature is available in the next release (do you mean 1.69?).

xipki avatar May 07 '21 12:05 xipki

This will not make this release (1.69) unfortunately. I will be implementing external PSK support around mid-June and we will put out a beta version once it is done.

peterdettman avatar Jun 05 '21 11:06 peterdettman

Is there any update to this topic?

xipki avatar Jun 29 '21 21:06 xipki

We tried TLS PSKv1.3 from 1.69 , Seems some issue still there ? Any update ?

ShashankMishra avatar Jul 07 '21 06:07 ShashankMishra

As mentioned above, this was not included in 1.69. It is currently in-progress.

peterdettman avatar Jul 08 '21 16:07 peterdettman

Hi @peterdettman

Any timeline or plan for TLS PSKv1.3 ? Any update ?

ShashankMishra avatar Oct 05 '21 11:10 ShashankMishra

TLS 1.3 PSK client-side support is already implemented since several weeks ago, and server-side support is in-progress.

peterdettman avatar Oct 06 '21 07:10 peterdettman

Thanks @peterdettman

When is it planned to release ? in 1.70 ?

ShashankMishra avatar Oct 21 '21 11:10 ShashankMishra

Yes, in 1.70. Server-side has only been done far enough to support testing, and in particular only supports PskKeyExchangeMode.psk_dhe_ke. There's probably another month before 1.70 will be released so it might be worthwhile trying it out with a beta version so that any bugs can be fixed before that.

peterdettman avatar Oct 26 '21 05:10 peterdettman

@ShashankMishra Did you have any luck with the 1.70 release?

peterdettman avatar Feb 01 '22 13:02 peterdettman

any estimated date for server side PSK TLS 1.3 support ?

mahi200 avatar May 02 '22 11:05 mahi200