- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 128 for Decrypt (0.07 seconds)
-
internal/kms/stub.go
KeyID: req.Name, Version: 0, Plaintext: []byte("stubplaincharswhichare32bytelong"), Ciphertext: []byte("stubplaincharswhichare32bytelong"), }, nil } // Decrypt is a non-functional stub. func (s StubKMS) Decrypt(_ context.Context, req *DecryptRequest) ([]byte, error) { return req.Ciphertext, nil } // MAC is a non-functional stub.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 3.6K bytes - Click Count (0) -
internal/kms/kes.go
if err != nil { return nil, err } return c.client.Encrypt(context.Background(), keyID, plaintext, ctxBytes) } // DecryptKey decrypts the ciphertext with the key at the KES // server referenced by the key ID. The context must match the // context value used to generate the ciphertext. func (c *kesConn) Decrypt(ctx context.Context, req *DecryptRequest) ([]byte, error) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 7.3K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java
* under the License. */ package org.apache.maven.settings.crypto; /** * Decrypts passwords in the settings. * * @deprecated since 4.0.0 */ @Deprecated(since = "4.0.0") public interface SettingsDecrypter { /** * Decrypts passwords in the settings. * * @param request The settings decryption request that holds the parameters, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 17:39:57 GMT 2025 - 4K bytes - Click Count (0) -
internal/etag/etag_test.go
Plaintext: must("6d6cdccb9a7498c871bde8eab2f49141"), }, } func TestDecrypt(t *testing.T) { for i, test := range decryptTests { etag, err := Decrypt(test.Key, test.ETag) if err != nil { t.Fatalf("Test %d: failed to decrypt ETag: %v", i, err) } if !Equal(etag, test.Plaintext) { t.Fatalf("Test %d: got '%v' - want '%v'", i, etag, test.Plaintext) } } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.6K bytes - Click Count (0) -
internal/kms/config.go
EnvKESServerCA = "MINIO_KMS_KES_CAPATH" // Path to file/directory containing CA certificates to verify the KES server certificate EnvKESClientPassword = "MINIO_KMS_KES_KEY_PASSWORD" // Optional password to decrypt an encrypt TLS private key ) // Environment variables for static KMS key. const (
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15K bytes - Click Count (0) -
cmd/kms-handlers.go
return } writeSuccessResponseJSON(w, resp) return } // 2. Verify that we can indeed decrypt the (encrypted) key decryptedKey, err := GlobalKMS.Decrypt(ctx, &kms.DecryptRequest{ Name: key.KeyID, Ciphertext: key.Ciphertext, AssociatedData: kmsContext, }) if err != nil { response.DecryptionErr = err.Error()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 10.1K bytes - Click Count (0) -
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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.3K bytes - Click Count (0) -
cmd/bucket-metadata.go
_, err = sio.Encrypt(outbuf, bytes.NewBuffer(input), sio.Config{Key: objectKey[:], MinVersion: sio.Version20}) if err != nil { return output, metabytes, err } metabytes, err = json.Marshal(metadata) if err != nil { return output, metabytes, err } return outbuf.Bytes(), metabytes, nil } // decrypt bucket metadata if kms is configured.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
internal/crypto/key.go
mac.Write([]byte("SSE-etag")) if _, err := sio.Encrypt(&buffer, bytes.NewReader(etag), sio.Config{Key: mac.Sum(nil)}); 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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0)