-
I am running into an issue with a simple C# program testing signature verification with a self-hosted server...I think I have everything set up correctly, but verification fails. Was wondering whether someone could take a look at my C# code and maybe point me in the direction of what my issue might be? Here is my test Program.cs:
The output of which is:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I'm AFK, so I haven't tested it, but the code looks good. Are you sure you have the public key correct? Typically, an Ed25519 public key is hex encoded, not base64 encoded. |
Beta Was this translation helpful? Give feedback.
-
Oh God, thank you! 😂
…On Sun, Jun 30, 2024, 12:32 PM Zeke Gabrielse ***@***.***> wrote:
In your signing data, you have (request target), but it should be
(request-target).
—
Reply to this email directly, view it on GitHub
<#146 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ5557ZZR5XZ7XPPSACHG3ZKA6MRAVCNFSM6AAAAABKCRM3LSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSMJYGE2DQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
In your signing data, you have
(request target)
, but it should be(request-target)
.