I thought it was about time I added the option for Elliptic Curve Account Keys, but getting an error. I’m assuming this is because I have the parameters from the key incorrect.

Given a test key

```
-----BEGIN EC PARAMETERS-----
BggqhkjOPQMBBw==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIIKnIM3m3nLuPYHqDmEeNlC5pz4IXiFiV3SFLKKwloTLoAoGCCqGSM49
AwEHoUQDQgAEj+tDu+ai1Sb0vFRRz9Pw1LplyHk0J1xvO3GAK+n4vSE5qpEkg7Bb
6Ilv5E20cxyTrivey+DPQ0o639GXHVqEVw==
-----END EC PRIVATE KEY-----
```

If I’m calculating it correctly, then I think

x=8feb43bbe6a2d526f4bc5451cfd3f0d4ba65c87934275c6f3b71802be9f8bd21

y=39aa912483b05be8896fe44db4731c93ae2bdecbe0cf434a3adfd1971d5a8457

and hence

jwk = {“kty”: “EC”, “crv”: “P-256”, “x”: “j-tDu-ai1Sb0vFRRz9Pw1LplyHk0J1xvO3GAK-n4vSE”, “y”: “OaqRJIOwW-iJb-RNtHMck64r3svgz0NKOt_Rlx1ahFc”}

I’m assuming this is wrong somewhere though as I get an error;

```
{
"type": "urn:acme:error:malformed",
"detail": "JWS verification error",
"status": 400
}
```

when trying to register the account.

Can anyone tell me what the correct x,y and jwk should be for that key ?

Thanks