Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 311 for jwtm (0.06 sec)

  1. pilot/pkg/security/authn/policy_applier_test.go

    						Policy: &authn_alpha.Policy{
    							Origins: []*authn_alpha.OriginAuthenticationMethod{
    								{
    									Jwt: &authn_alpha.Jwt{
    										Issuer: "https://secret.bar.com",
    									},
    								},
    								{
    									Jwt: &authn_alpha.Jwt{
    										Issuer: "https://secret.foo.com",
    									},
    								},
    							},
    							OriginIsOptional: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// other authenticators may run before or after the JWT authenticators.
    	// The specific position of JWT authenticators in relation to other
    	// authenticators is neither defined nor stable across releases.  Since
    	// each JWT authenticator must have a unique issuer URL, at most one
    	// JWT authenticator will attempt to cryptographically validate the token.
    	//
    	// The minimum valid JWT payload must contain the following claims:
    	// {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. tests/common/jwt/jwt_token.go

    // limitations under the License.
    
    // package jwt includes sample JWT Token used in e2e tests.
    package jwt
    
    const (
    	// Payload {
    	//  "exp": 4715782722,
    	//  "groups": [
    	//    "group-1"
    	//  ],
    	//  "iat": 1562182722,
    	//  "iss": "******@****.***",
    	//  "sub": "sub-1"
    	// }
    	// Generated by: security/tools/jwt/samples/gen-jwt.py tests/common/jwt/key.pem -jwks=tests/common/jwt/jwks.json
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. tests/integration/security/jwt_test.go

    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/tests/common/jwt"
    )
    
    // TestRequestAuthentication tests beta authn policy for jwt.
    func TestRequestAuthentication(t *testing.T) {
    	payload1 := strings.Split(jwt.TokenIssuer1, ".")[1]
    	payload2 := strings.Split(jwt.TokenIssuer2, ".")[1]
    	payload3 := strings.Split(jwt.TokenIssuer1WithNestedClaims2, ".")[1]
    	framework.NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  5. internal/config/identity/openid/rsa-sha3_contrib.go

    	SigningMethodRS3256 = &jwt.SigningMethodRSA{Name: "RS3256", Hash: crypto.SHA3_256}
    	jwt.RegisterSigningMethod(SigningMethodRS3256.Alg(), func() jwt.SigningMethod {
    		return SigningMethodRS3256
    	})
    
    	// RS3384
    	SigningMethodRS3384 = &jwt.SigningMethodRSA{Name: "RS3384", Hash: crypto.SHA3_384}
    	jwt.RegisterSigningMethod(SigningMethodRS3384.Alg(), func() jwt.SigningMethod {
    		return SigningMethodRS3384
    	})
    
    	// RS3512
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. internal/config/identity/openid/ecdsa-sha3_contrib.go

    	// ES256
    	SigningMethodES3256 = &jwt.SigningMethodECDSA{Name: "ES3256", Hash: crypto.SHA3_256, KeySize: 32, CurveBits: 256}
    	jwt.RegisterSigningMethod(SigningMethodES3256.Alg(), func() jwt.SigningMethod {
    		return SigningMethodES3256
    	})
    
    	// ES384
    	SigningMethodES3384 = &jwt.SigningMethodECDSA{Name: "ES3384", Hash: crypto.SHA3_384, KeySize: 48, CurveBits: 384}
    	jwt.RegisterSigningMethod(SigningMethodES3384.Alg(), func() jwt.SigningMethod {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/jwt/kube.go

    			scopes.Framework.Error(err)
    		} else {
    			scopes.Framework.Infof("=== SUCCEEDED: Deploy JWT server in %v ===", time.Since(start))
    		}
    	}()
    
    	// Create the namespace, if unspecified.
    	if ns == nil {
    		ns, err = namespace.New(ctx, namespace.Config{
    			Prefix: "jwt",
    			Inject: true,
    		})
    		if err != nil {
    			return
    		}
    	}
    
    	server = &serverImpl{
    		ns: ns,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 22 23:45:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  8. internal/jwt/parser_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. pkg/serviceaccount/claims_test.go

    			// pod
    			sa:  sa,
    			pod: pod,
    			// empty audience
    			aud: []string{},
    			exp: 100,
    
    			sc: &jwt.Claims{
    				Subject:   "system:serviceaccount:myns:mysvcacct",
    				IssuedAt:  jwt.NewNumericDate(time.Unix(1514764800, 0)),
    				NotBefore: jwt.NewNumericDate(time.Unix(1514764800, 0)),
    				Expiry:    jwt.NewNumericDate(time.Unix(1514764800+100, 0)),
    			},
    			pc: &privateClaims{
    				Kubernetes: kubernetes{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. security/tools/jwt/samples/README.md

    ```bash
    TOKEN=$(curl https://raw.githubusercontent.com/istio/istio/master/security/tools/jwt/samples/demo.jwt -s)
    curl --header "Authorization: Bearer $TOKEN" $INGRESS_HOST/headers -s -o /dev/null -w "%{http_code}\n"
    ```
    
    Alternatively, you can use the `gen-jwt.py` script to create new test token:
    
    ```bash
    TOKEN=$(./gen-jwt.py key.pem --expire=300 --iss "******@****.***")
    ```
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 24 15:56:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top