security: In FilePrivateKeyStorage::generateKeyPair, explicitly set the curve OID when encoding.