From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9160513877A for ; Wed, 20 Aug 2014 03:55:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE8C8E0886; Wed, 20 Aug 2014 03:55:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0481AE0841 for ; Wed, 20 Aug 2014 03:55:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C0BB3401EA for ; Wed, 20 Aug 2014 03:55:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A61639BB for ; Wed, 20 Aug 2014 03:55:19 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1408233961.f968a0f31db4acd8bad157cf57f2ad0206a5fafa.dol-sen@gentoo> Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/ X-VCS-Repository: proj/gentoo-keys X-VCS-Files: gkeys/config.py X-VCS-Directories: gkeys/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: f968a0f31db4acd8bad157cf57f2ad0206a5fafa X-VCS-Branch: master Date: Wed, 20 Aug 2014 03:55:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b2e9e986-d647-4fa2-8a78-7d4a85e75f25 X-Archives-Hash: 182712b3220c476d5028c5306c45b04f commit: f968a0f31db4acd8bad157cf57f2ad0206a5fafa Author: Pavlos Ratis gentoo org> AuthorDate: Sat Aug 16 23:42:42 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sun Aug 17 00:06:01 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=f968a0f3 create GKEY_CHECKS, a namedtuple used in gkey checks --- gkeys/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gkeys/config.py b/gkeys/config.py index 6b9888e..d353cbb 100644 --- a/gkeys/config.py +++ b/gkeys/config.py @@ -145,3 +145,7 @@ class GKEY(namedtuple('GKEY', ['nick', 'name', 'keydir', 'fingerprint'])): fingerprint = {'fingerprint': f, 'keyid': '0x' + f[-16:]} output += GKEY_FINGERPRINTS % fingerprint return output + +class GKEY_CHECK(namedtuple('GKEY_CHECK', ['keyid', 'revoked', 'expired', 'invalid', 'sign'])): + + __slots__ = ()