gpg-interface: move parse_gpg_output() to where it should be