Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 216 for single (0.17 sec)

  1. internal/kms/single-key.go

    }
    
    // New returns a single-key KMS that derives new DEKs from the
    // given key.
    func New(keyID string, key []byte) (KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return secretKey{
    		keyID: keyID,
    		key:   key,
    	}, nil
    }
    
    // secretKey is a KMS implementation that derives new DEKs
    // from a single key.
    type secretKey struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. internal/kms/single-key_test.go

    Andreas Auernhammer <******@****.***> 1658195667 +0200
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 19 01:54:27 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. cni/pkg/install/binaries.go

    // limitations under the License.
    
    package install
    
    import (
    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Copies/mirrors any files present in a single source dir to N number of target dirs
    // and returns a set of the filenames copied.
    func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) {
    	copiedFilenames := sets.String{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Dec 11 19:10:54 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. internal/event/name.go

    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    	// Single event types (does not require expansion)
    
    	ObjectAccessedGet Name = 1 + iota
    	ObjectAccessedGetRetention
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/encryption-v1.go

    		}
    
    		// There is at least one SSE-S3 single-part object.
    		// For all SSE-S3 single-part objects we have to
    		// fetch their decryption keys. We do this using
    		// a Bulk-Decryption API call, if available.
    		keys, err := crypto.S3.UnsealObjectKeys(ctx, k, metadata, buckets, names)
    		if err != nil {
    			return err
    		}
    
    		// Now, we have to decrypt the ETags of SSE-S3 single-part
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  6. internal/config/identity/openid/jwt.go

    	// other audiences. In the general case, the aud value is an
    	// array of case sensitive strings. In the common special case
    	// when there is one audience, the aud value MAY be a single
    	// case sensitive
    	audValues, ok := policy.GetValuesFromClaims(claims, audClaim)
    	if !ok {
    		return errors.New("STS JWT Token has `aud` claim invalid, `aud` must match configured OpenID Client ID")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  7. cmd/common-main_test.go

    		},
    		// Value with double quotes
    		{
    			`export MINIO_ROOT_USER="minio"`,
    			false,
    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    			},
    		},
    		// Value with single quotes
    		{
    			`export MINIO_ROOT_USER='minio'`,
    			false,
    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    			},
    		},
    		{
    			`
    MINIO_ROOT_USER=minio
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  8. internal/handlers/proxy_test.go

    		{xForwardedFor, "8.8.8.8", "8.8.8.8"},                                         // Single address
    		{xForwardedFor, "8.8.8.8, 8.8.4.4", "8.8.8.8"},                                // Multiple
    		{xForwardedFor, "", ""},                                                       // None
    		{xRealIP, "8.8.8.8", "8.8.8.8"},                                               // Single address
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. cmd/object-api-deleteobject_test.go

    package cmd
    
    import (
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"strings"
    	"testing"
    )
    
    // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup.
    func TestDeleteObject(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObject)
    }
    
    // Unit test for DeleteObject in general.
    func testDeleteObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. internal/crypto/sse.go

    	if err != nil {
    		return
    	}
    	err = key.Unseal(clientKey, sealedKey, SSEC.String(), bucket, object)
    	return
    }
    
    // EncryptSinglePart encrypts an io.Reader which must be the
    // body of a single-part PUT request.
    func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
    	r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
Back to top