[pacman-dev] [PATCH 4/4] pacman-key: Actually verify signatures and exit with correct codes

2012-03-31 Thread Pierre Schmitz
We cannot rely on gpg's exit code. Instead we have to check the status-fd to figure out whether a signature is valid or not. In addition to this pacman-key --verify can now be used in scripts as it will return an exit code of 1 if the signature is invalid. Signed-off-by: Pierre Schmitz --- scri

Re: [pacman-dev] [PATCH 4/4] pacman-key: Actually verify signatures and exit with correct codes

2012-03-25 Thread Allan McRae
On 25/03/12 22:10, Pierre Schmitz wrote: > We cannot rely on gpg's exit code. Instead we have to check the status-fd to > figoure out whether a signature is valid or not. typo ^ > In addition to this pacman-key --verify can now be used in scripts as it will > return an exit code of 1 if the signa

[pacman-dev] [PATCH 4/4] pacman-key: Actually verify signatures and exit with correct codes

2012-03-25 Thread Pierre Schmitz
We cannot rely on gpg's exit code. Instead we have to check the status-fd to figoure out whether a signature is valid or not. In addition to this pacman-key --verify can now be used in scripts as it will return an exit code of 1 if the signature is invalid. Signed-off-by: Pierre Schmitz --- scr