aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/irdb/models.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-02-25 20:46:05 +0000
committerRob Austein <sra@hactrn.net>2014-02-25 20:46:05 +0000
commitde95fb9525bf5f1ced2fb90924b31b78494e1e87 (patch)
tree7c529a242b334e38a0d78761a0dfad12c452bfcf /rpkid/rpki/irdb/models.py
parentbf0b63854ec52df692a503eb78e270363f31ebfd (diff)
Something broke MySQLdb on my laptop during a recent upgrade, and I
have better things to do than shaving that particular yak today. So I'm committing untested changes (to a development branch that nobody but me is using) so I can test them on a working development platform. svn path=/branches/tk671/; revision=5682
Diffstat (limited to 'rpkid/rpki/irdb/models.py')
-rw-r--r--rpkid/rpki/irdb/models.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/rpkid/rpki/irdb/models.py b/rpkid/rpki/irdb/models.py
index e29e332e..7a3c8521 100644
--- a/rpkid/rpki/irdb/models.py
+++ b/rpkid/rpki/irdb/models.py
@@ -583,14 +583,9 @@ class EECertificateRequest(ResourceSet):
issuer = django.db.models.ForeignKey(ResourceHolderCA, related_name = "ee_certificate_requests")
pkcs10 = PKCS10Field()
gski = django.db.models.CharField(max_length = 27)
- router_id = django.db.models.BigIntegerField(null = True)
-
- # Subject name isn't allowed in the PKCS #10, so we need to carry
- # either a subject name or a router-id as a separate field.
- # Carrying subject name would be more flexible, but is also a swamp
- # if we start allowing more than just CN and SN.
- #
- # For the moment we just do router-id.
+ cn = django.db-models.CharField(max_length = 64)
+ sn = django.db-models.CharField(max_length = 64)
+ eku = django.db.models.TextField(null = True)
def _select_resource_bag(self):
ee_asn = rpki.irdb.EECertificateRequestASN.objects.raw("""