Skip to content

Not able to retrieve TLS mastersecret from BCJSSE 1.78.1 #1894

Open

Description

@sanjerai

I can see BCTLS provides getMasterSecret method under SessionParameters.java .

I am using Spring webclient with Jetty Client and BCJSSE as security provider for TLS1.3 over http2.
After handshake is completed i am not able to retrieve mastersecret using BCJSSE.
The BCExtendedSSLSession which i get after handshakeSucceeded event does not expose any method to fetch master secret.

Is it possible to have similar implementation as BCTLS in BCJSSE to fetch master secret.

Activity

  1. peterdettman commented on Nov 8, 2024

    @peterdettman
    Collaborator

    At the moment it's not available in BCJSSE because JSSE API provides no access to the master secret. It is a similar issue to getting channel bindings at handshake completion; my comment here mentions some possible ways we could provide the functionality in BCJSSE extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions