Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 145 for _encrypted (0.41 sec)

  1. cmd/object-api-datatypes.go

    // It will be decrypted if needed.
    func (o *ObjectInfo) ArchiveInfo(h http.Header) []byte {
    	if len(o.UserDefined) == 0 {
    		return nil
    	}
    	z, ok := o.UserDefined[archiveInfoMetadataKey]
    	if !ok {
    		return nil
    	}
    	data := []byte(z)
    	if v, ok := o.UserDefined[archiveTypeMetadataKey]; ok && v == archiveTypeEnc {
    		decrypted, err := o.metadataDecrypter(h)(archiveTypeEnc, data)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. cmd/kms-handlers.go

    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    		return
    	}
    
    	// 3. Compare generated key with decrypted key
    	if subtle.ConstantTimeCompare(key.Plaintext, decryptedKey) != 1 {
    		response.DecryptionErr = "The generated and the decrypted data key do not match"
    		resp, err := json.Marshal(response)
    		if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. internal/config/certs.go

    	}
    
    	return x509Certs, nil
    }
    
    // LoadX509KeyPair - load an X509 key pair (private key , certificate)
    // from the provided paths. The private key may be encrypted and is
    // decrypted using the ENV_VAR: MINIO_CERT_PASSWD.
    func LoadX509KeyPair(certFile, keyFile string) (tls.Certificate, error) {
    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. internal/crypto/doc.go

    //
    // All objects are encrypted with an unique and randomly generated 'ObjectKey'.
    // The ObjectKey itself is never stored in plaintext. Instead it is only stored
    // in a sealed from. The sealed 'ObjectKey' is created by encrypting the 'ObjectKey'
    // with an unique key-encryption-key. Given the correct key-encryption-key the
    // sealed 'ObjectKey' can be unsealed and the object can be decrypted.
    //
    // ## SSE-C
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 26 19:52:29 UTC 2022
    - 5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureCredentialStorage.java

         * @param plaintext the credentials to encrypt
         * @return base64 encoded encrypted credentials
         * @throws GeneralSecurityException if encryption fails
         */
        public String encryptToString(char[] plaintext) throws GeneralSecurityException {
            byte[] encrypted = encryptCredentials(plaintext);
            return Base64.getEncoder().encodeToString(encrypted);
        }
    
        /**
         * Decrypt credentials from a base64 string
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. internal/kms/kes.go

    	}
    	return nil
    }
    
    // DeleteKey deletes a key at the KMS with the given key ID.
    // Please note that is a dangerous operation.
    // Once a key has been deleted all data that has been encrypted with it cannot be decrypted
    // anymore, and therefore, is lost.
    func (c *kesConn) DeleteKey(ctx context.Context, req *DeleteKeyRequest) error {
    	if err := c.client.DeleteKey(ctx, req.Name); err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/s3-zip-handlers.go

    		b, err := io.ReadAll(gr)
    		gr.Close()
    		if err != nil {
    			return nil, ObjectInfo{}, err
    		}
    		if size > len(b) {
    			size = len(b)
    		}
    
    		// Calculate the object real size if encrypted
    		if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok {
    			objSize, err = gr.ObjInfo.DecryptedSize()
    			if err != nil {
    				return nil, ObjectInfo{}, err
    			}
    		} else {
    			objSize = gr.ObjInfo.Size
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. docs/site-replication/run-ssec-object-replication.sh

    	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
    stat_out1=$(./mc stat --no-list minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json)
    src_obj1_etag=$(echo "${stat_out1}" | jq '.etag')
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. internal/crypto/key.go

    	}
    	return iv
    }
    
    // SealedKey represents a sealed object key. It can be stored
    // at an untrusted location.
    type SealedKey struct {
    	Key       [64]byte // The encrypted and authenticated object-key.
    	IV        [32]byte // The random IV used to encrypt the object-key.
    	Algorithm string   // The sealing algorithm used to encrypt the object key.
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. internal/kms/conn.go

    // plaintext-ciphertext pair and the ID of the key
    // used to generate the ciphertext.
    //
    // The plaintext can be used for cryptographic
    // operations - like encrypting some data. The
    // ciphertext is the encrypted version of the
    // plaintext data and can be stored on untrusted
    // storage.
    type DEK struct {
    	KeyID      string // Name of the master key
    	Version    int    // Version of the master key (MinKMS only)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top