GithubHelp home page GithubHelp logo

PKCS11 tokens that don't support RSA-PSS don't work. We should make sure the mechanism is supported or handle the error about ghostunnel HOT 3 OPEN

fliot avatar fliot commented on May 27, 2024
PKCS11 tokens that don't support RSA-PSS don't work. We should make sure the mechanism is supported or handle the error

from ghostunnel.

Comments (3)

mcpherrinm avatar mcpherrinm commented on May 27, 2024

Is the pkcs11 DLL provided by your HSM vendor? Are you willing to share what vendor that is?

There's no flag for this, but I wonder if it has to do with RSA-PSS in TLS1.3. Do you know if the server you're connecting to supports TLS1.3?

If you've got any Go experience, can you try adding a MaxVersion: tls.TlsVersionTLS12 around here: https://github.com/ghostunnel/ghostunnel/blob/master/tls.go#L115 and see if that works?

Otherwise we might have to add a bit of debugging to log what parameters it's unhappy with.

from ghostunnel.

fliot avatar fliot commented on May 27, 2024

Hi,
Thanks for your feedback,
Indeed, with this

MaxVersion:               tls.VersionTLS12,
Renegotiation: tls.RenegotiateOnceAsClient,

I got some success, and definitively TLS1.3 is blocking, due to my HSM/pkcs11 DLL functions.
Great thanks for your support.

from ghostunnel.

mcpherrinm avatar mcpherrinm commented on May 27, 2024

I'm going to keep this open as a bug, as it would be reasonable to support these tokens but limited to TLS 1.2, or at least produce a better error message

from ghostunnel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.