- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for InsecureAlgorithmError (0.21 sec)
-
src/crypto/x509/x509.go
// An InsecureAlgorithmError indicates that the [SignatureAlgorithm] used to // generate the signature is not secure, and the signature has been rejected. // // To temporarily restore support for SHA-1 signatures, include the value // "x509sha1=1" in the GODEBUG environment variable. Note that this option will // be removed in a future release. type InsecureAlgorithmError SignatureAlgorithm
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:20:15 UTC 2024 - 82K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
} if err = cert.CheckSignatureFrom(cert); err == nil { t.Fatalf("certificate verification succeeded incorrectly") } if _, ok := err.(InsecureAlgorithmError); !ok { t.Fatalf("certificate verification returned %v (%T), wanted InsecureAlgorithmError", err, err) } } func TestSHA1(t *testing.T) { pemBlock, _ := pem.Decode([]byte(ecdsaSHA1CertPem)) cert, err := ParseCertificate(pemBlock.Bytes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*RevocationList).CheckSignatureFrom", Method, 19}, {"(CertificateInvalidError).Error", Method, 0}, {"(ConstraintViolationError).Error", Method, 0}, {"(HostnameError).Error", Method, 0}, {"(InsecureAlgorithmError).Error", Method, 6}, {"(OID).Equal", Method, 22}, {"(OID).EqualASN1OID", Method, 22}, {"(OID).String", Method, 22}, {"(PublicKeyAlgorithm).String", Method, 10},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)