Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/crypto/tls/defaults.go

    var tlskyber = godebug.New("tlskyber")
    
    func defaultCurvePreferences() []CurveID {
    	if tlskyber.Value() == "0" {
    		return []CurveID{X25519, CurveP256, CurveP384, CurveP521}
    	}
    	// For now, x25519Kyber768Draft00 must always be followed by X25519.
    	return []CurveID{x25519Kyber768Draft00, X25519, CurveP256, CurveP384, CurveP521}
    }
    
    // defaultSupportedSignatureAlgorithms contains the signature and hash algorithms that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/testdata/dillon_test_key.pub

    ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDVGk/SRz4fwTPK0+Ra7WYUGf3o08YkpI0yTMPpHwYoq ******@****.***...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 99 bytes
    - Viewed (0)
  3. src/crypto/tls/tls.go

    			return fail(errors.New("tls: private key does not match public key"))
    		}
    	case ed25519.PublicKey:
    		priv, ok := cert.PrivateKey.(ed25519.PrivateKey)
    		if !ok {
    			return fail(errors.New("tls: private key type does not match public key type"))
    		}
    		if !bytes.Equal(priv.Public().(ed25519.PublicKey), pub) {
    			return fail(errors.New("tls: private key does not match public key"))
    		}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. security/pkg/pki/util/crypto_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    const (
    	csr = `
    -----BEGIN CERTIFICATE REQUEST-----
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/config/security/security.go

    // Source:
    // https://github.com/google/boringssl/blob/45cf810dbdbd767f09f8cb0b0fcccd342c39041f/src/ssl/ssl_key_share.cc#L285-L293
    var ValidECDHCurves = sets.New(
    	"P-224",
    	"P-256",
    	"P-521",
    	"P-384",
    	"X25519",
    	"X25519Kyber768Draft00",
    )
    
    func IsValidCipherSuite(cs string) bool {
    	if cs == "" || cs == "ALL" {
    		return true
    	}
    	if !unicode.IsNumber(rune(cs[0])) && !unicode.IsLetter(rune(cs[0])) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/crypto/tls/bogo_config.json

            "TooManyKeyUpdates": "crypto/tls doesn't implement spam protections (TODO: I think?)",
            "KyberNotEnabledByDefaultInClients": "crypto/tls intentionally enables it",
            "JustConfiguringKyberWorks": "we always send a X25519 key share with Kyber",
            "KyberKeyShareIncludedSecond": "we always send the Kyber key share first",
            "KyberKeyShareIncludedThird": "we always send the Kyber key share first",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 15:52:42 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top