Search found 2 matches
- Sun Jan 22, 2023 2:35 pm
- Forum: ESP-IDF
- Topic: [Solved] How to get r and s from an ASN.1 DER encoded ECDSA signature
- Replies: 1
- Views: 1382
Re: How to get r and s from an ASN.1 DER encoded ECDSA signature
It turns out that my base64 encoded signature was not url-safe. Solved by replacing + and / with - and _.
- Fri Jan 20, 2023 5:55 pm
- Forum: ESP-IDF
- Topic: [Solved] How to get r and s from an ASN.1 DER encoded ECDSA signature
- Replies: 1
- Views: 1382
[Solved] How to get r and s from an ASN.1 DER encoded ECDSA signature
Hi, I'm currently trying to get the r and s from my ANS.1 DER signature, signed by my ATECC608B. I need these to build a 64-byte signature and base64 encode it to use in my jwt. I have attempted this, but the base-64 signature I'm getting back contains (invalid?) characters/symbols such as / and + ....