Conversation
gigamonkey
left a comment
There was a problem hiding this comment.
I few things I'd like you to tidy up.
|
|
||
| There is a unix utility for encoding and decoding base64 which you should be | ||
| able to find. | ||
| aGVsbG8K |
There was a problem hiding this comment.
Please unclobber this file. Look up the docs for git checkout and git show for some ways to get the old version back. There's also an entry on https://ohshitgit.com/ about this.
There was a problem hiding this comment.
What is this file for? It probably shouldn't be added to git.
|
|
||
| echo "$1" | openssl enc -aes-256-cbc -a -salt -pass pass:"$key" -out encrypted.txt | ||
|
|
||
| echo "Secret is encrypted in $PUZZLE/encrypted.txt \n The password is in $PUZZLE/password, but thats obfuscaated too hidden too. Think of the last challenge..." |
There was a problem hiding this comment.
For now, the secret should be one line of text since we don't know that it's going to be hidden in a way be the previous step in the puzzle that will work with a multi-line hint.
I have plans for a v2 that's going to allow for much more free form secrets and clues but for now, make this one line.
There was a problem hiding this comment.
Also, it occurs to me that this clue is probably not enough information for the player to write a solution: you need to give some information like "encrypted with AES-256 in chaining block mode with salt and the key you'll find in $PUZZLE/password, but reversed."
| echo "$key" > $PUZZLE/password | ||
|
|
||
|
|
||
| echo "$1" | openssl enc -aes-256-cbc -a -salt -pass pass:"$key" -out encrypted.txt |
There was a problem hiding this comment.
Be good to throw a -pbkdf2 in there so you don't get warnings about deprecated key derivations being used.
gigamonkey
left a comment
There was a problem hiding this comment.
Your step script is actually logically flawed. And there are some issues with your solution script. You should try to get them working together.
Added a secret to practice encryption and decryption