Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 175 for decrypt (0.09 sec)

  1. internal/crypto/key.go

    	mac.Write([]byte("SSE-etag"))
    	if _, err := sio.Encrypt(&buffer, bytes.NewReader(etag), sio.Config{Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}); err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt ETag using object key"))
    	}
    	return buffer.Bytes()
    }
    
    // UnsealETag unseals the etag using the provided object key.
    // It does not try to decrypt the ETag if len(etag) == 16
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. docs/kms/IAM.md

    ```
    
    > You can choose an arbitrary name for the key - instead of `my-minio-key`.
    > Please note that losing the `MINIO_KMS_SECRET_KEY` will cause data loss
    > since you will not be able to decrypt the IAM/configuration data anymore.
    For distributed MinIO deployments, specify the *same* `MINIO_KMS_SECRET_KEY` for each MinIO server process.
    
    At any point in time you can switch from `MINIO_KMS_SECRET_KEY` to a full KMS
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    	case strings.HasSuffix(inputFileName, ".zip"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".zip") + ".decrypted.zip"
    	case strings.Contains(inputFileName, ".enc."):
    		outputFileName = strings.Replace(inputFileName, ".enc.", ".", 1) + ".zip"
    	default:
    		outputFileName = inputFileName + ".decrypted"
    	}
    
    	// Backup any already existing output file
    	_, err := os.Stat(outputFileName)
    	if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. internal/config/certs.go

    import (
    	"bytes"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/pem"
    	"errors"
    	"os"
    
    	"github.com/minio/pkg/v3/env"
    )
    
    // EnvCertPassword is the environment variable which contains the password used
    // to decrypt the TLS private key. It must be set if the TLS private key is
    // password protected.
    const EnvCertPassword = "MINIO_CERT_PASSWD"
    
    // ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. internal/crypto/sse-s3.go

    		return key, err
    	}
    	unsealKey, err := k.Decrypt(context.TODO(), &kms.DecryptRequest{
    		Name:           keyID,
    		Ciphertext:     kmsKey,
    		AssociatedData: kms.Context{bucket: path.Join(bucket, object)},
    	})
    	if err != nil {
    		return key, err
    	}
    	err = key.Unseal(unsealKey, sealedKey, s3.String(), bucket, object)
    	return key, err
    }
    
    // UnsealObjectsKeys extracts and decrypts all sealed object keys
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    	_, err = sio.Encrypt(outbuf, bytes.NewBuffer(input), sio.Config{Key: objectKey[:], MinVersion: sio.Version20, CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		return output, metabytes, err
    	}
    	metabytes, err = json.Marshal(metadata)
    	if err != nil {
    		return
    	}
    	return outbuf.Bytes(), metabytes, nil
    }
    
    // decrypt bucket metadata if kms is configured.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. docs/debugging/README.md

    ```
    
    This file can be decrypted using the decryption tool below:
    
    ### Installing decryption tool
    
    To install, [Go](https://golang.org/dl/) must be installed.
    
    Once installed, execute this to install the binary:
    
    ```bash
    go install github.com/minio/minio/docs/debugging/inspect@latest
    ```
    
    ### Usage
    
    To decrypt the file above:
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 01:17:53 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  8. internal/kms/conn.go

    	// The same context must be provided when the generated key
    	// should be decrypted. Therefore, it is the callers
    	// responsibility to remember the corresponding context for
    	// a particular DEK. The context may be nil.
    	GenerateKey(context.Context, *GenerateKeyRequest) (DEK, error)
    
    	// DecryptKey decrypts the ciphertext with the key referenced
    	// by the key ID. The context must match the context value
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to decrypt {}", rolesStr, e);
                    }
                    return;
                }
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("role: original: {}, decrypto: {}", value, rolesStr);
            }
    
            if (valueSeparator.length() > 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                                String data = line.substring(pos + 1).trim();
                                if (properyPattern.matcher(key).matches() && data.startsWith(CIPHER_PREFIX)) {
                                    data = cipher.decrypt(data.substring(CIPHER_PREFIX.length()));
                                }
                                paramMap.put(key, data);
                            } else {
                                paramMap.put(key, StringUtil.EMPTY);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top