summaryrefslogtreecommitdiff
path: root/devel/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-09-30 20:39:59 -0500
committerDan McGee <dan@archlinux.org>2013-09-30 20:45:10 -0500
commit92136757bfd20563999b0e1cf3f05685b60da6bd (patch)
treef74e0fa50f1e9b3cc5e403c991d2da66b9b33e16 /devel/models.py
parentb3321537d3ec91fd6f8d1123881a94a0490f1bdc (diff)
Proper support for revoked signatures
The 'valid' column wasn't quite right. Add a new 'revoked' column that works similar to the one we have on keys and use it instead, properly parsing the output from `gpg` signature data and looking for the magic prefix string. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/models.py')
-rw-r--r--devel/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/models.py b/devel/models.py
index bf979338..44bbc66e 100644
--- a/devel/models.py
+++ b/devel/models.py
@@ -107,7 +107,7 @@ class PGPSignature(models.Model):
db_index=True)
created = models.DateField()
expires = models.DateField(null=True, blank=True)
- valid = models.BooleanField(default=True)
+ revoked = models.DateField(null=True, blank=True)
class Meta:
ordering = ('signer', 'signee')