Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for x509sha1 (0.24 sec)

  1. src/internal/godebugs/table.go

    	{Name: "x509negativeserial", Package: "crypto/x509", Changed: 23, Old: "1"},
    	{Name: "x509seriallength", Package: "crypto/x509", Changed: 23, Old: "1"},
    	{Name: "x509sha1", Package: "crypto/x509"},
    	{Name: "x509usefallbackroots", Package: "crypto/x509"},
    	{Name: "x509usepolicies", Package: "crypto/x509"},
    	{Name: "zipinsecurepath", Package: "archive/zip"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go

    //     which indicates an error caused by an insecure SHA1 signature
    //  2. the server certificate in response contains a SHA1WithRSA or ECDSAWithSHA1 signature.
    //     This indicates that this binary run with the GODEBUG=x509sha1=1 in env
    func NewDeprecatedCertificateRoundTripperWrapperConstructor(missingSAN, sha1 *metrics.Counter) func(rt http.RoundTripper) http.RoundTripper {
    	return func(rt http.RoundTripper) http.RoundTripper {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  3. src/crypto/x509/x509.go

    	return fmt.Errorf("x509: signature algorithm specifies an %s public key, but have public key of type %T", expectedPubKeyAlgo.String(), pubKey)
    }
    
    var x509sha1 = godebug.New("x509sha1")
    
    // checkSignature verifies that signature is a valid signature over signed from
    // a crypto.PublicKey.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  4. src/runtime/metrics/doc.go

    		package due to a non-default GODEBUG=x509seriallength=...
    		setting.
    
    	/godebug/non-default-behavior/x509sha1:events
    		The number of non-default behaviors executed by the crypto/x509
    		package due to a non-default GODEBUG=x509sha1=... setting.
    
    	/godebug/non-default-behavior/x509usefallbackroots:events
    		The number of non-default behaviors executed by the crypto/x509
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook_test.go

    			serverCert: append(append(sha1ServerCertInter, byte('\n')), caCertInter...), serverKey: serverKey,
    			errRegex:                         "x509: cannot verify signature: insecure algorithm SHA1-RSA \\(temporarily override with GODEBUG=x509sha1=1\\)",
    			increaseSHA1SignatureWarnCounter: true,
    		},
    		{
    			test:       "server cert signed by an intermediate CA with SHA1 signature",
    			clientCA:   caCert,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  6. doc/godebug.md

    There is no plan to remove this setting.
    
    ### Go 1.18
    
    Go 1.18 removed support for SHA1 in most X.509 certificates,
    controlled by the [`x509sha1` setting](/pkg/crypto/x509#InsecureAlgorithmError).
    This setting will be removed in a future release, Go 1.22 at the earliest.
    
    ### Go 1.10
    
    Go 1.10 changed how build caching worked and added test caching, along
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. src/crypto/x509/x509_test.go

    		{SHA1WithRSA, "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)"},
    		{ECDSAWithSHA1, "x509: cannot verify signature: insecure algorithm ECDSA-SHA1 (temporarily override with GODEBUG=x509sha1=1)"},
    		{MD2WithRSA, "x509: cannot verify signature: insecure algorithm 1"},
    		{-1, "x509: cannot verify signature: insecure algorithm -1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  8. src/crypto/x509/verify_test.go

    			}
    		}
    	}
    }
    
    func TestGoVerify(t *testing.T) {
    	// Temporarily enable SHA-1 verification since a number of test chains
    	// require it. TODO(filippo): regenerate test chains.
    	t.Setenv("GODEBUG", "x509sha1=1")
    
    	for _, test := range verifyTests {
    		t.Run(test.name, func(t *testing.T) {
    			testVerify(t, test, false)
    		})
    	}
    }
    
    func TestSystemVerify(t *testing.T) {
    	if runtime.GOOS != "windows" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.23.md

      - `kube-apiserver` defaults the GOGC setting to 63, to approximate go1.17 garbage collection memory performance in heavily loaded API servers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
Back to top