summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-key
Commit message (Collapse)AuthorAgeFilesLines
* test exitcode as well as string equalityDavid Kalnischkies2015-03-161-2/+2
| | | | | | | | We use test{success,failure} now all over the place in the framework, so its only consequencial to do this in the situations in which we test for a specific output as well. Git-Dch: Ignore
* tests: enhance output of grep and test failsDavid Kalnischkies2014-10-261-7/+7
| | | | Git-Dch: Ignore
* ensure world-readability for trusted.gpg in postinstDavid Kalnischkies2014-10-021-0/+7
| | | | | | | | | | apt-key creates trusted.gpg if it needs it with 644 nowadays, but before it ensured this, it was gpg creating it, which gives it by default 600. Not a problem as long as our gpgv is run as root, but now that we drop privileges we have to ensure that we can also read trusted.gpg files created by earlier apt-key versions. Closes: 647001
* ensure apt-key del handles 16-byte key idsJames McCoy2014-09-271-0/+8
| | | | | | | The original patch does not apply against the rewritten apt-key, but an additional test doesn't hurt. Closes: 754436
* use only one --keyring in gpg interactionsDavid Kalnischkies2014-09-271-18/+39
| | | | | | | | | We were down to at most two keyrings before, but gnupg upstream plans dropping support for multiple keyrings in the longrun, so with a single keyring we hope to be future proof – and 'apt-key adv' isn't a problem anymore as every change to the keys is merged back, so we have now the same behavior as before, but support an unlimited amount of trusted.gpg.d keyrings.
* allow to specify fingerprints in 'apt-key del'David Kalnischkies2014-09-271-0/+8
|
* add a test for apt-key export{,all}David Kalnischkies2014-09-271-0/+7
| | | | Git-Dch: Ignore
* support gnupg2 as drop-in replacement for gnupgDavid Kalnischkies2014-09-271-83/+108
| | | | | | If both are available APT will still prefer gpg over gpg2 as it is a bit more lightweight, but it shouldn't be a problem to use one or the other (at least at the moment, who knows what will happen in the future).
* let apt-key del work better with softlink and single key keyringsDavid Kalnischkies2013-08-121-0/+68
| | | | | | | Having fragement files means there is a good chance that there is one key per keyring, so deal with that as well as with setups in which keyrings are linked into trusted.gpg.d as we can't just modify those files (they might be in /usr for example).
* make the keyring locations in apt-key configurableDavid Kalnischkies2013-08-121-0/+39
Might come in handy for more than just a simple testcase.