Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for KeyID (0.03 sec)

  1. cmd/bucket-handlers.go

    		var (
    			reader io.Reader
    			keyID  string
    			key    []byte
    			kmsCtx kms.Context
    		)
    		kind, _ := crypto.IsRequested(formValues)
    		switch kind {
    		case crypto.SSEC:
    			key, err = ParseSSECustomerHeader(formValues)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		case crypto.S3KMS:
    			keyID, kmsCtx, err = crypto.S3KMS.ParseHTTP(formValues)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  2. cmd/bucket-encryption-handlers.go

    		return
    	}
    
    	// Return error if KMS is not initialized
    	if GlobalKMS == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    	kmsKey := encConfig.KeyID()
    	if kmsKey != "" {
    		kmsContext := kms.Context{"MinIO admin API": "ServerInfoHandler"} // Context for a test key operation
    		_, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{Name: kmsKey, AssociatedData: kmsContext})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/object-api-options.go

    	}
    	etag := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceETag))
    
    	if crypto.S3KMS.IsRequested(hdr) {
    		keyID, context, err := crypto.S3KMS.ParseHTTP(hdr)
    		if err != nil {
    			return ObjectOptions{}, err
    		}
    		sseKms, err := encrypt.NewSSEKMS(keyID, context)
    		if err != nil {
    			return ObjectOptions{}, err
    		}
    		return ObjectOptions{
    			ServerSideEncryption: sseKms,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. internal/kms/kms.go

    			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
    }
    
    func (c *kmsConn) Decrypt(ctx context.Context, req *DecryptRequest) ([]byte, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidEncryptionKeyID: {
    		Code:           "InvalidRequest",
    		Description:    "The specified KMS KeyID contains unsupported characters",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInsecureSSECustomerRequest: {
    		Code:           "InvalidRequest",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    			// Return error if KMS is not initialized
    			if GlobalKMS == nil {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("%s", errorCodes[ErrKMSNotConfigured].Description))
    				continue
    			}
    			kmsKey := encConfig.KeyID()
    			if kmsKey != "" {
    				_, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    					Name:           kmsKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.28.md

    - Hashing of KeyID in Logs
      
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:34:59 UTC 2024
    - 456.9K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.27.md

    - Added apiserver_envelope_encryption_invalid_key_id_from_status_total to measure number of times an invalid keyID is returned by the Status RPC call. ([#115846](https://github.com/kubernetes/kubernetes/pull/115846), [@ritazh](https://github.com/ritazh)) [SIG API Machinery and Auth]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (1)
Back to top