Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 557 for ssec (0.03 sec)

  1. docs/site-replication/run-ssec-object-replication.sh

    	exit_1
    fi
    
    repcount4=$(./mc ls minio2/test-bucket/custpartsize --insecure | wc -l)
    if [ "${repcount4}" -ne 1 ]; then
    	echo "BUG: object test-bucket/custpartsize not replicated"
    	exit_1
    fi
    
    # Stat the SSEC objects from source site
    echo "Stat minio1/test-bucket/encrypted"
    ./mc stat --no-list minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. docs/site-replication/run-ssec-object-replication-with-compression.sh

    # Below should fail as compression and SSEC used at the same time
    # DISABLED: We must check the response header to see if compression was actually applied
    #RESULT=$({ ./mc put /tmp/data/mpartobj.txt minio1/test-bucket/mpartobj.txt --enc-c "minio1/test-bucket/mpartobj.txt=${TEST_MINIO_ENC_KEY}" --insecure; } 2>&1)
    #if [[ ${RESULT} != *"Server side encryption specified with SSE-C with compression not allowed"* ]]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. internal/crypto/sse.go

    )
    
    // Type represents an AWS SSE type:
    //   - SSE-C
    //   - SSE-S3
    //   - SSE-KMS
    type Type interface {
    	fmt.Stringer
    
    	IsRequested(http.Header) bool
    	IsEncrypted(map[string]string) bool
    }
    
    // IsRequested returns true and the SSE Type if the HTTP headers
    // indicate that some form server-side encryption is requested.
    //
    // If no SSE headers are present then IsRequested returns false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. internal/crypto/sse-c.go

    	"github.com/minio/minio/internal/logger"
    )
    
    type ssec struct{}
    
    var (
    	// SSEC represents AWS SSE-C. It provides functionality to handle
    	// SSE-C requests.
    	SSEC = ssec{}
    
    	_ Type = SSEC
    )
    
    // String returns the SSE domain as string. For SSE-C the
    // domain is "SSE-C".
    func (ssec) String() string { return "SSE-C" }
    
    // IsRequested returns true if the HTTP headers contains
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. cmd/encryption-v1.go

    			return objInfo.ETag
    		}
    	}
    
    	// As per AWS S3 Spec, ETag for SSE-C encrypted objects need not be MD5Sum of the data.
    	// Since server side copy with same source and dest just replaces the ETag, we save
    	// encrypted content MD5Sum as ETag for both SSE-C and SSE-KMS, we standardize the ETag
    	// encryption across SSE-C and SSE-KMS, and only return last 32 bytes for SSE-C
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  6. internal/bucket/encryption/bucket-sse-config_test.go

    				t.Errorf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err)
    			}
    			continue
    		}
    
    		if tc.keyID != "" && tc.keyID != ssec.KeyID() {
    			t.Errorf("Test case %d: Expected bucket encryption KeyID %s but got %s", i+1, tc.keyID, ssec.KeyID())
    		}
    
    		if expectedXML, err := xml.Marshal(tc.expectedConfig); err != nil || !bytes.Equal(expectedXML, []byte(tc.inputXML)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    	var objectEncryptionKey crypto.ObjectKey
    	if isEncrypted {
    		if !crypto.SSEC.IsRequested(r.Header) && crypto.SSEC.IsEncrypted(mi.UserDefined) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrSSEMultipartEncrypted), r.URL)
    			return
    		}
    		if crypto.S3.IsEncrypted(mi.UserDefined) && crypto.SSEC.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrSSEMultipartEncrypted), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. internal/crypto/metadata.go

    //
    // IsEncrypted only checks whether the metadata contains at least
    // one entry indicating SSE-C or SSE-S3.
    func IsEncrypted(metadata map[string]string) (Type, bool) {
    	if S3KMS.IsEncrypted(metadata) {
    		return S3KMS, true
    	}
    	if S3.IsEncrypted(metadata) {
    		return S3, true
    	}
    	if SSEC.IsEncrypted(metadata) {
    		return SSEC, true
    	}
    	if IsMultiPart(metadata) {
    		return nil, true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    			if err != nil {
    				return
    			}
    			if sse, err = encrypt.NewSSEC(clientKey[:]); err != nil {
    				return
    			}
    			opts.ServerSideEncryption = encrypt.SSECopy(sse)
    			return
    		}
    		return
    	}
    
    	if crypto.SSEC.IsRequested(header) {
    		clientKey, err = crypto.SSEC.ParseHTTP(header)
    		if err != nil {
    			return
    		}
    		if sse, err = encrypt.NewSSEC(clientKey[:]); err != nil {
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. internal/crypto/metadata_test.go

    func TestSSECCreateMetadata(t *testing.T) {
    	defer func(l bool) { logger.DisableLog = l }(logger.DisableLog)
    	logger.DisableLog = true
    	for i, test := range ssecCreateMetadataTests {
    		metadata := SSEC.CreateMetadata(nil, test.SealedKey)
    		sealedKey, err := SSEC.ParseMetadata(metadata)
    		if err != nil {
    			t.Errorf("Test %d: failed to parse metadata: %v", i, err)
    			continue
    		}
    		if sealedKey.Algorithm != test.SealedKey.Algorithm {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top