diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-02 10:33:16 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-02 10:33:16 +0200 |
| commit | eb74fddcc11cf40ef207157a36308aa29801e907 (patch) | |
| tree | 50200adfc5ab73c0e97003768f0fd618bea2233b /UpdateManager | |
| parent | 19639e82319463cfb5c311155d63e06dd8ad5bde (diff) | |
| download | python-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.py | 4 |
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']) |
