Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for privatekey (0.04 sec)

  1. cmd/test-utils_test.go

    	}
    
    	publicKey := func(priv any) any {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &k.PublicKey
    		case *ecdsa.PrivateKey:
    			return &k.PublicKey
    		default:
    			return nil
    		}
    	}
    
    	pemBlockForKey := func(priv any) *pem.Block {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  2. SECURITY.md

    ## Public Discussions
    
    Please restrain from publicly discussing a potential security vulnerability. 🙊
    
    It's better to discuss privately and try to find a solution first, to limit the potential impact as much as possible.
    
    ---
    
    Thanks for your help!
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top