MCPcopy Create free account

hub / github.com/aidansteele/openrolesanywhere / functions

Functions35 in github.com/aidansteele/openrolesanywhere

↓ 7 callersFunctionappDir
()
cmd/openrolesanywhere/main.go:126
↓ 3 callersMethodPublic
()
signer.go:12
↓ 3 callersMethodSign
(rand io.Reader, undigestedMessage []byte)
signer.go:13
↓ 3 callersFunctionmakeHash
(hash hash.Hash, b []byte)
v4.go:264
↓ 2 callersFunctionNew
(ctx context.Context, api *kms.Client, keyId string)
kmssigner/kmssigner.go:27
↓ 2 callersFunctionaddX509NameFlags
(f *pflag.FlagSet)
cmd/openrolesanywhere/main.go:168
↓ 2 callersFunctiongetX509Name
(f *pflag.FlagSet)
cmd/openrolesanywhere/main.go:180
↓ 2 callersFunctionsignerFromFingerprint
(fingerprint string)
cmd/openrolesanywhere/main.go:141
↓ 2 callersFunctionsigningAlgorithm
this file is basically lifted from https://github.com/aws/aws-sdk-go-v2/blob/main/aws/signer/v4/v4.go and butchered to support only the AWS4-X509-* si
v4.go:24
↓ 1 callersMethodBuild
()
v4.go:71
↓ 1 callersFunctionCreateSession
(ctx context.Context, client *http.Client, input *CreateSessionInput)
create_session.go:49
↓ 1 callersFunctionCreateSessionRequest
(ctx context.Context, input *CreateSessionInput)
create_session.go:17
↓ 1 callersFunctionNewSignerFromSshSigner
(in ssh.AlgorithmSigner)
ssh_signer.go:12
↓ 1 callersFunctionSignHTTP
(certificate *x509.Certificate, signer Signer, r *http.Request, payloadHash, service, region string, signingTi
v4.go:35
↓ 1 callersFunctionacceptRequest
(ctx context.Context, requestFile string, duration time.Duration, subject pkix.Name)
cmd/openrolesanywhere/accept_request.go:21
↓ 1 callersFunctionbuildAuthorizationHeader
(certificate *x509.Certificate, credentialStr, signedHeadersStr, signingSignature string)
v4.go:237
↓ 1 callersMethodbuildCanonicalHeaders
(host string, header http.Header, length int64)
v4.go:141
↓ 1 callersMethodbuildCanonicalString
(method, uri, query, signedHeaders, canonicalHeaders string)
v4.go:208
↓ 1 callersMethodbuildCredentialScope
()
v4.go:132
↓ 1 callersMethodbuildSignature
(strToSign string)
v4.go:228
↓ 1 callersMethodbuildStringToSign
(credentialScope, canonicalRequestString string)
v4.go:219
↓ 1 callersFunctioncreateCA
(ctx context.Context, name, keyId string, subject pkix.Name, duration time.Duration)
cmd/openrolesanywhere/create_ca.go:23
↓ 1 callersFunctioncreateProfile
(ctx context.Context, name string, roleArns []string, duration time.Duration)
cmd/openrolesanywhere/create_profile.go:15
↓ 1 callersFunctioncredentialProcess
(ctx context.Context, name, roleArn string, duration time.Duration)
cmd/openrolesanywhere/credential_process.go:17
↓ 1 callersFunctiongetURIPath
(u *url.URL)
v4.go:270
↓ 1 callersFunctionrequestCertificate
(ctx context.Context, fingerprint string)
cmd/openrolesanywhere/request_certificate.go:10
↓ 1 callersMethodsetRequiredSigningFields
(headers http.Header)
v4.go:125
FunctionNewSignerFromCryptoSigner
(in crypto.Signer)
crypto_signer.go:9
MethodPublic
()
crypto_signer.go:22
MethodPublic
()
ssh_signer.go:58
MethodPublic
()
kmssigner/kmssigner.go:41
MethodSign
(rand io.Reader, message []byte)
crypto_signer.go:17
MethodSign
(rand io.Reader, message []byte)
ssh_signer.go:20
MethodSign
(rand io.Reader, digest []byte, opts crypto.SignerOpts)
kmssigner/kmssigner.go:45
Functionmain
()
cmd/openrolesanywhere/main.go:19