]> Cypherpunks.ru repositories - pyderasn.git/commitdiff
Prepare for 4.3 release 4.3
authorSergey Matveev <stargrave@stargrave.org>
Fri, 5 Oct 2018 15:39:38 +0000 (18:39 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 5 Oct 2018 15:39:38 +0000 (18:39 +0300)
VERSION
doc/news.rst
pyderasn.py

diff --git a/VERSION b/VERSION
index bf77d549685a9e09678fbbda05a071b312cf2de3..69df05f33b7e980f3528fbee240360b759b79dfa 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.2
+4.3
index d4eff6979f8e841373c0c473070bdf5c96b2bc10..cc3e6a8fa17dee6ebe10efa7733f8178326b952e 100644 (file)
@@ -1,6 +1,13 @@
 News
 ====
 
+.. _release4.3:
+
+4.3
+---
+* Fix NumericString: space is allowed character
+* Strict PrintableString sanitizing
+
 .. _release4.2:
 
 4.2
index 9a8ccddfa319df841e98a94ac4950f9b6f308c3d..9c4da4ec76b94b3561581453e2b981fa18e14ad3 100755 (executable)
@@ -3492,7 +3492,8 @@ class UTF8String(CommonString):
 class NumericString(CommonString):
     """Numeric string
 
-    Its value is properly sanitized: only ASCII digits can be stored.
+    Its value is properly sanitized: only ASCII digits with spaces can
+    be stored.
     """
     __slots__ = ()
     tag_default = tag_encode(18)
@@ -3508,6 +3509,10 @@ class NumericString(CommonString):
 
 
 class PrintableString(CommonString):
+    """Printable string
+
+    Its value is properly sanitized: see X.680 41.4 table 10.
+    """
     __slots__ = ()
     tag_default = tag_encode(19)
     encoding = "ascii"