jose.jwk.from_ed25519

jose.jwk

from_ed25519(seed, pub) -> key, err

Build an OKP key from an Ed25519 seed

seed is the 32 bytes crypto.ssh_load_key returns. The public point is derived from it; a pub given that does not match is refused.