'Returns a string representing the GnuPG version number.'

def version(self):

    self.event.running_gpg(_('Checking    GnuPG    version'))
    retvals = self.run(['--version'], novercheck=True)
    return retvals[1]['stdout'][0].split('\n')[0]
