jaymzh / pius

PGP Individual User Signer
Other
97 stars 25 forks source link

Default output directory emptied when used offline without specifying -o #9

Open zpuskas opened 9 years ago

zpuskas commented 9 years ago

Ran command: $ pius -r somekeyring.gpg -A -s 0xSomeid

Expected result: /tmp/pius_out containing signed keys

Actual result: /tmp/pius_out contained only 2 random signed uid-s instead of all found in the keyring

If command ran is: $ pius -r somekeyring.gpg -A -s 0xSomeid -e -o /tmp/signed_keys

Actual result is as expected: All signed and encrypted signed UID-s are stored in /tmp/signed keys.

As I did not run with -o but without -e, so I'm not sure whether this bug is triggered by the missing -o or the missing -e parameter.

Version used: pius-2.0.7 on Debian Wheezy (armhf), but apparently this is not fixed in later versions either.

jaymzh commented 6 years ago

Sorry for the delay. I just tried this and I cannot reproduce. I ran pius -r ./<keyring> -A -s $keyid, signed 5 keys, and said n to the rest and 9 signed UIDs from all 5 keys were in the out directory. Can you still reproduce this on modern PIUS? And if so, can you please provide debug output?