Replies: 2 comments
-
That particular example only accepts a DER encoded public key, because that's what Node expects (it's an unfortunate choice by Node). Your Ed25519 key right now, via |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, the Ed25519 OID is exactly what I was missing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have problem creating public key when verifying signature, the code is(taken from example-electron-license-activation):
KEYGEN_VERIFY_KEY is from data.meta.keys.ed25519 of GET /v1/accounts/{{account}}.
The error is:
However, using a ed25519 key from official keygen.sh will not have error. I've no idea what I'm doing it wrong.
key doesn't work:
NTIzYzZkM2YwYTgwZjgyZGI0OGI3ZTliODBiMDA2Y2E3MGZmZGZkYWY2NTg0NzdkNGFlMzFlZDczOWNhOTQzNQ==
key works:
MCowBQYDK2VwAyEA6GAeSLaTg7pSAkX9B5cemD0G0ixCV8/YIwRgFHnO54g= (from example-electron-license-activation)
Beta Was this translation helpful? Give feedback.
All reactions