aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-08-31 00:32:49 +0000
committerRob Austein <sra@hactrn.net>2010-08-31 00:32:49 +0000
commit9018331ed6dcd46cc3ca169d668cf973569e2577 (patch)
tree3c1b379ad596c0a1135c7a4e37218430534ea1c2
parent413c76f6ff05b011f05d4f2046d348689804d737 (diff)
regen
svn path=/rpkid/publication-schema.rng; revision=3435
-rw-r--r--rpkid/publication-schema.rng14
-rw-r--r--rpkid/rpki/relaxng.py14
2 files changed, 18 insertions, 10 deletions
diff --git a/rpkid/publication-schema.rng b/rpkid/publication-schema.rng
index e8374aa8..203b12d3 100644
--- a/rpkid/publication-schema.rng
+++ b/rpkid/publication-schema.rng
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- $Id: publication-schema.rnc 3109 2010-03-16 23:55:07Z sra $
+ $Id: publication-schema.rnc 3434 2010-08-31 00:31:55Z sra $
RelaxNG Schema for RPKI publication protocol.
@@ -95,11 +95,15 @@
</data>
</attribute>
</define>
- <!-- Base64 encoded DER stuff -->
+ <!--
+ Base64 encoded DER stuff
+ base64 = xsd:base64Binary { maxLength="512000" }
+
+ Sadly, it turns out that CRLs can in fact get longer than this for an active CA.
+ Remove length limit for now, think about whether to put it back later.
+ -->
<define name="base64">
- <data type="base64Binary">
- <param name="maxLength">512000</param>
- </data>
+ <data type="base64Binary"/>
</define>
<!-- Publication URLs -->
<define name="uri_t">
diff --git a/rpkid/rpki/relaxng.py b/rpkid/rpki/relaxng.py
index c612acc5..b16a5a7d 100644
--- a/rpkid/rpki/relaxng.py
+++ b/rpkid/rpki/relaxng.py
@@ -1252,7 +1252,7 @@ up_down = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" encodi
## Parsed RelaxNG publication schema
publication = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" encoding="UTF-8"?>
<!--
- $Id: publication-schema.rnc 3109 2010-03-16 23:55:07Z sra $
+ $Id: publication-schema.rnc 3434 2010-08-31 00:31:55Z sra $
RelaxNG Schema for RPKI publication protocol.
@@ -1347,11 +1347,15 @@ publication = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" en
</data>
</attribute>
</define>
- <!-- Base64 encoded DER stuff -->
+ <!--
+ Base64 encoded DER stuff
+ base64 = xsd:base64Binary { maxLength="512000" }
+
+ Sadly, it turns out that CRLs can in fact get longer than this for an active CA.
+ Remove length limit for now, think about whether to put it back later.
+ -->
<define name="base64">
- <data type="base64Binary">
- <param name="maxLength">512000</param>
- </data>
+ <data type="base64Binary"/>
</define>
<!-- Publication URLs -->
<define name="uri_t">