Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for decryptBucketMetadata (0.2 sec)

  1. cmd/bucket-metadata.go

    	}
    	metabytes, err = json.Marshal(metadata)
    	if err != nil {
    		return
    	}
    	return outbuf.Bytes(), metabytes, nil
    }
    
    // decrypt bucket metadata if kms is configured.
    func decryptBucketMetadata(input []byte, bucket string, meta map[string]string, kmsContext kms.Context) ([]byte, error) {
    	if GlobalKMS == nil {
    		return nil, errKMSNotConfigured
    	}
    	keyID, kmsKey, sealedKey, err := crypto.S3.ParseMetadata(meta)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top