- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 311 for jwtm (0.05 sec)
-
security/pkg/util/jwtutil_test.go
jwt: thirdPartyJwt, expectedExp: time.Date(2020, time.April, 5, 10, 13, 54, 0, time.FixedZone("PDT", -int((7*time.Hour).Seconds()))), expectedErr: nil, }, "jwt with no expiration time": { jwt: firstPartyJwt, expectedExp: time.Time{}, expectedErr: nil, }, "invalid jwt": { jwt: "invalid-section1.invalid-section2.invalid-section3", expectedExp: time.Time{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 6K bytes - Viewed (0) -
security/pkg/credentialfetcher/plugin/gce_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 03 18:09:59 UTC 2021 - 10.1K bytes - Viewed (0) -
pilot/cmd/pilot-agent/options/security.go
) (*security.Options, error) { jwtPath := constants.ThirdPartyJwtPath switch jwtPolicy { case jwt.PolicyThirdParty: log.Info("JWT policy is third-party-jwt") jwtPath = constants.ThirdPartyJwtPath case jwt.PolicyFirstParty: log.Warnf("Using deprecated JWT policy 'first-party-jwt'; treating as 'third-party-jwt'") jwtPath = constants.ThirdPartyJwtPath default: log.Info("Using existing certs") } o := secOpt
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 4.7K bytes - Viewed (0) -
security/tools/jwt/README.md
Only string values are supported. ``` ## Example Here is an example of using sa-jwt.py to generate a JWT token. ```bash ./sa-jwt.py /path/to/service_account.json -iss ******@****.*** -aud foo,bar ./sa-jwt.py /path/to/service_account.json -iss ******@****.*** -aud foo,bar -claims key1:value1,key2:value2
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Sep 14 20:15:07 UTC 2019 - 1.9K bytes - Viewed (0) -
tests/integration/security/authz_test.go
prefix: "[No JWT]", jwt: "", path: "/token1", allow: false, }, { prefix: "[No JWT]", jwt: "", path: "/token2", allow: false, }, { prefix: "[Token1]", jwt: jwt.TokenIssuer1, path: "/token1", allow: true, }, { prefix: "[Token1]", jwt: jwt.TokenIssuer1,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/oidc_test.go
} // Create an expired JWT token expiredStr := strconv.FormatInt(time.Now().Add(-time.Hour).Unix(), 10) expiredClaims := `{"iss": "` + server.URL + `", "aud": ["baz.svc.id.goog"], "sub": "system:serviceaccount:bar:foo", "exp": ` + expiredStr + `}` expiredToken, err := generateJWT(&key, []byte(expiredClaims)) if err != nil { t.Fatalf("failed to generate an expired JWT: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/integration/security/testdata/authz/egress-gateway.yaml.tmpl
- to: # checks only a call 443 over istio mutual without JWT - operation: hosts: [ "{{ .Allowed.ServiceName }}-{{ .Allowed.NamespaceName }}-only.com" ] from: - source: principals: [ "{{ .Allowed.ServiceAccountName }}" ] - to: # checks workload can call 443 over istio mutual with JWT - operation: hosts: [ "jwt-only.com" ] from: - source:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 31 15:08:52 UTC 2023 - 5.2K bytes - Viewed (0) -
tests/integration/security/policy_attachment_only/jwt_gateway_test.go
WithAuthz(jwt.TokenExpired). Build() opts.Check = check.Status(http.StatusUnauthorized) }, }, { name: "allow with sub-1 token on any.com", customizeCall: func(opts *echo.CallOptions, to echo.Target) { opts.HTTP.Path = "/" opts.HTTP.Headers = headers.New(). WithHost(fmt.Sprintf("any-request-principal-ok.%s.com", to.ServiceName())). WithAuthz(jwt.TokenIssuer1).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 9.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go
} // untrustedIssuer extracts an untrusted "iss" claim from the given JWT token, // or returns an error if the token can not be parsed. Since the JWT is not // verified, the returned issuer should not be trusted. func untrustedIssuer(token string) (string, error) { if strings.HasPrefix(strings.TrimSpace(token), "{") { return "", fmt.Errorf("token is not compact JWT") } parts := strings.Split(token, ".") if len(parts) != 3 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 37.9K bytes - Viewed (0) -
samples/jwt-server/src/Dockerfile
# limitations under the License. # build a jwt-server binary using the golang container FROM golang:1.19 as builder WORKDIR /go/src/istio.io/jwt-server/ COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -o jwt-server main.go FROM gcr.io/distroless/static-debian11@sha256:21d3f84a4f37c36199fd07ad5544dcafecc17776e3f3628baf9a57c8c0181b3f as distroless WORKDIR /bin/
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 04 03:06:26 UTC 2022 - 1.1K bytes - Viewed (0)