Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ecryptfs (0.13 sec)

  1. src/main/java/jcifs/smb1/util/DES.java

        }
    
        /// Decrypt a block of bytes.
        public void decrypt( byte[] cipherText, byte[] clearText ) {
    
            decrypt( cipherText, 0, clearText, 0 );
        }
    
        /**
         * encrypts an array where the length must be a multiple of 8
         */
        public byte[] encrypt(byte[] clearText) {
    
            int length = clearText.length;
    
            if (length % 8 != 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	if strings.HasPrefix(kmsID, ARNPrefix) {
    		return kmsID
    	}
    	return ARNPrefix + kmsID
    }
    
    // DecryptETags decryptes the ETag of all ObjectInfos using the KMS.
    //
    // It adjusts the size of all encrypted objects since encrypted
    // objects are slightly larger due to encryption overhead.
    // Further, it decrypts all single-part SSE-S3 encrypted objects
    // and formats ETags of SSE-C / SSE-KMS encrypted objects to
    // be AWS S3 compliant.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  3. cmd/s3-zip-handlers.go

    	}
    	files.OptimizeSize()
    	zipInfo, err := files.Serialize()
    	if err != nil {
    		return nil, err
    	}
    	at := archiveType
    	zipInfoStr := string(zipInfo)
    	if opts.EncryptFn != nil {
    		at = archiveTypeEnc
    		zipInfoStr = string(opts.EncryptFn(archiveTypeEnc, zipInfo))
    	}
    	srcInfo.UserDefined[archiveTypeMetadataKey] = at
    	popts := ObjectOptions{
    		MTime:     srcInfo.ModTime,
    		VersionID: srcInfo.VersionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. docs/security/README.md

    ## Server-Side Encryption
    
    MinIO supports two different types of server-side encryption ([SSE](#sse)):
    
    - **SSE-C**: The MinIO server en/decrypts an object with a secret key provided by the S3 client as part of the HTTP request headers. Therefore, [SSE-C](#ssec) requires TLS/HTTPS.
    - **SSE-S3**: The MinIO server en/decrypts an object with a secret key managed by a KMS. Therefore, MinIO requires a valid KMS configuration for [SSE-S3](#sses3).
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  5. cmd/object-api-options.go

    		}
    	}
    	opts.MTime = mtime
    	opts.UserDefined = make(map[string]string)
    	// Transfer SSEC key in opts.EncryptFn
    	if crypto.SSEC.IsRequested(r.Header) {
    		key, err := ParseSSECustomerRequest(r)
    		if err == nil {
    			// Set EncryptFn to return SSEC key
    			opts.EncryptFn = func(baseKey string, data []byte) []byte {
    				return key
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    	kind, _ := crypto.IsEncrypted(fi.Metadata)
    
    	var objectEncryptionKey []byte
    	switch kind {
    	case crypto.SSEC:
    		if checksumType.IsSet() {
    			if opts.EncryptFn == nil {
    				return oi, crypto.ErrMissingCustomerKey
    			}
    			baseKey := opts.EncryptFn("", nil)
    			if len(baseKey) != 32 {
    				return oi, crypto.ErrInvalidCustomerKey
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

     *  * BER: Basic Encoding Rules.
     *
     * This class was implemented according to the [X.690 spec][[x690]], and under the advice of
     * [Lets Encrypt's ASN.1 and DER][asn1_and_der] guide.
     *
     * [x690]: https://www.itu.int/rec/T-REC-X.690
     * [asn1_and_der]: https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/
     */
    internal class DerReader(source: Source) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    	}
    	return parse(v[0], strict)
    }
    
    // Equal returns true if and only if the two ETags are
    // identical.
    func Equal(a, b ETag) bool { return bytes.Equal(a, b) }
    
    // Decrypt decrypts the ETag with the given key.
    //
    // If the ETag is not encrypted, Decrypt returns
    // the ETag unmodified.
    func Decrypt(key []byte, etag ETag) (ETag, error) {
    	const HMACContext = "SSE-etag"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

    import jcifs.CIFSException;
    import jcifs.Credentials;
    import jcifs.RuntimeCIFSException;
    import jcifs.spnego.NegTokenInit;
    import jcifs.util.Crypto;
    import jcifs.util.Strings;
    
    
    /**
     * This class stores and encrypts NTLM user credentials.
     * 
     * Contrary to {@link NtlmPasswordAuthentication} this does not cause guest authentication
     * when the "guest" username is supplied. Use {@link AuthenticationType} instead.
     * 
     * @author mbechler
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  10. internal/kms/kms.go

    	if req.Name == "" {
    		req.Name = k.DefaultKey
    	}
    
    	start := time.Now()
    	dek, err := k.conn.GenerateKey(ctx, req)
    	k.updateMetrics(err, time.Since(start))
    
    	return dek, err
    }
    
    // Decrypt decrypts a ciphertext using the master key req.Name.
    // It returns ErrKeyNotFound if the key does not exist.
    func (k *KMS) Decrypt(ctx context.Context, req *DecryptRequest) ([]byte, error) {
    	start := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top