Skip to content
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

Raise an error when the HTTP challenge is nil #71

Merged
merged 8 commits into from
Oct 7, 2020

Conversation

mashedkeyboard
Copy link
Contributor

Spotted this issue way back when the original ACME v2 implementation was being done, but it's pretty minor, so it doesn't look like it got picked up.

For now, this just raises an error; in future, this should use a DNS challenge if that's available, though. I did a lot of work on that in #60, which I might try and work some more on now - CloudFlare's new API tokens are here, so we can get it set up with that at least as supported DNS, and I'll build in providers as being modular so others can contribute others as and when needed.

Either way, for now, this PR addresses #69 - although perhaps not in a hugely satisfactory way, beyond just "not throwing some random file access stack trace".

Until there is support for proper DNS validation, which I might look at building in again now, we need an error to fire when no HTTP challenge is available for whatever reason.
@jalada
Copy link
Collaborator

jalada commented Oct 1, 2020

@mashedkeyboard I'm so sorry, I somehow never saw this come in. I've put it on my list to check & merge in as soon as I can.

Thx for your patience!

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