Ed25519 key material: a 32-byte raw key, 64-char lowercase hex, a PEM string (PKCS#8 private / SPKI public), or a KeyObject. Uppercase hex and keys of the wrong length are rejected.
KeyObject
Ed25519 key material: a 32-byte raw key, 64-char lowercase hex, a PEM string (PKCS#8 private / SPKI public), or a
KeyObject. Uppercase hex and keys of the wrong length are rejected.