diff --git a/storage.go b/storage.go index 9641fe67ffb1d187b0cbfc57d58be77ac00ab274..64a938e2bdd45dc7e61e1c7048733382b796af10 100644 --- a/storage.go +++ b/storage.go @@ -171,7 +171,7 @@ func encodePrivateKey(key crypto.Signer) ([]byte, error) { switch priv := key.(type) { case *rsa.PrivateKey: pb = &pem.Block{ - Type: "PRIVATE KEY", + Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(priv), } case *ecdsa.PrivateKey: