-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When playing a dynamic challenge, the user may wish to submit the acquired flag, after the instance has already expired.
This is especially true, if a solution can also be found locally, without launching an instance and the instance is only provided to make it easier to get started.
Currently the user is met with this error message:
Lines 450 to 465 in c70e28b
| # If the instance no longer exists | |
| if data["since"] is None: | |
| logger.debug( | |
| "instance for source_id %s and challenge_id %s no longer exists", | |
| source_id, | |
| challenge.id, | |
| ) | |
| logger.info( | |
| "invalid submission due to expired instance for challenge %s source %s", | |
| challenge.id, | |
| source_id, | |
| ) | |
| return ChallengeResponse( | |
| status="incorrect", | |
| message="Expired (the instance must be running to submit)", | |
| ) |
If there is no technical reason this is impossible, I would like to be able to allow such submissions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request