Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ed25519 (0.14 sec)

  1. src/crypto/x509/x509.go

    			return errors.New("x509: ECDSA verification failure")
    		}
    		return
    	case ed25519.PublicKey:
    		if pubKeyAlgo != Ed25519 {
    			return signaturePublicKeyAlgoMismatchError(pubKeyAlgo, pub)
    		}
    		if !ed25519.Verify(pub, signed, signature) {
    			return errors.New("x509: Ed25519 verification failure")
    		}
    		return
    	}
    	return ErrUnsupportedAlgorithm
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. src/crypto/tls/common.go

    				}
    			}
    			if !curveOk {
    				return errors.New("client doesn't support certificate curve")
    			}
    			ecdsaCipherSuite = true
    		case ed25519.PublicKey:
    			if vers < VersionTLS12 || len(chi.SignatureSchemes) == 0 {
    				return errors.New("connection doesn't support Ed25519")
    			}
    			ecdsaCipherSuite = true
    		case *rsa.PublicKey:
    		default:
    			return supportsRSAFallback(unsupportedCertificateError(c))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  3. src/crypto/tls/tls_test.go

    			SignatureSchemes:  []SignatureScheme{Ed25519},
    			SupportedVersions: []uint16{VersionTLS12},
    		}, ""},
    		{ed25519Cert, &ClientHelloInfo{
    			CipherSuites:      []uint16{TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256},
    			SupportedCurves:   []CurveID{CurveP256}, // only relevant for ECDHE support
    			SupportedPoints:   []uint8{pointFormatUncompressed},
    			SignatureSchemes:  []SignatureScheme{Ed25519},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  4. pkg/apis/certificates/validation/validation_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validation
    
    import (
    	"crypto/ed25519"
    	"crypto/rand"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"fmt"
    	"math/big"
    	mathrand "math/rand"
    	"reflect"
    	"regexp"
    	"strings"
    	"testing"
    	"time"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    	runClientTestTLS12(t, test)
    }
    
    func TestHandshakeClientX25519(t *testing.T) {
    	config := testConfig.Clone()
    	config.CurvePreferences = []CurveID{X25519}
    
    	test := &clientTest{
    		name:   "X25519-ECDHE",
    		args:   []string{"-cipher", "ECDHE-RSA-AES128-GCM-SHA256", "-curves", "X25519"},
    		config: config,
    	}
    
    	runClientTestTLS12(t, test)
    	runClientTestTLS13(t, test)
    }
    
    func TestHandshakeClientP256(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_server_test.go

    func TestHandshakeServerX25519(t *testing.T) {
    	config := testConfig.Clone()
    	config.CurvePreferences = []CurveID{X25519}
    
    	test := &serverTest{
    		name:    "X25519",
    		command: []string{"openssl", "s_client", "-no_ticket", "-cipher", "ECDHE-RSA-CHACHA20-POLY1305", "-ciphersuites", "TLS_CHACHA20_POLY1305_SHA256", "-curves", "X25519"},
    		config:  config,
    	}
    	runServerTestTLS12(t, test)
    	runServerTestTLS13(t, test)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    		dn                 string
    		expectedSSHKeyType string
    	}{
    		{
    			username:           "dillon",
    			dn:                 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io",
    			expectedSSHKeyType: "ssh-ed25519",
    		},
    		{
    			username:           "liza",
    			dn:                 "uid=liza,ou=people,ou=swengg,dc=min,dc=io",
    			expectedSSHKeyType: "ssh-rsa",
    		},
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    							TypedConfig: protoconv.MessageToAny(&tls.DownstreamTlsContext{
    								CommonTlsContext: &tls.CommonTlsContext{
    									TlsParams: &tls.TlsParameters{
    										EcdhCurves:                []string{"X25519"},
    										TlsMaximumProtocolVersion: tls.TlsParameters_TLSv1_1,
    									},
    								},
    							}),
    						},
    					},
    					Filters: []*listener.Filter{{Name: "envoy.transport_sockets.tls"}},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top