Correct me if I am wrong, but
PKCS8 is format to store private key info. It could be binary-enoded (
DER) or Base64 encoded (
-m key_format Specify a key format for the -i (import) or -e (export) conver‐ sion options. The supported key formats are: “RFC4716” (RFC 4716/SSH2 public or private key), “PKCS8” (PEM PKCS8 public key) or “PEM” (PEM public key). The default conversion format is “RFC4716”.
I am confused with "PKCS8 Public Key" (while
RFC-5208 is "Private-Key Information Syntax Specification Version") but I also can't understand what is "PEM public key" here? PKCS8 could be PEM or DER. What does it mean?