~apachelogger/software-properties/python-apt-is-like

« back to all changes in this revision

Viewing changes to softwareproperties/AptAuth.py

  • Committer: Dimitri John Ledkov
  • Date: 2016-09-12 11:47:42 UTC
  • Revision ID: xnox@ubuntu.com-20160912114742-tbzasctizmcfb4bs
softwareproperties/AptAuth.py: use gpg1 to manipulate
etc/apt/trusted.gpg as that is public gpg1 keyring, not a keybox.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
class AptAuth:
46
46
    def __init__(self, rootdir="/"):
47
 
        self.gpg = ["/usr/bin/gpg"]
 
47
        self.gpg = ["/usr/bin/gpg1"]
48
48
        self.base_opt = self.gpg + [
49
49
            "--no-options", 
50
50
            "--no-default-keyring",