Skip to content

Spec signing example#30

Merged
bhuga merged 2 commits intomasterfrom
spec-signing-example
Jun 29, 2017
Merged

Spec signing example#30
bhuga merged 2 commits intomasterfrom
spec-signing-example

Conversation

@technoweenie
Copy link
Contributor

This adds an actual signature with sample public and private keys for implementors to use for testing. I added some strategic puts in the chatops_controller test suite to get this information out.

This also fixes a small discrepancy with the way the Chatops-Signature header is constructed. The parsing code doesn't parse quotes out, so I figured that was correct behavior. If quotes are optional (and stripped out somewhere I'm not seeing), I'll make that clear in the spec and fix it in my implementation too.

@bhuga
Copy link
Contributor

bhuga commented Jun 29, 2017

This also fixes a small discrepancy with the way the Chatops-Signature header is constructed.

Verified docs bug. Our other behavior also doesn't have quotes.

https://github.com/bhuga/hubot-chatops-rpc/blob/master/src/chatops-rpc.coffee#L79

This looks great. Thanks!

@bhuga bhuga merged commit f0414af into master Jun 29, 2017
@technoweenie technoweenie deleted the spec-signing-example branch June 29, 2017 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants