-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed
Labels
Description
What version of Go are you using (go version)?
1.9
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
What did you do?
I tried to setting up a tls connection based on a Trusted Platform Module key which
is basically a smartcard.
What did you expect to see?
Functions which can be implemented by myself hooking into the decrypt/sign operations
of the golang tls implementation: https://golang.org/pkg/crypto/tls/#Config
What did you see instead?
Using keys from a TPM requires custom hooks of decrypt/sign
operations because the private key never leaves the secure element. This was not
possible due to missing config functions ( https://golang.org/pkg/crypto/tls/#Config )
for the decrypt/sign operations of the TLS implementation in golang.