-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Automated test for presence of EXIF data for blueprint challenge [🚀] #1613
Comments
I would like to take this up |
I would like to contribute to this issue. |
@prince-7 @vibhuti019, feel free to tackle this one together or one of you does it alone, up to you! |
@bkimminich sir is the issue open ? |
The config schema check is working fine, only the actual EXIF data check doesn't trigger, no matter what I do. It never goes into the callback function under https://github.com/bkimminich/juice-shop/blob/develop/test/server/blueprintSpec.ts#L32 ... Any ideas? |
Sir, can you describe the workflow of the function. |
It is working fine for me with both files and URLs. Can you give any tests so I can check |
Yeah, never mind. It works when I run @chinggg @the-pro Good work guys! I probably have both your addresses already, in case I don't, please email them to me so I can send you some stickers with the next batch for this contribution! 👍 |
This thread has been automatically locked because it has not had recent activity after it was closed. 🔒 Please open a new issue for regressions or related bugs. |
Problem
A valid config file must defined the
fileForRetrieveBlueprintChallenge
property for exactly one product. Fordefault.yml
this is:The presence of the property is checked on startup. It is never checked however, if the image of that product actually contains some EXIF data that would help find that blueprint file. As the challenge seeminly not played often, #1597 could sneakily exist since 2019 without being noticed.
Solution
exifForBlueprintChallenge
that needs to be specified on the product used for the blueprint challengetest/server
that uses theexif
module to read the EXIF data from theimage
of that productexifForBlueprintChallenge
to pass the testAdditional requirements
default.yml
and also all custom configsexifForBlueprintChallenge
property must be checked in thevalidateConfig.ts
scriptconfig.schema.yml
The text was updated successfully, but these errors were encountered: