gnupgp: bit of a code optimization