Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for ed25519 (0.33 sec)

  1. docs/ftp/README.md

    since those use the underlying algorithm. This list is sent to the client if
    it supports the server-sig-algs extension. Order is irrelevant.
    
    Valid values
    ```
    ssh-ed25519
    sk-ssh-ed25519@openssh.com
    ******@****.***
    ecdsa-sha2-nistp256
    ecdsa-sha2-nistp384
    ecdsa-sha2-nistp521
    rsa-sha2-256
    rsa-sha2-512
    ssh-rsa
    ssh-dss
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. security/pkg/pki/util/generate_cert.go

    }
    
    func publicKey(priv any) any {
    	switch k := priv.(type) {
    	case *rsa.PrivateKey:
    		return &k.PublicKey
    	case *ecdsa.PrivateKey:
    		return &k.PublicKey
    	case ed25519.PrivateKey:
    		return k.Public().(ed25519.PublicKey)
    	default:
    		return nil
    	}
    }
    
    // GenRootCertFromExistingKey generates a X.509 certificate using existing
    // CA private key. Only called by a self-signed Citadel.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 14:34:38 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/crypto/dsa/dsa.go

    //
    // The DSA operations in this package are not implemented using constant-time algorithms.
    //
    // Deprecated: DSA is a legacy algorithm, and modern alternatives such as
    // Ed25519 (implemented by package crypto/ed25519) should be used instead. Keys
    // with 1024-bit moduli (L1024N160 parameters) are cryptographically weak, while
    // bigger keys are not widely supported. Note that FIPS 186-5 no longer approves
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/crypto/ed25519/ed25519_test.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ed25519
    
    import (
    	"bufio"
    	"bytes"
    	"compress/gzip"
    	"crypto"
    	"crypto/internal/boring"
    	"crypto/rand"
    	"crypto/sha512"
    	"encoding/hex"
    	"internal/testenv"
    	"log"
    	"os"
    	"strings"
    	"testing"
    )
    
    func Example_ed25519ctx() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/crypto/tls/key_agreement.go

    	return md5sha1
    }
    
    // hashForServerKeyExchange hashes the given slices and returns their digest
    // using the given hash function (for TLS 1.2) or using a default based on
    // the sigType (for earlier TLS versions). For Ed25519 signatures, which don't
    // do pre-hashing, it returns the concatenation of the slices.
    func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte {
    	if sigType == signatureEd25519 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. pkg/apis/certificates/v1beta1/defaults_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 v1beta1
    
    import (
    	"crypto/ed25519"
    	"crypto/rand"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"net"
    	"net/url"
    	"reflect"
    	"testing"
    
    	capi "k8s.io/api/certificates/v1beta1"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_test.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tls
    
    import (
    	"bufio"
    	"crypto/ed25519"
    	"crypto/x509"
    	"encoding/hex"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"net"
    	"os"
    	"os/exec"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. src/crypto/x509/parser.go

    		// > For all of the OIDs, the parameters MUST be absent.
    		if len(params.FullBytes) != 0 {
    			return nil, errors.New("x509: Ed25519 key encoded with illegal parameters")
    		}
    		if len(der) != ed25519.PublicKeySize {
    			return nil, errors.New("x509: wrong Ed25519 public key size")
    		}
    		return ed25519.PublicKey(der), nil
    	case oid.Equal(oidPublicKeyX25519):
    		// RFC 8410, Section 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. security/pkg/pki/util/generate_cert_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"strings"
    	"testing"
    	"time"
    )
    
    var (
    	now     = time.Now().Round(time.Second).UTC()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  10. security/pkg/pki/util/generate_csr_test.go

    				ECSigAlg: EcdsaSigAlg,
    			},
    		},
    		"GenCSR with EC errors due to invalid signature algorithm": {
    			csrOptions: CertOptions{
    				Host:     "test_ca.com",
    				Org:      "MyOrg",
    				ECSigAlg: "ED25519",
    			},
    			err: errors.New("csr cert generation fails due to unsupported EC signature algorithm"),
    		},
    	}
    
    	for id, tc := range cases {
    		csrPem, _, err := GenCSR(tc.csrOptions)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 09:40:13 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top