top | item 46090191

(no title)

lillesvin | 3 months ago

But the returned signed string will be an HMAC-SHA256 hash, won't it? Then there's not going to be any '\n' or '\\n's in there. Only thing you'll be able to tell is if it matches your hash or not, in which case 'OK' or 'not OK' will work just as well.

Or am I misunderstanding you?

discuss

order

kichik|3 months ago

You are indeed misunderstanding me. I am talking about returning the entire string to be signed. Not the result of the signature.

lillesvin|3 months ago

Ah, my bad. Sorry.

But couldn't you then just make the call to an echo service (like HTTPbin) or simply dump the request when you send it?