summaryrefslogtreecommitdiff
path: root/apt/auth.py
AgeCommit message (Collapse)AuthorFilesLines
2014-09-03fix testsMichael Vogt1-2/+4
2014-08-28tests/test_auth.py: update for gnupg 1.4.18Mauricio Faria de Oliveira1-0/+6
The test 'test_add_key_from_server_mitm' needs updating for gnupg 1.4.18 which fail differently/earlier when 'fingerprints do not match' since commit 'Screen keyserver responses' (5230304349490f31aa64ee2b69a8a2bc06bf7816) With that change gnupg actually checks itself(!) if the key that the server send matches the key that the user asked for. Closes: #755342
2014-01-06Use a single code base for Python 2 and 3Julian Andres Klode1-1/+1
This is much better than running 2to3 during the build, as it gives us more control over the Python 3 code.
2014-01-06Use print_function everywhereJulian Andres Klode1-0/+2
This brings the code closer to Python 3. Automatically converted using 2to3 -f print.
2014-01-05make test_pep8.py passMichael Vogt1-14/+25
2014-01-05make pyflakes cleanMichael Vogt1-1/+0
2012-10-23build fixes for python3.3Michael Vogt1-1/+2
2012-10-10cherry pick robustness fixes for keyid (allow leading 0x, allow lowercase)Michael Vogt1-1/+3
2012-10-02apt/auth.py: fix trailing whitespaceMichael Vogt1-1/+1
2012-10-01apt/auth.py: proper cleanupMichael Vogt1-2/+1
2012-10-01check fingerprint after downloading a key and before adding itMichael Vogt1-4/+68
2012-10-01support only downloading long keyids (160bit) in add_key_from_keyserver()Michael Vogt1-3/+9
2012-07-30apt/auth.py: Forward stderr from apt-key to our stderr if non-emptyJulian Andres Klode1-0/+4
2012-07-30apt/auth.py: Do not merge stdout and stderr (Closes: #678706)Julian Andres Klode1-5/+5
2012-06-25Use Popen.communicate() instead of stdin, stdoutJulian Andres Klode1-10/+12
2012-06-25* apt/auth.py:Julian Andres Klode1-25/+27
- Use tempfile.NamedTemporaryFile to create temporary file
2012-06-06Add to copyrightSebastian Heinlein1-0/+1
2012-06-06Add support for update and net-updateSebastian Heinlein1-0/+18
2012-06-06Don't call fakeroot by default - this should be done by an alternate ↵Sebastian Heinlein1-2/+0
Dir::Bin::Apt-key script
2012-06-06Remove the wait statement to get a cleaner APISebastian Heinlein1-20/+5
2012-06-06Call apt-key instead of gnupgSebastian Heinlein1-112/+48
2012-06-05apt/auth.py: create _TMPDIR on demandMichael Vogt1-2/+5
2012-06-05pep8 fixesMichael Vogt1-3/+11
2012-06-01Small fixSebastian Heinlein1-1/+1
2012-06-01Strip exported keySebastian Heinlein1-1/+1
2012-06-01Don't set the trust model to alwaysSebastian Heinlein1-1/+0
2012-06-01Add an export_key methodSebastian Heinlein1-0/+20
2012-05-31Don't overwrite proc twiceSebastian Heinlein1-1/+1
2012-05-31A lot of refactoringSebastian Heinlein1-76/+186
2012-05-30Import AptAuth.py from software-properites as auth.pySebastian Heinlein1-0/+98