Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for downgrade (0.21 sec)

  1. src/crypto/tls/handshake_server.go

    		c.sendAlert(alertHandshakeFailure)
    		return errors.New("tls: client does not support uncompressed connections")
    	}
    
    	hs.hello.random = make([]byte, 32)
    	serverRandom := hs.hello.random
    	// Downgrade protection canaries. See RFC 8446, Section 4.1.3.
    	maxVers := c.config.maxSupportedVersion(roleServer)
    	if maxVers >= VersionTLS12 && c.vers < maxVers || testingOnlyForceDowngradeCanary {
    		if c.vers == VersionTLS12 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. src/crypto/tls/key_agreement.go

    	// by checking it, we would leak information about the validity of the
    	// encrypted pre-master secret. Secondly, it provides only a small
    	// benefit against a downgrade attack and some implementations send the
    	// wrong version anyway. See the discussion at the end of section
    	// 7.4.7.1 of RFC 4346.
    	return preMasterSecret, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    		case madmin.AdminAPIVersion:
    			desc = fmt.Sprintf("This 'admin' API is not supported by server in '%s'", getMinioMode())
    		default:
    			desc = fmt.Sprintf("Unexpected client 'admin' API version found '%s', expected '%s', please downgrade the client to older releases", version, madmin.AdminAPIVersion)
    		}
    		writeErrorResponseJSON(r.Context(), w, APIError{
    			Code:           "XMinioAdminVersionMismatch",
    			Description:    desc,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_client.go

    	}
    
    	if err := c.pickTLSVersion(serverHello); err != nil {
    		return err
    	}
    
    	// If we are negotiating a protocol version that's lower than what we
    	// support, check for the server downgrade canaries.
    	// See RFC 8446, Section 4.1.3.
    	maxVers := c.config.maxSupportedVersion(roleClient)
    	tls12Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_test.go

    		{"go1.20.1", "go1.21", "go1.21"},     // file upgrade permitted
    		{"go1.20.1", "go1.19", "go1.20.1"},   // file downgrade not permitted
    		{"go1.21.1", "go1.19.1", "go1.21.1"}, // file downgrade not permitted (invalid file version)
    		{"go1.21.1", "go1.19", "go1.19"},     // file downgrade permitted (module version is >= go1.21)
    	} {
    		var src string
    		if test.fileVersion != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check.go

    				//
    				// Go 1.21 also introduced the feature of allowing //go:build lines
    				// to “downgrade” (cmp < 0) the Go version in a given file.
    				// That can't be done compatibly in general, since before the
    				// build lines were ignored and code got the module's Go version.
    				// To work around this, downgrades are only allowed when the
    				// module's Go version is Go 1.21 or later.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. src/go/types/check.go

    				//
    				// Go 1.21 also introduced the feature of allowing //go:build lines
    				// to “downgrade” (cmp < 0) the Go version in a given file.
    				// That can't be done compatibly in general, since before the
    				// build lines were ignored and code got the module's Go version.
    				// To work around this, downgrades are only allowed when the
    				// module's Go version is Go 1.21 or later.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/go/types/api_test.go

    		{"go1.20.1", "go1.21", "go1.21"},     // file upgrade permitted
    		{"go1.20.1", "go1.19", "go1.20.1"},   // file downgrade not permitted
    		{"go1.21.1", "go1.19.1", "go1.21.1"}, // file downgrade not permitted (invalid file version)
    		{"go1.21.1", "go1.19", "go1.19"},     // file downgrade permitted (module version is >= go1.21)
    	} {
    		var src string
    		if test.fileVersion != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. src/crypto/tls/cipher_suites.go

    // any higher one is available. This makes it more defensible to keep weaker
    // cipher suites enabled, especially on the server side where we get the last
    // word, since there are no known downgrade attacks on cipher suites selection.
    //
    // The list is sorted by applying the following priority rules, stopping at the
    // first (most important) applicable one:
    //
    //   - Anything else comes before RC4
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/crypto/tls/common.go

    	// random as a downgrade protection if the server would be capable of
    	// negotiating a higher version. See RFC 8446, Section 4.1.3.
    	downgradeCanaryTLS12 = "DOWNGRD\x01"
    	downgradeCanaryTLS11 = "DOWNGRD\x00"
    )
    
    // testingOnlyForceDowngradeCanary is set in tests to force the server side to
    // include downgrade canaries even if it's using its highers supported version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
Back to top