[#11] Receive hex encoded bearer token signature
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
70e25e6caf
commit
61bc5af44b
4 changed files with 7 additions and 5 deletions
|
@ -58,7 +58,7 @@ func TestSign(t *testing.T) {
|
|||
|
||||
bt := &BearerToken{
|
||||
Token: bearerBase64,
|
||||
Signature: base64.StdEncoding.EncodeToString(signatureData),
|
||||
Signature: hex.EncodeToString(signatureData),
|
||||
Key: pubKeyHex,
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue