Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 46 for MAC (0.01 seconds)

  1. internal/kms/kes.go

    			return nil, ErrPermission
    		}
    		return nil, errDecryptionFailed(err)
    	}
    	return plaintext, nil
    }
    
    // MAC generates the checksum of the given req.Message using the key
    // with the req.Name at the KMS.
    func (c *kesConn) MAC(ctx context.Context, req *MACRequest) ([]byte, error) {
    	mac, err := c.client.HMAC(context.Background(), req.Name, req.Message)
    	if err != nil {
    		if errors.Is(err, kes.ErrKeyNotFound) {
    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)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

        }
    
        @Test
        public void testCapitalOsName() {
            Profile profile = newProfile(ActivationOS.newBuilder()
                    .family("Mac")
                    .name("Mac OS X")
                    .arch("aarch64")
                    .version("14.5"));
    
            assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. .gitignore

    .project
    .classpath
    .settings/
    .svn/
    .jbang/
    
    # Intellij
    *.ipr
    *.iml
    .idea
    !.idea/icon.png
    /bootstrap
    /dependencies.xml
    .java-version
    .checkstyle
    .factorypath
    
    # VSCode
    .vscode/
    
    # Mac
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 14 10:54:20 GMT 2025
    - 209 bytes
    - Click Count (0)
  4. internal/kms/stub.go

    	}, 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.
    func (s StubKMS) MAC(_ context.Context, m *MACRequest) ([]byte, error) {
    	return m.Message, nil
    }
    
    // containsKeyName returns true if the given key name exists in the stub KMS.
    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)
  5. tests/tests_all.sh

    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION && -d tests ]]; then
      cd tests
      if [[ $(uname -a) == *" arm64" ]]; then
        MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker compose up -d --wait
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. internal/kms/conn.go

    	// by the key ID. The context must match the context value
    	// used to generate the ciphertext.
    	Decrypt(context.Context, *DecryptRequest) ([]byte, error)
    
    	// MAC generates the checksum of the given req.Message using the key
    	// with the req.Name at the KMS.
    	MAC(context.Context, *MACRequest) ([]byte, error)
    }
    
    var ( // compiler checks
    	_ conn = (*kmsConn)(nil)
    	_ conn = (*kesConn)(nil)
    	_ conn = secretKey{}
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 5K bytes
    - Click Count (0)
  7. cmd/encryption-v1.go

    	var partIDbin [4]byte
    	binary.LittleEndian.PutUint32(partIDbin[:], uint32(partID)) // marshal part ID
    
    	mac := hmac.New(sha256.New, d.objectEncryptionKey) // derive part encryption key from part ID and object key
    	mac.Write(partIDbin[:])
    	partEncryptionKey := mac.Sum(nil)
    
    	// Limit the reader, so the decryptor doesn't receive bytes
    	// from the next part (different DARE stream)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  8. internal/etag/etag.go

    // the ETag unmodified.
    func Decrypt(key []byte, etag ETag) (ETag, error) {
    	const HMACContext = "SSE-etag"
    
    	if !etag.IsEncrypted() {
    		return etag, nil
    	}
    	mac := hmac.New(sha256.New, key)
    	mac.Write([]byte(HMACContext))
    	decryptionKey := mac.Sum(nil)
    
    	plaintext := make([]byte, 0, 16)
    	etag, err := sio.DecryptBuffer(plaintext, etag, sio.Config{
    		Key: decryptionKey,
    	})
    	if err != nil {
    		return nil, err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/common/Os.kt

            "Windows",
            androidHome = """C:\Program Files\android\sdk""",
            jprofilerHome = """C:\Program Files\jprofiler\jprofiler11.1.4""",
            perfTestWorkingDir = "P:/",
        ),
        MACOS(
            "Mac",
            androidHome = "/opt/android/sdk",
            jprofilerHome = "/Applications/JProfiler11.1.4.app",
            defaultArch = Arch.AARCH64,
        ),
        ;
    
        fun escapeKeyValuePair(
            key: String,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 18 12:22:32 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. docs/ftp/README.md

    aes128-ctr
    aes192-ctr
    aes256-ctr
    ******@****.***
    ******@****.***
    ******@****.***
    arcfour256
    arcfour128
    arcfour
    aes128-cbc
    3des-cbc
    ```
    
    `--sftp=mac-algos=...` specifies a default set of MAC algorithms in preference order.
    This is based on RFC 4253, section 6.4, but with hmac-md5 variants removed because they have 
    reached the end of their useful life.
    
    Valid values: 
    
    ```
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 07 06:41:25 GMT 2024
    - 7.8K bytes
    - Click Count (0)
Back to Top