gzsig returning wrong exit code
Auto-update currently isn't working with non-signed images because gzsig exits with the wrong exit code on unsigned images.
- gzsig verify /etc/pubkey.pem < latest.tgz
No gzip signature found
Couldn't verify input
- echo $?
According to system_firmware_auto.php, it should (and used to) return 2 in such situations.
#1 Updated by Dan Swartzendruber over 9 years ago
I am very confused here. I have tracked all the way back to revision 1.1 in the original code and don't see where it ever returned anything other than 1. See this:
Maybe I am missing a key bit of dev info here that this was a pfsense enhancement? Or someone else's and a subsequent update to the port caused a regression?