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