any fediverse devs see anything obviously wrong with my sigbuf? maybe because of header casing or something?
@jb55 No, it takes the message.... and you thought Twitter's 280 characters was limiting...
@pete I was able to get it working after reading this:
https://stackoverflow.com/a/50703808
Is this answer wrong is it just typical to hash before you sign? I’m not super familiar with RSA.
@jb55 You pretty much always hash first, at least under the hood.
Think of it this way: the signature math operates on numbers. Your message is also a number. Hashing it makes your message into a number of manageable size, and randomly distributed so you don't have to deal with any special cases.