Import keys as trusted.

This commit is contained in:
Andrey Smirnov
2014-02-07 12:17:55 +04:00
parent ca4736674e
commit 87c0430628
2 changed files with 3 additions and 6 deletions
+2 -3
View File
@@ -117,9 +117,8 @@ class BaseTest(object):
self.fixtureWebServer)) self.fixtureWebServer))
if self.fixtureGpg: if self.fixtureGpg:
self.run_cmd(["gpg", "--no-default-keyring", "--keyring", "aptlytest.gpg", "--import", self.run_cmd(["gpg", "--no-default-keyring", "--trust-model", "always", "--batch", "--keyring", "aptlytest.gpg", "--import",
os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files", "debian-archive-keyring.gpg")], os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files", "debian-archive-keyring.gpg")])
expected_code=2)
if hasattr(self, "fixtureCmds"): if hasattr(self, "fixtureCmds"):
if self.fixtureWebServer: if self.fixtureWebServer:
+1 -3
View File
@@ -3,9 +3,7 @@ gpgv: Signature made Fri Feb 7 06:56:50 2014 MSK using RSA key ID 46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
gpg: Signature made Fri Feb 7 06:56:50 2014 MSK using RSA key ID 46925553 gpg: Signature made Fri Feb 7 06:56:50 2014 MSK using RSA key ID 46925553
gpg: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" gpg: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
gpg: WARNING: This key is not certified with a trusted signature! gpg: WARNING: Using untrusted key!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: A1BD 8E9D 78F7 FE5C 3E65 D8AF 8B48 AD62 4692 5553
Mirror [mirror9]: http://mirror.yandex.ru/debian-backports/ squeeze-backports successfully added. Mirror [mirror9]: http://mirror.yandex.ru/debian-backports/ squeeze-backports successfully added.
You can run 'aptly mirror update mirror9' to download repository contents. You can run 'aptly mirror update mirror9' to download repository contents.