Skip to content

Commit b449589

Browse files
committed
update Chatops-Signature documentation to match implementation
1 parent bf4ce30 commit b449589

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/protocol-description.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,16 @@ string to be signed is:
172172
`https://example.com/_chatops\nabc123\n2017-05-11T19:15:23Z\n{"method": "foo"}`
173173

174174
The signature header starts with the word `Signature`, followed by whitespace,
175-
followed by comma-separated key-value pairs separated by an `=`. Each
176-
value is closed with double quotes. Keys must be all lowercase.
175+
followed by comma-separated key-value pairs separated by an `=`. Keys must be
176+
all lowercase.
177177

178178
* `keyid`: An implementation-specific key identifier that servers can use to
179179
determine which private key signed this request.
180180
* `signature`: The base64-encoded RSA-SHA256 signature of the signing string.
181181

182182
An example signature header would be:
183183

184-
`Chatops-Signature: Signature keyid="rsakey1",signature="<base64-encoded-signature>"`
184+
`Chatops-Signature: Signature keyid=rsakey1,signature=<base64-encoded-signature>`
185185

186186
#### Authentication
187187

0 commit comments

Comments
 (0)