summaryrefslogtreecommitdiff
path: root/devel/models.py
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-05-06 20:21:14 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-05-06 20:21:14 +0000
commit38f279ae46364bf079dbaa30a5c6cb80a47dd718 (patch)
treec9fe9b138f148d909477da5500f4b286bb186aae /devel/models.py
parent3d65a994502ff301f13ad153c5cd421c6bc1ea37 (diff)
parentd71d0e9e9e97a1ca80bf2b81081b4b4db7fbea76 (diff)
Merge branch 'master' of git://parabolagnulinux.org/parabolaweb
Diffstat (limited to 'devel/models.py')
-rw-r--r--devel/models.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/models.py b/devel/models.py
index f31b8fbb..6c97375c 100644
--- a/devel/models.py
+++ b/devel/models.py
@@ -17,4 +17,17 @@ class MasterKey(models.Model):
class Meta:
ordering = ('created',)
+
+class PGPSignature(models.Model):
+ signer = PGPKeyField(max_length=40, verbose_name="PGP key fingerprint",
+ help_text="consists of 40 hex digits; use `gpg --fingerprint`")
+ signee = PGPKeyField(max_length=40, verbose_name="PGP key fingerprint",
+ help_text="consists of 40 hex digits; use `gpg --fingerprint`")
+ created = models.DateField()
+ expires = models.DateField(null=True)
+ valid = models.BooleanField(default=True)
+
+ class Meta:
+ verbose_name = 'PGP signature'
+
# vim: set ts=4 sw=4 et: