Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 839 for aead (0.02 sec)

  1. internal/kms/secret-key.go

    	iv, nonce := random[:16], random[16:]
    
    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    
    		block, err := aes.NewCipher(sealingKey)
    		if err != nil {
    			return nil, err
    		}
    		aead, err = cipher.NewGCM(block)
    		if err != nil {
    			return nil, err
    		}
    	case kms.ChaCha20:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. internal/kms/secret-key_test.go

    		Plaintext:  "zmS7NrG765UZ0ZN85oPjybelxqVvpz01vxsSpOISy2M=",
    		Ciphertext: `{"aead":"ChaCha20Poly1305","iv":"JbI+vwvYww1lCb5VpkAFuQ==","nonce":"ARjIjJxBSD541Gz8","bytes":"KCbEc2sA0TLvA7aWTWa23AdccVfJMpOxwgG8hm+4PaNrxYfy1xFWZg2gEenVrOgv"}`,
    	},
    	{
    		KeyID:      "my-key",
    		Plaintext:  "UnPWsZgVI+T4L9WGNzFlP1PsP1Z6hn2Fx8ISeZfDGnA=",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. internal/kms/kms.go

    }
    
    // Version returns version information about the KMS.
    //
    // TODO(aead): refactor this API call since it does not account
    // for multiple KMS/KES servers.
    func (k *KMS) Version(ctx context.Context) (string, error) {
    	return k.conn.Version(ctx)
    }
    
    // APIs returns a list of KMS server APIs.
    //
    // TODO(aead): remove this API since it's hardly useful.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. Dockerfile.hotfix

    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH=/go
    ENV CGO_ENABLED=0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature files
    RUN curl -s -q https://dl.min.io/server/minio/hotfixes/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 15 23:10:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. go.mod

    	golang.org/x/sys v0.25.0
    	golang.org/x/term v0.24.0
    	golang.org/x/time v0.6.0
    	google.golang.org/api v0.194.0
    	gopkg.in/yaml.v2 v2.4.0
    	gopkg.in/yaml.v3 v3.0.1
    )
    
    require (
    	aead.dev/mem v0.2.0 // indirect
    	aead.dev/minisign v0.3.0 // indirect
    	cloud.google.com/go v0.115.1 // indirect
    	cloud.google.com/go/auth v0.9.1 // indirect
    	cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. internal/kms/conn.go

    type conn interface {
    	// Version returns version information about the KMS.
    	//
    	// TODO(aead): refactor this API call. It does not account
    	// for multiple endpoints.
    	Version(context.Context) (string, error)
    
    	// APIs returns a list of APIs supported by the KMS server.
    	//
    	// TODO(aead): remove this API call. It's hardly useful.
    	APIs(context.Context) ([]madmin.KMSAPI, error)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. Dockerfile.release.fips

    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH=/go
    ENV CGO_ENABLED=0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature files
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.fips -o /go/bin/minio && \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 15 23:10:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. Dockerfile.release

    ENV GOPATH=/go
    ENV CGO_ENABLED=0
    
    WORKDIR /build
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        apk add -U --no-cache bash && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature files
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 15 23:10:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. Dockerfile.release.old_cpu

    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH=/go
    ENV CGO_ENABLED=0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature files
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 15 23:10:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. internal/hash/reader.go

    	MD5, err := hex.DecodeString(md5Hex)
    	if err != nil {
    		return nil, BadDigest{ // TODO(aead): Return an error that indicates that an invalid ETag has been specified
    			ExpectedMD5:   md5Hex,
    			CalculatedMD5: "",
    		}
    	}
    	SHA256, err := hex.DecodeString(sha256Hex)
    	if err != nil {
    		return nil, SHA256Mismatch{ // TODO(aead): Return an error that indicates that an invalid Content-SHA256 has been specified
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top