Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for decryptKey (0.29 sec)

  1. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    					const sseDAREEncPackageBlockSize = SSEDAREPackageBlockSize + SSEDAREPackageMetaSize
    					// Number of full blocks in skipped area
    					seqNum = uint32(compOff / SSEDAREPackageBlockSize)
    					// Skip this many inside a decrypted block to get to compression block start
    					decryptSkip = compOff % SSEDAREPackageBlockSize
    					// Skip this number of full blocks.
    					skipEnc := compOff / SSEDAREPackageBlockSize
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. docs/bucket/lifecycle/DESIGN.md

    ...
    ```
    
    ### Encrypted/Object locked objects
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. docs/fr/docs/deployment/https.md

    Il est courant d'avoir un seul programme/serveur HTTP fonctionnant sur le serveur (la machine, l'hôte, etc.) et
    gérant toutes les parties HTTPS : envoyer les requêtes HTTP décryptées à l'application HTTP réelle fonctionnant sur
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Oct 31 17:45:30 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. src/crypto/cipher/example_test.go

    	// removed at this point. For an example, see
    	// https://tools.ietf.org/html/rfc5246#section-6.2.3.2. However, it's
    	// critical to note that ciphertexts must be authenticated (i.e. by
    	// using crypto/hmac) before being decrypted in order to avoid creating
    	// a padding oracle.
    
    	fmt.Printf("%s\n", ciphertext)
    	// Output: exampleplaintext
    }
    
    func ExampleNewCBCEncrypter() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 30 16:23:44 UTC 2018
    - 11.8K bytes
    - Viewed (0)
  6. internal/crypto/sse.go

    }
    
    // UnsealObjectKey extracts and decrypts the sealed object key
    // from the metadata using the SSE-Copy client key of the HTTP headers
    // and returns the decrypted object key.
    func (sse ssecCopy) UnsealObjectKey(h http.Header, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	clientKey, err := sse.ParseHTTP(h)
    	if err != nil {
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. src/crypto/x509/pem_decrypt_test.go

    	// block size. This previously panicked. See #11215.
    	block, _ := pem.Decode([]byte(incompleteBlockPEM))
    	_, err := DecryptPEMBlock(block, []byte("foo"))
    	if err == nil {
    		t.Fatal("Bad PEM data decrypted successfully")
    	}
    	const expectedSubstr = "block size"
    	if e := err.Error(); !strings.Contains(e, expectedSubstr) {
    		t.Fatalf("Expected error containing %q but got: %q", expectedSubstr, e)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 20:03:55 UTC 2019
    - 8.9K bytes
    - Viewed (0)
  9. internal/crypto/sse-c.go

    	}
    	copy(key[:], clientKey)
    	return key, nil
    }
    
    // UnsealObjectKey extracts and decrypts the sealed object key
    // from the metadata using the SSE-C client key of the HTTP headers
    // and returns the decrypted object key.
    func (s3 ssec) UnsealObjectKey(h http.Header, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	clientKey, err := s3.ParseHTTP(h)
    	if err != nil {
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/https.md

    sent with the **HTTP protocol**.
    
    It is a common practice to have **one program/HTTP server** running on the server (the machine, host, etc.) and **managing all the HTTPS parts**: receiving the **encrypted HTTPS requests**, sending the **decrypted HTTP requests** to the actual HTTP application running in the same server (the **FastAPI** application, in this case), take the **HTTP response** from the application, **encrypt it** using the appropriate **HTTPS certificate** and sending it back...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top