Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for KMSKey (0.15 sec)

  1. internal/crypto/sse-s3.go

    func (sses3) ParseMetadata(metadata map[string]string) (keyID string, kmsKey []byte, sealedKey SealedKey, err error) {
    	// Extract all required values from object metadata
    	b64IV, ok := metadata[MetaIV]
    	if !ok {
    		return keyID, kmsKey, sealedKey, errMissingInternalIV
    	}
    	algorithm, ok := metadata[MetaAlgorithm]
    	if !ok {
    		return keyID, kmsKey, sealedKey, errMissingInternalSealAlgorithm
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. internal/crypto/sse-kms.go

    func (ssekms) ParseMetadata(metadata map[string]string) (keyID string, kmsKey []byte, sealedKey SealedKey, ctx kms.Context, err error) {
    	// Extract all required values from object metadata
    	b64IV, ok := metadata[MetaIV]
    	if !ok {
    		return keyID, kmsKey, sealedKey, ctx, errMissingInternalIV
    	}
    	algorithm, ok := metadata[MetaAlgorithm]
    	if !ok {
    		return keyID, kmsKey, sealedKey, ctx, errMissingInternalSealAlgorithm
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. internal/config/crypto.go

    	}
    	return stream.DecryptReader(ciphertext, metadata.Nonce, nil), nil
    }
    
    type encryptedObject struct {
    	KeyID  string `json:"keyid"`
    	KMSKey []byte `json:"kmskey"`
    
    	Algorithm sio.Algorithm `json:"algorithm"`
    	Nonce     []byte        `json:"nonce"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. cmd/bucket-encryption-handlers.go

    	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, kmsKey, kmsContext)
    		if err != nil {
    			if errors.Is(err, kes.ErrKeyNotFound) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top