Hello community,
here is the log from the commit of package python-pyasn1-modules for
openSUSE:Factory checked in at 2018-07-04 23:54:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyasn1-modules (Old)
and /work/SRC/openSUSE:Factory/.python-pyasn1-modules.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyasn1-modules"
Wed Jul 4 23:54:14 2018 rev:21 rq:620428 version:0.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pyasn1-modules/python-pyasn1-modules.changes
2017-12-02 13:10:31.510690390 +0100
+++
/work/SRC/openSUSE:Factory/.python-pyasn1-modules.new/python-pyasn1-modules.changes
2018-07-04 23:55:00.315900442 +0200
@@ -1,0 +2,8 @@
+Tue Jul 3 10:21:47 UTC 2018 - [email protected]
+
+- update to version 0.2.2:
+ * Copyright notice extended to the year 2018
+ * Migrated references from SourceForge
+ * rfc2986 module added
+
+-------------------------------------------------------------------
Old:
----
pyasn1-modules-0.2.1.tar.gz
New:
----
pyasn1-modules-0.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyasn1-modules.spec ++++++
--- /var/tmp/diff_new_pack.fmBNHE/_old 2018-07-04 23:55:00.715900001 +0200
+++ /var/tmp/diff_new_pack.fmBNHE/_new 2018-07-04 23:55:00.719899996 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyasn1-modules
-Version: 0.2.1
+Version: 0.2.2
Release: 0
Url: https://github.com/etingof/pyasn1-modules
Summary: Collection of protocols modules written in ASN.1 language
++++++ pyasn1-modules-0.2.1.tar.gz -> pyasn1-modules-0.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/CHANGES.txt
new/pyasn1-modules-0.2.2/CHANGES.txt
--- old/pyasn1-modules-0.2.1/CHANGES.txt 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/CHANGES.txt 2018-06-28 08:43:37.000000000
+0200
@@ -1,4 +1,11 @@
+Revision 0.2.2, released 28-06-2018
+-----------------------------------
+
+- Copyright notice extended to the year 2018
+- Migrated references from SourceForge
+- rfc2986 module added
+
Revision 0.2.1, released 23-11-2017
-----------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/LICENSE.txt
new/pyasn1-modules-0.2.2/LICENSE.txt
--- old/pyasn1-modules-0.2.1/LICENSE.txt 2017-01-26 19:49:02.000000000
+0100
+++ new/pyasn1-modules-0.2.2/LICENSE.txt 2018-03-29 16:32:20.000000000
+0200
@@ -1,4 +1,4 @@
-Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
+Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/PKG-INFO
new/pyasn1-modules-0.2.2/PKG-INFO
--- old/pyasn1-modules-0.2.1/PKG-INFO 2017-11-23 12:00:40.000000000 +0100
+++ new/pyasn1-modules-0.2.2/PKG-INFO 2018-06-28 08:52:52.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyasn1-modules
-Version: 0.2.1
+Version: 0.2.2
Summary: A collection of ASN.1-based protocols modules.
Home-page: https://github.com/etingof/pyasn1-modules
Author: Ilya Etingof <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/README.md
new/pyasn1-modules-0.2.2/README.md
--- old/pyasn1-modules-0.2.1/README.md 2017-08-05 16:18:37.000000000 +0200
+++ new/pyasn1-modules-0.2.2/README.md 2018-06-28 08:40:53.000000000 +0200
@@ -1,8 +1,8 @@
ASN.1 modules for Python
------------------------
-[](https://pypi.python.org/pypi/pyasn1-modules)
-[](https://pypi.python.org/pypi/pyasn1-modules/)
+[](https://pypi.org/project/pyasn1-modules)
+[](https://pypi.org/project/pyasn1-modules/)
[](https://secure.travis-ci.org/etingof/pyasn1-modules)
[](https://codecov.io/github/etingof/pyasn1-modules/)
[](https://raw.githubusercontent.com/etingof/pyasn1-modules/master/LICENSE.txt)
@@ -25,6 +25,6 @@
If you want to contribute ASN.1 modules you have converted into pyasn1,
please send me a pull request.
-Copyright (c) 2005-2017, [Ilya Etingof](mailto:[email protected]).
+Copyright (c) 2005-2018, [Ilya Etingof](mailto:[email protected]).
All rights reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/__init__.py
new/pyasn1-modules-0.2.2/pyasn1_modules/__init__.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/__init__.py 2017-11-21
22:42:52.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/__init__.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,2 +1,2 @@
# http://www.python.org/dev/peps/pep-0396/
-__version__ = '0.2.1'
+__version__ = '0.2.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/pem.py
new/pyasn1-modules-0.2.2/pyasn1_modules/pem.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/pem.py 2017-08-05
16:18:37.000000000 +0200
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/pem.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import base64
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1155.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1155.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1155.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1155.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv1 message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1157.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1157.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1157.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1157.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv1 message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1901.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1901.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1901.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1901.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv2c message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1902.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1902.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1902.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1902.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv2c message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1905.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1905.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc1905.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc1905.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv2c PDU syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2251.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2251.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2251.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2251.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# LDAP message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2314.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2314.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2314.py 2017-01-26
19:49:02.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2314.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# PKCS#10 syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2315.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2315.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2315.py 2017-11-21
22:42:52.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2315.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# PKCS#7 message syntax
#
@@ -291,4 +291,4 @@
encryptedData: EncryptedData()
}
-contentTypeMap.update(_contentTypeMapUpdate)
\ No newline at end of file
+contentTypeMap.update(_contentTypeMapUpdate)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2437.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2437.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2437.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2437.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# PKCS#1 syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2459.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2459.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2459.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2459.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# X.509 message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2511.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2511.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2511.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2511.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# X.509 certificate Request Message Format (CRMF) syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2560.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2560.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2560.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2560.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# OCSP request/response syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2986.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2986.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc2986.py 1970-01-01
01:00:00.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc2986.py 2018-03-29
16:32:20.000000000 +0200
@@ -0,0 +1,124 @@
+# coding: utf-8
+#
+# This file is part of pyasn1-modules software.
+#
+# Created by Joel Johnson with asn1ate tool.
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
+#
+# PKCS #10: Certification Request Syntax Specification
+#
+# ASN.1 source from:
+# http://www.ietf.org/rfc/rfc2986.txt
+#
+from pyasn1.type import univ
+from pyasn1.type import char
+from pyasn1.type import namedtype
+from pyasn1.type import namedval
+from pyasn1.type import opentype
+from pyasn1.type import tag
+from pyasn1.type import constraint
+from pyasn1.type import useful
+
+MAX = float('inf')
+
+
+class AttributeType(univ.ObjectIdentifier):
+ pass
+
+
+class AttributeValue(univ.Any):
+ pass
+
+
+certificateAttributesMap = {}
+
+
+class AttributeTypeAndValue(univ.Sequence):
+ componentType = namedtype.NamedTypes(
+ namedtype.NamedType('type', AttributeType()),
+ namedtype.NamedType(
+ 'value', AttributeValue(),
+ openType=opentype.OpenType('type', certificateAttributesMap)
+ )
+ )
+
+
+class Attribute(univ.Sequence):
+ componentType = namedtype.NamedTypes(
+ namedtype.NamedType('type', AttributeType()),
+ namedtype.NamedType('values',
+ univ.SetOf(componentType=AttributeValue()),
+ openType=opentype.OpenType('type',
certificateAttributesMap))
+ )
+
+
+class Attributes(univ.SetOf):
+ pass
+
+
+Attributes.componentType = Attribute()
+
+
+class RelativeDistinguishedName(univ.SetOf):
+ pass
+
+
+RelativeDistinguishedName.componentType = AttributeTypeAndValue()
+RelativeDistinguishedName.subtypeSpec = constraint.ValueSizeConstraint(1, MAX)
+
+
+class RDNSequence(univ.SequenceOf):
+ pass
+
+
+RDNSequence.componentType = RelativeDistinguishedName()
+
+
+class Name(univ.Choice):
+ pass
+
+
+Name.componentType = namedtype.NamedTypes(
+ namedtype.NamedType('rdnSequence', RDNSequence())
+)
+
+
+class AlgorithmIdentifier(univ.Sequence):
+ componentType = namedtype.NamedTypes(
+ namedtype.NamedType('algorithm', univ.ObjectIdentifier()),
+ namedtype.OptionalNamedType('parameters', univ.Any())
+ )
+
+
+class SubjectPublicKeyInfo(univ.Sequence):
+ pass
+
+
+SubjectPublicKeyInfo.componentType = namedtype.NamedTypes(
+ namedtype.NamedType('algorithm', AlgorithmIdentifier()),
+ namedtype.NamedType('subjectPublicKey', univ.BitString())
+)
+
+
+class CertificationRequestInfo(univ.Sequence):
+ pass
+
+
+CertificationRequestInfo.componentType = namedtype.NamedTypes(
+ namedtype.NamedType('version', univ.Integer()),
+ namedtype.NamedType('subject', Name()),
+ namedtype.NamedType('subjectPKInfo', SubjectPublicKeyInfo()),
+ namedtype.NamedType('attributes',
Attributes().subtype(implicitTag=tag.Tag(tag.tagClassContext,
tag.tagFormatSimple, 0)))
+)
+
+
+class CertificationRequest(univ.Sequence):
+ pass
+
+
+CertificationRequest.componentType = namedtype.NamedTypes(
+ namedtype.NamedType('certificationRequestInfo',
CertificationRequestInfo()),
+ namedtype.NamedType('signatureAlgorithm', AlgorithmIdentifier()),
+ namedtype.NamedType('signature', univ.BitString())
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3279.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3279.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3279.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3279.py 2018-03-29
16:32:20.000000000 +0200
@@ -2,7 +2,7 @@
# This file is part of pyasn1-modules.
#
# Copyright (c) 2017, Danielle Madeley <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# License: http://snmplabs.com/pyasn1/license.html
#
# Derived from RFC 3279
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3280.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3280.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3280.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3280.py 2018-03-29
16:32:20.000000000 +0200
@@ -3,8 +3,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Internet X.509 Public Key Infrastructure Certificate and Certificate
# Revocation List (CRL) Profile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3281.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3281.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3281.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3281.py 2018-03-29
16:32:20.000000000 +0200
@@ -3,8 +3,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# An Internet Attribute Certificate Profile for Authorization
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3412.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3412.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3412.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3412.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv3 message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3414.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3414.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3414.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3414.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv3 message syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3447.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3447.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3447.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3447.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# PKCS#1 syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3852.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3852.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc3852.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc3852.py 2018-03-29
16:32:20.000000000 +0200
@@ -3,8 +3,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Cryptographic Message Syntax (CMS)
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc4210.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc4210.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc4210.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc4210.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Certificate Management Protocol structures as per RFC4210
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc4211.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc4211.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc4211.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc4211.py 2018-03-29
16:32:20.000000000 +0200
@@ -3,8 +3,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Internet X.509 Public Key Infrastructure Certificate Request
# Message Format (CRMF)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc5208.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc5208.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc5208.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc5208.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# PKCS#8 syntax
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc5280.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc5280.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc5280.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc5280.py 2018-03-29
16:32:20.000000000 +0200
@@ -3,8 +3,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Internet X.509 Public Key Infrastructure Certificate and Certificate
# Revocation List (CRL) Profile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc5652.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc5652.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc5652.py 2017-08-05
16:18:37.000000000 +0200
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc5652.py 2018-03-29
16:32:20.000000000 +0200
@@ -3,8 +3,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Cryptographic Message Syntax (CMS)
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/pyasn1_modules/rfc6402.py
new/pyasn1-modules-0.2.2/pyasn1_modules/rfc6402.py
--- old/pyasn1-modules-0.2.1/pyasn1_modules/rfc6402.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules/rfc6402.py 2018-03-29
16:32:20.000000000 +0200
@@ -3,8 +3,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Certificate Management over CMS (CMC) Updates
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyasn1-modules-0.2.1/pyasn1_modules.egg-info/PKG-INFO
new/pyasn1-modules-0.2.2/pyasn1_modules.egg-info/PKG-INFO
--- old/pyasn1-modules-0.2.1/pyasn1_modules.egg-info/PKG-INFO 2017-11-23
12:00:39.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules.egg-info/PKG-INFO 2018-06-28
08:52:52.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyasn1-modules
-Version: 0.2.1
+Version: 0.2.2
Summary: A collection of ASN.1-based protocols modules.
Home-page: https://github.com/etingof/pyasn1-modules
Author: Ilya Etingof <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyasn1-modules-0.2.1/pyasn1_modules.egg-info/SOURCES.txt
new/pyasn1-modules-0.2.2/pyasn1_modules.egg-info/SOURCES.txt
--- old/pyasn1-modules-0.2.1/pyasn1_modules.egg-info/SOURCES.txt
2017-11-23 12:00:40.000000000 +0100
+++ new/pyasn1-modules-0.2.2/pyasn1_modules.egg-info/SOURCES.txt
2018-06-28 08:52:52.000000000 +0200
@@ -19,6 +19,7 @@
pyasn1_modules/rfc2459.py
pyasn1_modules/rfc2511.py
pyasn1_modules/rfc2560.py
+pyasn1_modules/rfc2986.py
pyasn1_modules/rfc3279.py
pyasn1_modules/rfc3280.py
pyasn1_modules/rfc3281.py
@@ -46,6 +47,7 @@
tests/test_rfc2459.py
tests/test_rfc2511.py
tests/test_rfc2560.py
+tests/test_rfc2986.py
tests/test_rfc4210.py
tests/test_rfc5208.py
tests/test_rfc5280.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/setup.cfg
new/pyasn1-modules-0.2.2/setup.cfg
--- old/pyasn1-modules-0.2.1/setup.cfg 2017-11-23 12:00:40.000000000 +0100
+++ new/pyasn1-modules-0.2.2/setup.cfg 2018-06-28 08:52:52.000000000 +0200
@@ -1,6 +1,9 @@
[bdist_wheel]
universal = 1
+[metadata]
+license_file = LICENSE.txt
+
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/setup.py
new/pyasn1-modules-0.2.2/setup.py
--- old/pyasn1-modules-0.2.1/setup.py 2017-11-21 22:42:52.000000000 +0100
+++ new/pyasn1-modules-0.2.2/setup.py 2018-03-29 16:32:20.000000000 +0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/__main__.py
new/pyasn1-modules-0.2.2/tests/__main__.py
--- old/pyasn1-modules-0.2.1/tests/__main__.py 2017-09-10 23:49:04.000000000
+0200
+++ new/pyasn1-modules-0.2.2/tests/__main__.py 2018-03-29 16:32:20.000000000
+0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
try:
import unittest2 as unittest
@@ -17,6 +17,7 @@
'tests.test_rfc2459.suite',
'tests.test_rfc2511.suite',
'tests.test_rfc2560.suite',
+ 'tests.test_rfc2986.suite',
'tests.test_rfc4210.suite',
'tests.test_rfc5208.suite',
'tests.test_rfc5280.suite',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc2314.py
new/pyasn1-modules-0.2.2/tests/test_rfc2314.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc2314.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc2314.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc2315.py
new/pyasn1-modules-0.2.2/tests/test_rfc2315.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc2315.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc2315.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc2437.py
new/pyasn1-modules-0.2.2/tests/test_rfc2437.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc2437.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc2437.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc2459.py
new/pyasn1-modules-0.2.2/tests/test_rfc2459.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc2459.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc2459.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc2511.py
new/pyasn1-modules-0.2.2/tests/test_rfc2511.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc2511.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc2511.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc2560.py
new/pyasn1-modules-0.2.2/tests/test_rfc2560.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc2560.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc2560.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc2986.py
new/pyasn1-modules-0.2.2/tests/test_rfc2986.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc2986.py 1970-01-01
01:00:00.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc2986.py 2018-03-29
16:32:20.000000000 +0200
@@ -0,0 +1,58 @@
+#
+# This file is part of pyasn1-modules software.
+#
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
+#
+import sys
+
+from pyasn1.codec.der import decoder as der_decoder
+from pyasn1.codec.der import encoder as der_encoder
+
+from pyasn1_modules import pem
+from pyasn1_modules import rfc2986
+
+try:
+ import unittest2 as unittest
+
+except ImportError:
+ import unittest
+
+
+class CertificationRequestTestCase(unittest.TestCase):
+ pem_text = """\
+MIICxjCCAa4CAQAwgYAxCzAJBgNVBAYTAlVTMR0wGwYDVQQDDBRmY3UuZmFrZS5h
+ZGRyZXNzLm9yZzEXMBUGA1UEBwwOUGxlYXNhbnQgR3JvdmUxHDAaBgNVBAoME0Zh
+a2UgQ29tcGFueSBVbml0ZWQxDTALBgNVBAgMBFV0YWgxDDAKBgNVBAsMA0VuZzCC
+ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALvnYesymhLKSm9Llix53BUA
+h99xMDBUYk0OB1VIdNQyjmFabHinM+lYUzVzrfcm1xtYB5QYKbsYuwZ4r5WI7qho
+CRJy6JwXqKpOe72ScCogxlGDr2QtKjtvyWrRwXBHX1/OqVSZ3hdz3njhKpmq6HgK
+87vH26RCSmK8FqCgn+qePfpspA7GzBvYwXhXluQtG7r4yBMKNRTQlPst8Vcy+iK+
+pI8hmQVrzGi8Hgbpr2L9EjPUOlAQEb8hxeKc7s5VhjN/RHMLVMX8YczZYt7mcDKr
+3PMwOVmXL1DMCtnS50MA2AxcPWcbQBeGyMroP+DLhAt6y1/IT0H5sQruNQw4euMC
+AwEAAaAAMA0GCSqGSIb3DQEBCwUAA4IBAQBQXYQPfH5Wy4o0ZFbKQOO1e3dHV8rl
+e8m9Z6qLgJO8rtW+OI+4FavJ6zjUvNVzd9JJxgwQ/1xprwrXh36nPcSyNLpGs7JT
+6u7TGQ38QQAOmziLXzauMWGBeLuzWGmOKA1cs5HFGLSmbxF3+0IWpz4GlD86pU1+
+WYyWgWHHAMA+kFYwBUR6CvPkmhshnZ8vrQavoOlcidCJ8o6IGA7N/Z0/NrgIDcoz
+YaruhoMrmRKHKNpfamhT0gvqEPBec+UB3uLElESIqaeqYc6eMtUQP3lqyghF6I0M
+fi6h7i9VVAZpslaKFfkNg12gLbbsCB1q36l5VXjHY/qe0FIUa9ogRrOi
+"""
+
+ def setUp(self):
+ self.asn1Spec = rfc2986.CertificationRequest()
+
+ def testDerCodec(self):
+
+ substrate = pem.readBase64fromText(self.pem_text)
+
+ asn1Object, rest = der_decoder.decode(substrate,
asn1Spec=self.asn1Spec)
+
+ assert not rest
+ assert asn1Object.prettyPrint()
+ assert der_encoder.encode(asn1Object) == substrate
+
+
+suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__])
+
+if __name__ == '__main__':
+ unittest.TextTestRunner(verbosity=2).run(suite)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc4210.py
new/pyasn1-modules-0.2.2/tests/test_rfc4210.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc4210.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc4210.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc5208.py
new/pyasn1-modules-0.2.2/tests/test_rfc5208.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc5208.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc5208.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc5280.py
new/pyasn1-modules-0.2.2/tests/test_rfc5280.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc5280.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc5280.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tests/test_rfc5652.py
new/pyasn1-modules-0.2.2/tests/test_rfc5652.py
--- old/pyasn1-modules-0.2.1/tests/test_rfc5652.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tests/test_rfc5652.py 2018-03-29
16:32:20.000000000 +0200
@@ -1,8 +1,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/cmpdump.py
new/pyasn1-modules-0.2.2/tools/cmpdump.py
--- old/pyasn1-modules-0.2.1/tools/cmpdump.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/cmpdump.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM CMP message on stdin, parse into
# plain text, then build substrate from it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/crldump.py
new/pyasn1-modules-0.2.2/tools/crldump.py
--- old/pyasn1-modules-0.2.1/tools/crldump.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/crldump.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read X.509 CRL on stdin, print them pretty and encode back into
# original wire format.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/crmfdump.py
new/pyasn1-modules-0.2.2/tools/crmfdump.py
--- old/pyasn1-modules-0.2.1/tools/crmfdump.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/crmfdump.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM X.509 CRMF request on stdin, parse into
# plain text, then build substrate from it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/ocspclient.py
new/pyasn1-modules-0.2.2/tools/ocspclient.py
--- old/pyasn1-modules-0.2.1/tools/ocspclient.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tools/ocspclient.py 2018-03-29
16:32:20.000000000 +0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
import hashlib
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/ocspreqdump.py
new/pyasn1-modules-0.2.2/tools/ocspreqdump.py
--- old/pyasn1-modules-0.2.1/tools/ocspreqdump.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tools/ocspreqdump.py 2018-03-29
16:32:20.000000000 +0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM X.509 CRMF request on stdin, parse into
# plain text, then build substrate from it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/ocsprspdump.py
new/pyasn1-modules-0.2.2/tools/ocsprspdump.py
--- old/pyasn1-modules-0.2.1/tools/ocsprspdump.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tools/ocsprspdump.py 2018-03-29
16:32:20.000000000 +0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM OCSP response on stdin, parse into
# plain text, then build substrate from it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/pkcs10dump.py
new/pyasn1-modules-0.2.2/tools/pkcs10dump.py
--- old/pyasn1-modules-0.2.1/tools/pkcs10dump.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tools/pkcs10dump.py 2018-03-29
16:32:20.000000000 +0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM X.509 certificate requests (PKCS#10 format) on stdin,
# parse each into plain text, then build substrate from it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/pkcs1dump.py
new/pyasn1-modules-0.2.2/tools/pkcs1dump.py
--- old/pyasn1-modules-0.2.1/tools/pkcs1dump.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/pkcs1dump.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read unencrypted PKCS#1/PKIX-compliant, PEM&DER encoded private keys on
# stdin, print them pretty and encode back into original wire format.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/pkcs7dump.py
new/pyasn1-modules-0.2.2/tools/pkcs7dump.py
--- old/pyasn1-modules-0.2.1/tools/pkcs7dump.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/pkcs7dump.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM PKCS#7 on stdin, parse it into plain text,
# then build substrate from it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/pkcs8dump.py
new/pyasn1-modules-0.2.2/tools/pkcs8dump.py
--- old/pyasn1-modules-0.2.1/tools/pkcs8dump.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/pkcs8dump.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read bunch of ASN.1/PEM plain/encrypted private keys in PKCS#8
# format on stdin, parse each into plain text, then build substrate from it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/snmpget.py
new/pyasn1-modules-0.2.2/tools/snmpget.py
--- old/pyasn1-modules-0.2.1/tools/snmpget.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/snmpget.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Generate SNMPGET request, parse response
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/x509dump-rfc5280.py
new/pyasn1-modules-0.2.2/tools/x509dump-rfc5280.py
--- old/pyasn1-modules-0.2.1/tools/x509dump-rfc5280.py 2017-11-23
11:59:48.000000000 +0100
+++ new/pyasn1-modules-0.2.2/tools/x509dump-rfc5280.py 2018-03-29
16:32:20.000000000 +0200
@@ -4,8 +4,8 @@
# This file is part of pyasn1-modules software.
#
# Created by Stanisław Pitucha with asn1ate tool.
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM X.509 certificates on stdin, parse each into plain text,
# then build substrate from it (using RFC5280)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyasn1-modules-0.2.1/tools/x509dump.py
new/pyasn1-modules-0.2.2/tools/x509dump.py
--- old/pyasn1-modules-0.2.1/tools/x509dump.py 2017-11-23 11:59:48.000000000
+0100
+++ new/pyasn1-modules-0.2.2/tools/x509dump.py 2018-03-29 16:32:20.000000000
+0200
@@ -2,8 +2,8 @@
#
# This file is part of pyasn1-modules software.
#
-# Copyright (c) 2005-2017, Ilya Etingof <[email protected]>
-# License: http://pyasn1.sf.net/license.html
+# Copyright (c) 2005-2018, Ilya Etingof <[email protected]>
+# License: http://snmplabs.com/pyasn1/license.html
#
# Read ASN.1/PEM X.509 certificates on stdin, parse each into plain text,
# then build substrate from it