-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhook challenges #74
Conversation
btw, we have seen this PR and made a story for it internally, we're just hit by a lot of vacation... :p |
Forgot/missed this review during my vacation. :P Thanks for it! I basically agree with everything mentioned. See 46acd6d .. I can prettify the git history if/when you want. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems tests broke, this should fix it
46acd6d
to
7562d8d
Compare
Rebased with main and refactored to get the vault-test spinning :) The CI should run green now, once it is green-lighted to start running 🤞 |
Motivation
This is how I mostly use Faythe today, but I'm tired of maintaining my own fork :)
The change
Extracted the nsupdate exec code and allowed for implementation of other "ChallengeDriver"'s. Then, implemented a webhook challenge driver that sends either a PUT or DELETE-request with payload like:
Breaking current config
Using the existing nsupdate-driver, configuration has to be changed from:
to:
Note that the authoritative dns server is no longer assumed to be the same endpoint to hit with nsupdate.
Future improvements