Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DEK (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    	}{
    		{
    			name:               "encrypted DEK source is nil",
    			encryptedDEKSource: nil,
    			expectedError:      "encrypted DEK source is empty",
    		},
    		{
    			name:               "encrypted DEK source is empty",
    			encryptedDEKSource: []byte{},
    			expectedError:      "encrypted DEK source is empty",
    		},
    		{
    			name:               "encrypted DEK source size is greater than 1 kB",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go

    // 1. The encrypted DEK source is not empty.
    // 2. The size of encrypted DEK source is less than 1 kB.
    func validateEncryptedDEKSource(encryptedDEKSource []byte) error {
    	if len(encryptedDEKSource) == 0 {
    		return fmt.Errorf("encrypted DEK source is empty")
    	}
    	if len(encryptedDEKSource) > encryptedDEKSourceMaxSize {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 00:23:50 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  3. internal/kms/kms.go

    		AssociatedData: aad,
    		Length:         32,
    	})
    	if err != nil {
    		if errors.Is(err, kms.ErrKeyNotFound) {
    			return DEK{}, ErrKeyNotFound
    		}
    		if errors.Is(err, kms.ErrPermission) {
    			return DEK{}, ErrPermission
    		}
    		return DEK{}, errKeyGenerationFailed(err)
    	}
    
    	return DEK{
    		KeyID:      name,
    		Version:    resp.Version,
    		Plaintext:  resp.Plaintext,
    		Ciphertext: resp.Ciphertext,
    	}, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	// these constants relate to how the KMS v2 plugin status poll logic
    	// and the DEK/seed generation logic behave.  In particular, the positive
    	// interval and max TTL are closely related as the difference between
    	// these values defines the worst case window in which the write DEK/seed
    	// could expire due to the plugin going into an error state.  The
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. internal/config/certs_test.go

    kQyKGUTpDbKLuyYMFsoH73YLjBqNe+UEhPwE+FWpcky1Sp9RTx/oMLpiZaPR
    -----END CERTIFICATE-----`,
    		shouldFail: true,
    	},
    	{
    		password: "foobar",
    		privateKey: `-----BEGIN RSA PRIVATE KEY-----
    Proc-Type: 4,ENCRYPTED
    DEK-Info: AES-128-CBC,CC483BF11678C35F9F02A1AD85DAE285
    
    nMDFd+Qxk1f+S7LwMitmMofNXYNbCY4L1QEqPOOx5wnjNF1wSxmEkL7+h8W4Y/vb
    AQt/7TCcUSuSqEMl45nUIcCbhBos5wz+ShvFiez3qKwmR5HSURvqyN6PIJeAbU+h
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  6. src/encoding/pem/pem_test.go

    ZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g
    -----END CERTIFICATE-----
     1 s:/C=ZA/O=Ca Inc./CN=CA Inc
    
    -----BEGIN RSA TESTING KEY-----
    Proc-Type: 4,ENCRYPTED
    DEK-Info: DES-EDE3-CBC,80C7C7A09690757A
    
    eQp5ZkH6CyHBz7BZfUPxyLCCmftsBJ7HlqGb8Ld21cSwnzWZ4/SIlhyrUtsfw7VR
    2TTwA+odo9ex7GdxOTaH8oZFumIRoiEjHsk8U7Bhntp+ekkPP79xunnN7hb7hkhr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:56:00 UTC 2022
    - 23.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go

    		&metrics.GaugeOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "dek_source_cache_size",
    			Help:           "Number of records in data encryption key (DEK) source cache. On a restart, this value is an approximation of the number of decrypt RPC calls the server will make to the KMS plugin.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"provider_name"},
    	)
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 09 22:31:32 UTC 2023
    - 12K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    	if err != nil {
    		return nil, err
    	}
    
    	transformer, err := t.addTransformer(encKey, newKey)
    	if err != nil {
    		return nil, err
    	}
    
    	// Append the length of the encrypted DEK as the first 2 bytes.
    	encKeyLen := make([]byte, 2)
    	encKeyBytes := []byte(encKey)
    	binary.BigEndian.PutUint16(encKeyLen, uint16(len(encKeyBytes)))
    
    	prefix := append(encKeyLen, encKeyBytes...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. docs/tr/docs/alternatives.md

    Böylece Flask-apispec, Python döküman dizilerine YAML gibi farklı bir syntax yazma sorununu çözmüş oldu.
    
    **FastAPI**'ı geliştirene dek benim favori arka uç kombinasyonum Flask'in yanında Marshmallow ve Webargs ile birlikte Flask-apispec idi.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top