You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create a separate repo where you allow actions to run, so you can get the secret out #425
Create a separate repo where you allow actions to run, so you can get the secret out. The idea would be that you have a challenge with a forkable action+Secret, so anyone forking this repository should get access to the given secret.
TODO:
Have the Github secret forkable
Create a github action using it
Create the actual challenge with the secret encrypted as part of the java code (See contributing.md on how to create the challenge)
changed the title [-]Create a separate repo where you allow actions to run, so you can get the ssecret out[/-][+]Create a separate repo where you allow actions to run, so you can get the secret out[/+]on Oct 5, 2022
Given a secret can no longer be used in forks unless you use pull_request_target which will result in a lot of spam PRs, maybe we can instead just have an encrypted secret in a github action with the key embedded into it?
I went with your suggestion from earlier in this thread rather than a separate repo:
the workflow .github/workflows/challenge77.yml ships the secret AES-encrypted, with
the key and IV embedded right next to it. Anyone who forks the repo can run the workflow
(or just openssl) and get the secret out, no repository secrets or pull_request_target needed.
It's added as Challenge 77 (76 is taken by #2736), with docs in all supported languages and tests.
One question: are you fine with the workflow living in this repo, or would you still prefer
a separate repo for it?
Activity
[-]Create a separate repo where you allow actions to run, so you can get the ssecret out[/-][+]Create a separate repo where you allow actions to run, so you can get the secret out[/+]commjoen commentedon Oct 13, 2022
Depends on #453 in order to make all items relatable and easy to find :) .
commjoen commentedon Oct 15, 2023
Given a secret can no longer be used in forks unless you use
pull_request_targetwhich will result in a lot of spam PRs, maybe we can instead just have an encrypted secret in a github action with the key embedded into it?commjoen commentedon Oct 15, 2023
Removing additional labels until we are sure what to do with it :D (@bendehaan )
prx-my commentedon Nov 20, 2026
hey, i wanna work on this one @commjoen
prx-my commentedon Nov 22, 2026
opening a draft soon
prx-my commentedon Nov 22, 2026
Hi @commjoen, I've opened a draft PR: #2810
I went with your suggestion from earlier in this thread rather than a separate repo:
the workflow
.github/workflows/challenge77.ymlships the secret AES-encrypted, withthe key and IV embedded right next to it. Anyone who forks the repo can run the workflow
(or just
openssl) and get the secret out, no repository secrets orpull_request_targetneeded.It's added as Challenge 77 (76 is taken by #2736), with docs in all supported languages and tests.
One question: are you fine with the workflow living in this repo, or would you still prefer
a separate repo for it?