micahflee / torbrowser-launcher Public
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
Check gpg's exit code rather than stdout for signature verification #3
Comments
|
I merged in ioerror's gpg-keys branch (https://github.com/ioerror/torbrowser-launcher/tree/gpg-keys/keys), which includes Sebastian's public key. |
|
verify.sh script should exit with the exit code of the gpg --verify command. It should also validate input (ioerror@40abeed). I could also use a system-wide trusted gpg homedir with the keys already imported (ioerror@bfe97f4). |
|
Actually it looks like a global homedir doesn't work because gnupg wants to write files to it. |
…des instead of output. finished #3.
From https://trac.torproject.org/projects/tor/ticket/5236#comment:33
Screenshots look good!
Can you add sebastian's key please? The verify page says he sometimes also signs the builds.
Not sure if that opens up for anything weird. gpg has exit codes.
A different example, clearsign a file, tamper with the clearsigned file and the gpg --decrypt.
In this case matching Good signature wouldn't be good. Doesn't work in this case, just wanted to note, that reading the exit codes is better.
The text was updated successfully, but these errors were encountered: