Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #48
PRs that should be merged first:
Testing
With signing keys configured (new way) on docker swarm
curl http://localhost:8080/async-function/echo -d 'hello' -H "X-Callback-Url: http://gateway:8080/function/verify-go"
☝️ notice the Posted result is 200
☝️ notice Verified OK and all the signing verification details
Without signing keys configures (backwards compatibility)
If you deploy the new version of nats queue worker, but have not configured keys in the environment, it should fallback to unsigned messages
With signing keys configured (new way) on k8s
Tail verify function logs
kubetail verify-go -n openfaas-fn
Send async message
curl http://(minikube ip):31112/async-function/echo -d 'hello' -H "X-Callback-Url: http://gateway.openfaas:8080/function/verify-go"
Look for success message: Verified OK
TODO:
Description
Adds http signatures to callbacks see: #48
How Has This Been Tested?
Types of changes
Checklist:
git commit -s