I'm trying to import an P-384 ECDSA key to an OpenPGP card (tested with a Yubikey 5 and a Nitrokey 3), keytocard prompts for the key passphrase and the card admin password, and then fails with the error "KEYTOCARD failed: Invalid value".
Here is the key, the passphrase is "password":
-----BEGIN PGP PRIVATE KEY BLOCK----- lNIEY3NxMBMFK4EEACIDAwTax0fJVms8IhLddxHi30r8trg5rS0svuZKI2q6dXrF wMIumQsRpNROEZhs7XxI54rhrjUIc0rQkT/sjMeFuyhpZ0FFPVbIQi61kT+G1PoX 9acYCkCpkdZNsWataoBn6kH+CQMI6D3xS4YZZdxg8Rzm8+tNacxN5r50C+9nS9Oc JV9zkTtD6jWNiGlm80Tx1cpBdlRaN3sdGxtUDOfBRMNuOVK5J9BiTi/44vadg0t9 /hamFJP5+lK1iqkaIHoiReF8hI+0KkpzaWduIFRlc3QgS2V5IChFQykgPGpzaWdu LWVjQGV4YW1wbGUuY29tPoiBBBMTCgAJBQJj9I+QAhsvAAoJENCc5L/S2pOWjSEB gITFeHp2hNjEbmUdcHuWgJhndhDYpLFaatgWUbPjYusXWz4mNyF+tjIDtuOTli4a BgF/fYs/V3tWJfyGv/zPrqnwk3ot/JcoaNnyqmSlMmjxnnRiZGtYE7GCOUiBxydT VqL3 =UB5P -----END PGP PRIVATE KEY BLOCK-----