107
107
def gpgauthenticate(self, file, signature,
110
109
""" authenticated a file against a given signature, if no keyring
111
110
is given use the apt default keyring
113
112
gpg = GnuPGInterface.GnuPG()
114
113
gpg.options.extra_args = ['--no-options',
118
116
proc = gpg.run(['--verify', signature, file],
119
117
create_fhs=['status','logger','stderr'])