Actions
Bug #318
closedgzsig returning wrong exit code
Start date:
01/22/2010
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
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 $?
1
According to system_firmware_auto.php, it should (and used to) return 2 in such situations.
Updated by Dan Swartzendruber almost 15 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?
Updated by Ermal Luçi over 14 years ago
Updated by Chris Buechler over 14 years ago
- Status changed from Feedback to Resolved
Actions