Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Foxboron/ssh-tpm-ca-authority
/ functions
Functions
50 in github.com/Foxboron/ssh-tpm-ca-authority
⨍
Functions
50
◇
Types & classes
18
↓ 5 callers
Method
Verify
()
attest/attest.go:462
↓ 4 callers
Function
ReadEKCert
(rwc transport.TPMCloser)
attest/attest.go:345
↓ 2 callers
Method
Close
Close implements the TPM interface.
cmd/ssh-tpm-ca-authority/main_test.go:32
↓ 2 callers
Method
CreateChallenge
(secret []byte)
attest/attest.go:496
↓ 2 callers
Method
GetCASignedKey
(rwc transport.TPMCloser, clientkey *keyfile.TPMKey, rsp *tpm2.CreateResponse, user, host string)
client/client.go:57
↓ 2 callers
Method
GetUser
(user string, ek string)
server/config.go:48
↓ 2 callers
Method
Handlers
()
server/server.go:39
↓ 2 callers
Method
HasHost
(host string)
server/config.go:62
↓ 2 callers
Function
NewClient
(url string)
client/client.go:33
↓ 2 callers
Function
NewTPMAttestServer
(rwc transport.TPMCloser, config *Config)
server/server.go:211
↓ 2 callers
Method
VerifyCreation
(restricted bool)
attest/attest.go:394
↓ 2 callers
Function
eccIntToBytes
ECC coordinates need to maintain a specific size based on the curve, so we pad the front with zeros. This is particularly an issue for NIST-P521 coord
attest/attest.go:339
↓ 2 callers
Function
getAK
(rwc transport.TPMCloser)
attest/attest.go:224
↓ 1 callers
Method
Close
Close implements the TPM interface.
cmd/getkey/main.go:37
↓ 1 callers
Method
GetAttestURL
()
client/client.go:40
↓ 1 callers
Function
GetECDSAFromTPMTPublic
(pub *tpm2.TPMTPublic)
attest/attest.go:680
↓ 1 callers
Method
GetKey
(rwc transport.TPMCloser, user, host string)
client/client.go:48
↓ 1 callers
Method
GetSecret
(rwc transport.TPMCloser, ch *EncryptedCredential)
attest/attest.go:195
↓ 1 callers
Method
GetSubmitURL
()
client/client.go:44
↓ 1 callers
Function
NewAttestationParameters
(rwc transport.TPMCloser, tpmkey *keyfile.TPMKey, rsp *tpm2.CreateResponse)
attest/attest.go:238
↓ 1 callers
Function
NewConfig
(b []byte)
server/config.go:72
↓ 1 callers
Function
OpenSimulator
OpenSimulator starts and opens a TPM simulator.
cmd/getkey/main.go:26
↓ 1 callers
Function
OpenSimulator
OpenSimulator starts and opens a TPM simulator.
cmd/ssh-tpm-ca-authority/main_test.go:37
↓ 1 callers
Function
VerifySignature
(pub *tpm2.TPMTPublic, b []byte, sig *tpm2.TPMTSignature)
attest/attest.go:693
↓ 1 callers
Function
VerifyUserAndJWT
(connector string, email string, nonce string, jwt string)
oidc/oidc.go:189
↓ 1 callers
Function
createECCSeed
(pub *tpm2.TPMTPublic, label string)
attest/attest.go:529
↓ 1 callers
Function
credentialWrapping
(aik tpm2.TPM2BName, pub *tpm2.TPMTPublic, secret []byte)
attest/attest.go:588
↓ 1 callers
Function
getCode
(codeCh chan string, errCh chan error)
oidc/oidc.go:96
↓ 1 callers
Function
run
(ctx context.Context, rwc transport.TPMCloser, config *server.Config)
cmd/ssh-tpm-ca-authority/main.go:25
↓ 1 callers
Function
startRedirectListener
(state, htmlPage, redirectURL string, codeCh chan string, errCh chan error)
oidc/oidc.go:35
Function
CreateChallenge
(ap *AttestationParameters)
attest/attest.go:639
Function
CreateSRK
(rwc transport.TPMCloser, hier tpm2.TPMHandle, ownerAuth []byte)
attest/attest.go:645
Function
Decode
(b io.ReadCloser)
internal/json/json.go:19
Function
EkPolicy
(t transport.TPM, handle tpm2.TPMISHPolicy, nonceTPM tpm2.TPM2BNonce)
attest/attest.go:384
Function
Encode
(w http.ResponseWriter, status int, v T)
internal/json/json.go:10
Method
Flush
(rwc transport.TPMCloser)
attest/attest.go:191
Method
IsValidUser
(user string, ek string)
server/config.go:42
Method
MarshalJSON
()
attest/attest.go:126
Function
RunOIDCFlow
(connector, nonce string)
oidc/oidc.go:107
Method
Send
Send implements the TPM interface.
cmd/getkey/main.go:21
Method
Send
Send implements the TPM interface.
cmd/ssh-tpm-ca-authority/main_test.go:27
Function
TestMain
(t *testing.T)
cmd/ssh-tpm-ca-authority/main_test.go:47
Function
TestYaml
(t *testing.T)
server/config_test.go:27
Method
UnmarshalJSON
(b []byte)
attest/attest.go:145
Method
UnmarshalYAML
(b []byte)
server/config.go:15
Method
attestHandler
(w http.ResponseWriter, r *http.Request)
server/server.go:46
Function
main
()
cmd/getek/main.go:13
Function
main
()
cmd/getkey/main.go:50
Function
main
()
cmd/ssh-tpm-ca-authority/main.go:55
Method
submitHandler
(w http.ResponseWriter, r *http.Request)
server/server.go:113