-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Hi,
I was looking at the _parse method in challenge.py and noticed that you use ThreadWithReturnValue combined with join() to validate the challenge:
twrv.start()
_validation = twrv.join(timeout=self.challenge_validation_timeout)
According to the ACME protocol (RFC 8555), the server is expected to perform challenge validation in the background, while clients should poll the challenge endpoint to check its status.
I’m curious if the use of join() here is intentional to force synchronous validation, or if it’s a design choice. Would it be safe to remove the join() and let the validation run fully in background, while relying on clients to poll the challenge status as the protocol suggests?
Thanks in advance for any clarification!
Metadata
Metadata
Assignees
Labels
No labels