A python interface to running gpg in a subprocess