EtiennePerot/parcimonie.sh — pull request #5 by tribut (2014-03-26 21:38:00+00:00)
Title: Fix getPublicKeys()

Currently, getPublicKeys() will return fingerprints of keys *and* subkeys which means keys with many subkeys will be updated much more frequently than others. Why the original parcimonie decided to call gpg in such a weird way i don't know (they do filter `fpr:` lines that are not immediately preceded by a `pub:` line though). However, I have checked that the only keys missing if the call to gpg is changed as suggested are subkey fingerprints.

The second commit filters gpg v3 fingerprints (32 bytes). They cannot be updated via hkp and I don't think there is any legitimate use for them (I will remove the second commit from this PR if you disagree, of course).