- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for GenerateKey (0.12 seconds)
-
internal/kms/conn.go
CreateKey(context.Context, *CreateKeyRequest) error ListKeys(context.Context, *ListRequest) ([]madmin.KMSKeyInfo, string, error) // GenerateKey generates a new data encryption key using the // key referenced by the key ID. // // The KMS may use a default key if the key ID is empty. // GenerateKey returns an error if the referenced key does // not exist. // // The context is associated and tied to the generated DEK.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 5K bytes - Click Count (0) -
internal/kms/stub.go
if s.containsKeyName(req.Name) { return ErrKeyExists } s.KeyNames = append(s.KeyNames, req.Name) return nil } // GenerateKey is a non-functional stub. func (s StubKMS) GenerateKey(_ context.Context, req *GenerateKeyRequest) (DEK, error) { if !s.containsKeyName(req.Name) { return DEK{}, ErrKeyNotFound } return DEK{ KeyID: req.Name, Version: 0,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 3.6K bytes - Click Count (0) -
internal/crypto/key_test.go
logger.DisableLog = true for i, test := range generateKeyTests { i, test := i, test func() { defer recoverTest(i, test.ShouldPass, t) key := GenerateKey(test.ExtKey[:], test.Random) if [32]byte(key) == [32]byte{} { t.Errorf("Test %d: generated key is zero key", i) // check that we generate random and unique key } }() } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 6.7K bytes - Click Count (0) -
internal/crypto/key.go
// ObjectKey is a 256 bit secret key used to encrypt the object. // It must never be stored in plaintext. type ObjectKey [32]byte // GenerateKey generates a unique ObjectKey from a 256 bit external key // and a source of randomness. If random is nil the default PRNG of the // system (crypto/rand) is used. func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) { if random == nil { random = rand.Reader }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
internal/kms/secret-key.go
if req.Name != s.keyID { return ErrNotSupported } return ErrKeyExists } // GenerateKey decrypts req.Ciphertext. The key name req.Name must match the key // name of the secretKey. // // The returned DEK is encrypted using AES-GCM and the ciphertext format is compatible // with KES and MinKMS. func (s secretKey) GenerateKey(_ context.Context, req *GenerateKeyRequest) (DEK, error) { if req.Name != s.keyID {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
internal/kms/kms.go
if req.Prefix == "*" { req.Prefix = "" } return k.conn.ListKeys(ctx, req) } // GenerateKey generates a new data key using the master key req.Name. // It returns ErrKeyNotFound if the key does not exist. If req.Name is // empty, the KMS default key is used. func (k *KMS) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (DEK, error) { if req.Name == "" { req.Name = k.DefaultKey }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 24 15:33:57 GMT 2025 - 11.4K bytes - Click Count (0) -
internal/kms/kes.go
} return nil } // GenerateKey generates a new data encryption key using // the key at the KES server referenced by the key ID. // // The default key ID will be used if keyID is empty. // // The context is associated and tied to the generated DEK. // The same context must be provided when the generated // key should be decrypted.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 7.3K bytes - Click Count (0) -
api/go1.26.txt
pkg crypto/hpke, type KDF interface, unexported methods #75300 pkg crypto/hpke, type KEM interface, DeriveKeyPair([]uint8) (PrivateKey, error) #75300 pkg crypto/hpke, type KEM interface, GenerateKey() (PrivateKey, error) #75300 pkg crypto/hpke, type KEM interface, ID() uint16 #75300 pkg crypto/hpke, type KEM interface, NewPrivateKey([]uint8) (PrivateKey, error) #75300
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/security/README.md
### Server-Side Encryption with a KMS SSE-S3 allows an S3 client to en/decrypt an object at the MinIO server using a KMS. The MinIO server only assumes that the KMS provides two services: - `GenerateKey`: Takes a key ID and generates a new data key from a master key referenced by the key ID. It returns the new data key in two different forms: The plain data key and the data key encrypted using the master key.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 13.8K bytes - Click Count (0) -
api/go1.21.txt
pkg context, func WithoutCancel(Context) Context #40221 pkg context, func WithTimeoutCause(Context, time.Duration, error) (Context, CancelFunc) #56661 pkg crypto/elliptic, func GenerateKey //deprecated #52221 pkg crypto/elliptic, func Marshal //deprecated #52221 pkg crypto/elliptic, func Unmarshal //deprecated #52221 pkg crypto/elliptic, method (*CurveParams) Add //deprecated #34648
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Click Count (0)