Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use crypto.Signer whenever possible #681

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 7, 2024

  1. Use crypto.Signer whenever possible

    For certificate-based authentication, it is possible that
    the private key resides in hardware such as Trusted Platform
    Module (TPM) and the only way in Golang to access it via
    the crypto.Signer interface.
    
    Any code paths that deal with a private key should use the
    crypto.Signer interface which comes with a function called
    Public() and it can be used to determine the type of key used.
    
    Fixes pion#524
    hoihochan committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    cff130f View commit details
    Browse the repository at this point in the history