summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-08-02 10:33:16 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-08-02 10:33:16 +0200
commiteb74fddcc11cf40ef207157a36308aa29801e907 (patch)
tree50200adfc5ab73c0e97003768f0fd618bea2233b /UpdateManager
parent19639e82319463cfb5c311155d63e06dd8ad5bde (diff)
downloadpython-apt-eb74fddcc11cf40ef207157a36308aa29801e907.tar.gz
* UpdateManager/DistUpgradeFetcher.py:
- don't use the trustdb anymore because it if mode 0600 and can't be read as user
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/DistUpgradeFetcher.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/UpdateManager/DistUpgradeFetcher.py b/UpdateManager/DistUpgradeFetcher.py
index 4aacdae4..af07cfb4 100644
--- a/UpdateManager/DistUpgradeFetcher.py
+++ b/UpdateManager/DistUpgradeFetcher.py
@@ -105,15 +105,13 @@ class DistUpgradeFetcher(object):
return True
def gpgauthenticate(self, file, signature,
- keyring='/etc/apt/trusted.gpg',
- trustdb='/etc/apt/trustdb.gpg'):
+ keyring='/etc/apt/trusted.gpg'):
""" authenticated a file against a given signature, if no keyring
is given use the apt default keyring
"""
gpg = GnuPGInterface.GnuPG()
gpg.options.extra_args = ['--no-options',
'--no-default-keyring',
- '--trustdb-name',trustdb,
'--keyring', keyring]
proc = gpg.run(['--verify', signature, file],
create_fhs=['status','logger','stderr'])