Hello community,

here is the log from the commit of package python-pyasn1-modules for 
openSUSE:Factory checked in at 2015-08-14 14:46:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyasn1-modules (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyasn1-modules.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyasn1-modules"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pyasn1-modules/python-pyasn1-modules.changes  
    2015-07-08 06:59:26.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyasn1-modules.new/python-pyasn1-modules.changes
 2015-08-14 14:46:47.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Aug 13 13:02:16 UTC 2015 - mich...@stroeder.com
+
+- Added file ext .txt to doc files like in upstream
+- Update to upstream release 0.0.7
+  - Extensions added to text files, CVS attic flushed.
+  - Fix to rfc2459.BasicConstraints syntax.
+
+-------------------------------------------------------------------
@@ -4 +12 @@
-- Update to upstrean release 0.0.6
+- Update to upstream release 0.0.6
@@ -17 +25 @@
-- Update to upstrean release 0.0.5
+- Update to upstream release 0.0.5
@@ -33 +41 @@
-- Update to upstrean release 0.0.4
+- Update to upstream release 0.0.4
@@ -41 +49 @@
-- Update to upstrean release 0.0.3
+- Update to upstream release 0.0.3

Old:
----
  pyasn1-modules-0.0.6.tar.gz

New:
----
  pyasn1-modules-0.0.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyasn1-modules.spec ++++++
--- /var/tmp/diff_new_pack.5jTRrm/_old  2015-08-14 14:46:47.000000000 +0200
+++ /var/tmp/diff_new_pack.5jTRrm/_new  2015-08-14 14:46:47.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-pyasn1-modules
-Version:        0.0.6
+Version:        0.0.7
 Release:        0
 Url:            http://pyasn1.sf.net/
 Summary:        Collection of protocols modules written in ASN.1 language
@@ -58,7 +58,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES LICENSE README
+%doc CHANGES.txt LICENSE.txt README.txt
 %{python_sitelib}/*
 
 %changelog

++++++ pyasn1-modules-0.0.6.tar.gz -> pyasn1-modules-0.0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/CHANGES 
new/pyasn1-modules-0.0.7/CHANGES
--- old/pyasn1-modules-0.0.6/CHANGES    2015-06-05 13:59:20.000000000 +0200
+++ new/pyasn1-modules-0.0.7/CHANGES    1970-01-01 01:00:00.000000000 +0100
@@ -1,55 +0,0 @@
-Revision 0.0.6
---------------
-
-- Typo fix to id_kp_serverAuth object value
-- A test case for indefinite length encoding eliminated as it's
-  forbidden in DER.
-
-Revision 0.0.5
---------------
-
-- License updated to vanilla BSD 2-Clause to ease package use
-  (http://opensource.org/licenses/BSD-2-Clause).
-- Missing components added to rfc4210.PKIBody.
-- Fix to rfc2459.CRLDistPointsSyntax typo.
-- Fix to rfc2511.CertReqMsg typo.
-
-Revision 0.0.4
---------------
-
-- CMP structures (RFC4210), cmpdump.py tool and test case added.
-- SNMPv2c Message syntax (RFC1901) properly defined.
-- Package version established in form of __init__.__version__
-  which is in-sync with distutils.
-- Package meta information and classifiers updated.
-
-Revision 0.0.3
---------------
-
-- Text cases implemented
-- X.509 CRMF structures (RFC2511) and crmfdump.py tool added
-- X.509 CRL structures and crldump.py tool added
-- PKCS#10 structures and pkcs10dump.py tool added
-- PKCS#8 structures and pkcs8dump.py tool added
-- PKCS#1 (rfc3447) structures added
-- OCSP request & response dumping tool added
-- SNMPv2c & SNMPv3/USM structures added
-- keydump.py moved into pkcs1dump.py
-- PEM files read function generalized to be used more universally.
-- complete PKIX1 '88 code implemented at rfc2459.py
-
-
-Revision 0.0.2
---------------
-
-- Require pyasn1 >= 0.1.1
-- Fixes towards Py3K compatibility
-  + use either of existing urllib module
-  + adopt to the new bytes type
-  + print operator is now a function
-  + new exception syntax
-
-Revision 0.0.1a
----------------
-
-- Initial revision, most code carried from pyasn1 examples.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/CHANGES.txt 
new/pyasn1-modules-0.0.7/CHANGES.txt
--- old/pyasn1-modules-0.0.6/CHANGES.txt        1970-01-01 01:00:00.000000000 
+0100
+++ new/pyasn1-modules-0.0.7/CHANGES.txt        2015-08-01 09:34:10.000000000 
+0200
@@ -0,0 +1,61 @@
+Revision 0.0.7
+--------------
+
+- Extensions added to text files, CVS attic flushed.
+- Fix to rfc2459.BasicConstraints syntax.
+
+Revision 0.0.6, released 21-06-2015
+-----------------------------------
+
+- Typo fix to id_kp_serverAuth object value
+- A test case for indefinite length encoding eliminated as it's
+  forbidden in DER.
+
+Revision 0.0.5
+--------------
+
+- License updated to vanilla BSD 2-Clause to ease package use
+  (http://opensource.org/licenses/BSD-2-Clause).
+- Missing components added to rfc4210.PKIBody.
+- Fix to rfc2459.CRLDistPointsSyntax typo.
+- Fix to rfc2511.CertReqMsg typo.
+
+Revision 0.0.4
+--------------
+
+- CMP structures (RFC4210), cmpdump.py tool and test case added.
+- SNMPv2c Message syntax (RFC1901) properly defined.
+- Package version established in form of __init__.__version__
+  which is in-sync with distutils.
+- Package meta information and classifiers updated.
+
+Revision 0.0.3
+--------------
+
+- Text cases implemented
+- X.509 CRMF structures (RFC2511) and crmfdump.py tool added
+- X.509 CRL structures and crldump.py tool added
+- PKCS#10 structures and pkcs10dump.py tool added
+- PKCS#8 structures and pkcs8dump.py tool added
+- PKCS#1 (rfc3447) structures added
+- OCSP request & response dumping tool added
+- SNMPv2c & SNMPv3/USM structures added
+- keydump.py moved into pkcs1dump.py
+- PEM files read function generalized to be used more universally.
+- complete PKIX1 '88 code implemented at rfc2459.py
+
+
+Revision 0.0.2
+--------------
+
+- Require pyasn1 >= 0.1.1
+- Fixes towards Py3K compatibility
+  + use either of existing urllib module
+  + adopt to the new bytes type
+  + print operator is now a function
+  + new exception syntax
+
+Revision 0.0.1a
+---------------
+
+- Initial revision, most code carried from pyasn1 examples.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/LICENSE 
new/pyasn1-modules-0.0.7/LICENSE
--- old/pyasn1-modules-0.0.6/LICENSE    2015-06-05 09:46:41.000000000 +0200
+++ new/pyasn1-modules-0.0.7/LICENSE    1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-Copyright (c) 2005-2015, Ilya Etingof <i...@glas.net>
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-  * Redistributions of source code must retain the above copyright notice, 
-    this list of conditions and the following disclaimer.
-
-  * Redistributions in binary form must reproduce the above copyright notice,
-    this list of conditions and the following disclaimer in the documentation
-    and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE. 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/LICENSE.txt 
new/pyasn1-modules-0.0.7/LICENSE.txt
--- old/pyasn1-modules-0.0.6/LICENSE.txt        1970-01-01 01:00:00.000000000 
+0100
+++ new/pyasn1-modules-0.0.7/LICENSE.txt        2015-01-01 16:12:37.000000000 
+0100
@@ -0,0 +1,24 @@
+Copyright (c) 2005-2015, Ilya Etingof <i...@glas.net>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+  * Redistributions of source code must retain the above copyright notice, 
+    this list of conditions and the following disclaimer.
+
+  * Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE. 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/MANIFEST.in 
new/pyasn1-modules-0.0.7/MANIFEST.in
--- old/pyasn1-modules-0.0.6/MANIFEST.in        2012-04-16 14:31:04.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/MANIFEST.in        2015-07-05 15:03:23.000000000 
+0200
@@ -1,3 +1,3 @@
-include CHANGES README LICENSE
+include *.txt
 recursive-include tools *.py
 recursive-include test *.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/PKG-INFO 
new/pyasn1-modules-0.0.7/PKG-INFO
--- old/pyasn1-modules-0.0.6/PKG-INFO   2015-06-21 23:28:17.000000000 +0200
+++ new/pyasn1-modules-0.0.7/PKG-INFO   2015-08-01 10:47:40.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: pyasn1-modules
-Version: 0.0.6
+Version: 0.0.7
 Summary: A collection of ASN.1-based protocols modules.
 Home-page: http://sourceforge.net/projects/pyasn1/
 Author: Ilya Etingof <i...@glas.net>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/README 
new/pyasn1-modules-0.0.7/README
--- old/pyasn1-modules-0.0.6/README     2011-10-04 09:00:13.000000000 +0200
+++ new/pyasn1-modules-0.0.7/README     1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-
-ASN.1 modules for Python
-------------------------
-
-This is a small but growing collection of ASN.1 data structures
-[1] expressed in Python terms using pyasn1 [2] data model.
-
-It's thought to be useful to protocol developers and testers.
-
-All modules are py2k/py3k-compliant.
-
-If you happen to convert some ASN.1 module into pyasn1 that is not
-yet present in this collection and wish to contribute - please send
-it to me.
-
-=-=-=
-mailto: i...@glas.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/README.txt 
new/pyasn1-modules-0.0.7/README.txt
--- old/pyasn1-modules-0.0.6/README.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pyasn1-modules-0.0.7/README.txt 2011-10-04 08:52:03.000000000 +0200
@@ -0,0 +1,17 @@
+
+ASN.1 modules for Python
+------------------------
+
+This is a small but growing collection of ASN.1 data structures
+[1] expressed in Python terms using pyasn1 [2] data model.
+
+It's thought to be useful to protocol developers and testers.
+
+All modules are py2k/py3k-compliant.
+
+If you happen to convert some ASN.1 module into pyasn1 that is not
+yet present in this collection and wish to contribute - please send
+it to me.
+
+=-=-=
+mailto: i...@glas.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/pyasn1_modules/__init__.py 
new/pyasn1-modules-0.0.7/pyasn1_modules/__init__.py
--- old/pyasn1-modules-0.0.6/pyasn1_modules/__init__.py 2015-06-05 
09:46:41.000000000 +0200
+++ new/pyasn1-modules-0.0.7/pyasn1_modules/__init__.py 2015-07-05 
15:03:23.000000000 +0200
@@ -1,2 +1,2 @@
 # http://www.python.org/dev/peps/pep-0396/
-__version__ = '0.0.6'
+__version__ = '0.0.7'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/pyasn1_modules/pkcs12.py 
new/pyasn1-modules-0.0.7/pyasn1_modules/pkcs12.py
--- old/pyasn1-modules-0.0.6/pyasn1_modules/pkcs12.py   2012-04-09 
08:39:33.000000000 +0200
+++ new/pyasn1-modules-0.0.7/pyasn1_modules/pkcs12.py   1970-01-01 
01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-#
-# PKCS#12 syntax
-#
-# ASN.1 source from:
-# ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-12/pkcs-12.asn
-#
-# Sample captures could be obtained with "openssl pkcs12" command
-#
-from pyasn1.type import tag, namedtype, namedval, univ, constraint
-from pyasn1_modules.rfc2459 import *
-from pyasn1_modules import rfc2251
-
-class Attributes(univ.SetOf):
-    componentType = rfc2251.Attribute()
-
-class Version(univ.Integer): pass
-
-class CertificationRequestInfo(univ.Sequence):
-    componentType = namedtype.NamedTypes(
-        namedtype.NamedType('version', Version()),
-        namedtype.NamedType('subject', Name()),
-        namedtype.NamedType('subjectPublicKeyInfo', SubjectPublicKeyInfo()),
-        namedtype.NamedType('attributes', 
Attributes().subtype(implicitTag=tag.Tag(tag.tagClassContext, 
tag.tagFormatConstructed, 0)))
-    )
-
-class Signature(univ.BitString): pass
-class SignatureAlgorithmIdentifier(AlgorithmIdentifier): pass
-
-class CertificationRequest(univ.Sequence):
-    componentType = namedtype.NamedTypes(
-        namedtype.NamedType('certificationRequestInfo', 
CertificationRequestInfo()),
-        namedtype.NamedType('signatureAlgorithm', 
SignatureAlgorithmIdentifier()),
-        namedtype.NamedType('signature', Signature())
-    )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/pyasn1_modules/rfc2459.py 
new/pyasn1-modules-0.0.7/pyasn1_modules/rfc2459.py
--- old/pyasn1-modules-0.0.6/pyasn1_modules/rfc2459.py  2015-06-05 
09:46:41.000000000 +0200
+++ new/pyasn1-modules-0.0.7/pyasn1_modules/rfc2459.py  2015-08-01 
09:33:26.000000000 +0200
@@ -692,7 +692,7 @@
 
 class BasicConstraints(univ.Sequence):
     componentType = namedtype.NamedTypes(
-        namedtype.NamedType('cA', univ.Boolean(False)),
+        namedtype.DefaultedNamedType('cA', univ.Boolean(False)),
         namedtype.OptionalNamedType('pathLenConstraint', 
univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, MAX)))
     )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyasn1-modules-0.0.6/pyasn1_modules.egg-info/PKG-INFO 
new/pyasn1-modules-0.0.7/pyasn1_modules.egg-info/PKG-INFO
--- old/pyasn1-modules-0.0.6/pyasn1_modules.egg-info/PKG-INFO   2015-06-21 
23:28:17.000000000 +0200
+++ new/pyasn1-modules-0.0.7/pyasn1_modules.egg-info/PKG-INFO   2015-08-01 
10:47:39.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: pyasn1-modules
-Version: 0.0.6
+Version: 0.0.7
 Summary: A collection of ASN.1-based protocols modules.
 Home-page: http://sourceforge.net/projects/pyasn1/
 Author: Ilya Etingof <i...@glas.net>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyasn1-modules-0.0.6/pyasn1_modules.egg-info/SOURCES.txt 
new/pyasn1-modules-0.0.7/pyasn1_modules.egg-info/SOURCES.txt
--- old/pyasn1-modules-0.0.6/pyasn1_modules.egg-info/SOURCES.txt        
2015-06-21 23:28:17.000000000 +0200
+++ new/pyasn1-modules-0.0.7/pyasn1_modules.egg-info/SOURCES.txt        
2015-08-01 10:47:39.000000000 +0200
@@ -1,11 +1,10 @@
-CHANGES
-LICENSE
+CHANGES.txt
+LICENSE.txt
 MANIFEST.in
-README
+README.txt
 setup.py
 pyasn1_modules/__init__.py
 pyasn1_modules/pem.py
-pyasn1_modules/pkcs12.py
 pyasn1_modules/rfc1155.py
 pyasn1_modules/rfc1157.py
 pyasn1_modules/rfc1901.py
@@ -45,7 +44,6 @@
 tools/ocspclient.py
 tools/ocspreqdump.py
 tools/ocsprspdump.py
-tools/ocspserver.py
 tools/pkcs10dump.py
 tools/pkcs1dump.py
 tools/pkcs7dump.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/cmp.sh 
new/pyasn1-modules-0.0.7/test/cmp.sh
--- old/pyasn1-modules-0.0.6/test/cmp.sh        2012-05-30 17:26:19.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/cmp.sh        2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-cmpdump.py <<EOT
+python cmpdump.py <<EOT
 MIITuTCCARECAQKkWTBXMQswCQYDVQQGEwJUUjEQMA4GA1UEChMHRS1HdXZlbjEUMBIGA1UECxML
 VHJ1c3RDZW50ZXIxIDAeBgNVBAMTF1JTQSBTZWN1cml0eSBDTVAgU2VydmVypC0wKzELMAkGA1UE
 BhMCVFIxHDAaBgNVBAMME1ZhbGltby1WZXR0b3ItMTdEZWOgERgPMjAxMjA1MDMxMTE2MTdaoQ8w
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/crl.sh 
new/pyasn1-modules-0.0.7/test/crl.sh
--- old/pyasn1-modules-0.0.6/test/crl.sh        2012-04-11 15:45:52.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/crl.sh        2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-crldump.py <<EOT
+python crldump.py <<EOT
 -----BEGIN X509 CRL-----
 MIIBVjCBwAIBATANBgkqhkiG9w0BAQUFADB+MQswCQYDVQQGEwJBVTETMBEGA1UE
 CBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRk
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/crmf.sh 
new/pyasn1-modules-0.0.7/test/crmf.sh
--- old/pyasn1-modules-0.0.6/test/crmf.sh       2012-04-11 14:36:30.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/crmf.sh       2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-crmfdump.py <<EOT
+python crmfdump.py <<EOT
 MIIBozCCAZ8wggEFAgUAwTnj2jCByoABAqURMA8xDTALBgNVBAMTBHVzZXKmgZ8w
 DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJ6ZQ2cYbn/lFsmBOlRltbRbFQUvvE0Q
 nbopOu1kC7Bmaaz7QTx8nxeiHi4m7uxCbGGxHNoGCt7EmdG8eZUBNAcHyGlXrJdm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/ocspreq.sh 
new/pyasn1-modules-0.0.7/test/ocspreq.sh
--- old/pyasn1-modules-0.0.6/test/ocspreq.sh    2012-04-11 14:55:05.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/ocspreq.sh    2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-ocspreqdump.py <<EOT
+python ocspreqdump.py <<EOT
 MGowaDBBMD8wPTAJBgUrDgMCGgUABBS3ZrMV9C5Dko03aH13cEZeppg3wgQUkqR1LKSevoFE63n8
 isWVpesQdXMCBDXe9M+iIzAhMB8GCSsGAQUFBzABAgQSBBBjdJOiIW9EKJGELNNf/rdA
 EOT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/ocsprsp.sh 
new/pyasn1-modules-0.0.7/test/ocsprsp.sh
--- old/pyasn1-modules-0.0.6/test/ocsprsp.sh    2012-04-11 16:10:42.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/ocsprsp.sh    2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-ocsprspdump.py <<EOT
+python ocsprspdump.py <<EOT
 MIIEvQoBAKCCBLYwggSyBgkrBgEFBQcwAQEEggSjMIIEnzCCAQ+hgYAwfjELMAkGA1UEBhMCQVUx
 EzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEV
 MBMGA1UEAxMMc25tcGxhYnMuY29tMSAwHgYJKoZIhvcNAQkBFhFpbmZvQHNubXBsYWJzLmNvbRgP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/pkcs1.sh 
new/pyasn1-modules-0.0.7/test/pkcs1.sh
--- old/pyasn1-modules-0.0.6/test/pkcs1.sh      2012-04-11 11:42:59.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/pkcs1.sh      2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-pkcs1dump.py <<EOT
+python pkcs1dump.py <<EOT
 -----BEGIN DSA PRIVATE KEY-----
 MIIBugIBAAKBgQCN91+Cma8UPw09gjwP9WOJCdpv3mv3/qFqzgiODGZx0Q002iTl
 1dq36m5TsWYFEcMCEyC3tFuoQ0mGq5zUUOmJvHCIPufs0g8Av0fhY77uFqneHHUi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/pkcs10.sh 
new/pyasn1-modules-0.0.7/test/pkcs10.sh
--- old/pyasn1-modules-0.0.6/test/pkcs10.sh     2012-04-11 11:54:54.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/pkcs10.sh     2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-pkcs10dump.py <<EOT
+python pkcs10dump.py <<EOT
 -----BEGIN CERTIFICATE REQUEST-----
 MIIDATCCAekCAQAwgZkxCzAJBgNVBAYTAlJVMRYwFAYDVQQIEw1Nb3Njb3cgUmVn
 aW9uMQ8wDQYDVQQHEwZNb3Njb3cxGjAYBgNVBAoTEVNOTVAgTGFib3JhdG9yaWVz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/pkcs7.sh 
new/pyasn1-modules-0.0.7/test/pkcs7.sh
--- old/pyasn1-modules-0.0.6/test/pkcs7.sh      2012-04-11 11:47:55.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/pkcs7.sh      2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-pkcs7dump.py <<EOT
+python pkcs7dump.py <<EOT
 -----BEGIN PKCS7-----
 MIIKdQYJKoZIhvcNAQcCoIIKZjCCCmICAQExADALBgkqhkiG9w0BBwGgggpIMIIC
 XjCCAcegAwIBAgIBADANBgkqhkiG9w0BAQQFADB1MQswCQYDVQQGEwJSVTEPMA0G
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/pkcs8.sh 
new/pyasn1-modules-0.0.7/test/pkcs8.sh
--- old/pyasn1-modules-0.0.6/test/pkcs8.sh      2012-04-11 11:44:18.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/pkcs8.sh      2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-pkcs8dump.py <<EOT
+python pkcs8dump.py <<EOT
 -----BEGIN ENCRYPTED PRIVATE KEY-----
 MIIBgTAbBgkqhkiG9w0BBQMwDgQIdtFgDWnipT8CAggABIIBYN0hkm2xqkTCt8dJ
 iZS8+HNiyHxy8g+rmWSXv/i+bTHFUReZA2GINtTRUkWpXqWcSHxNslgf7QdfgbVJ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/test/x509dump.sh 
new/pyasn1-modules-0.0.7/test/x509dump.sh
--- old/pyasn1-modules-0.0.6/test/x509dump.sh   2012-04-11 14:38:36.000000000 
+0200
+++ new/pyasn1-modules-0.0.7/test/x509dump.sh   2015-06-21 21:59:05.000000000 
+0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-x509dump.py <<EOT
+python x509dump.py <<EOT
 -----BEGIN CERTIFICATE-----
 MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0
 IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyasn1-modules-0.0.6/tools/ocspserver.py 
new/pyasn1-modules-0.0.7/tools/ocspserver.py
--- old/pyasn1-modules-0.0.6/tools/ocspserver.py        2015-06-05 
10:10:47.000000000 +0200
+++ new/pyasn1-modules-0.0.7/tools/ocspserver.py        1970-01-01 
01:00:00.000000000 +0100
@@ -1,143 +0,0 @@
-#!/usr/bin/python
-#
-from pyasn1.codec.der import decoder, encoder
-from pyasn1_modules import rfc2560, rfc2459, pem
-from pyasn1.type import univ
-import sys, hashlib
-try:
-    import urllib2
-except ImportError:
-    import urllib.request as urllib2
-
-sha1oid = univ.ObjectIdentifier((1, 3, 14, 3, 2, 26))
-
-class ValueOnlyBitStringEncoder(encoder.encoder.BitStringEncoder):
-    # These methods just do not encode tag and length fields of TLV
-    def encodeTag(self, *args): return ''
-    def encodeLength(self, *args): return ''
-    def encodeValue(*args):
-        substrate, isConstructed = 
encoder.encoder.BitStringEncoder.encodeValue(*args)
-        # OCSP-specific hack follows: cut off the "unused bit count"
-        # encoded bit-string value.
-        return substrate[1:], isConstructed
-
-    def __call__(self, bitStringValue):
-        return self.encode(None, bitStringValue, maxChunkSize=0)
-
-valueOnlyBitStringEncoder = ValueOnlyBitStringEncoder()
-
-def mkOcspRequest(issuerCert, userCert):
-    issuerTbsCertificate = issuerCert.getComponentByName('tbsCertificate')
-    issuerSubject = issuerTbsCertificate.getComponentByName('subject')
-    
-    userTbsCertificate = userCert.getComponentByName('tbsCertificate')
-    userIssuer = userTbsCertificate.getComponentByName('issuer')
-
-    assert issuerSubject == userIssuer, '%s\n%s' % (
-        issuerSubject.prettyPrint(), userIssuer.prettyPrint()
-        )
-
-    userIssuerHash = hashlib.sha1(
-        encoder.encode(userIssuer)
-        ).digest()
-    
-    issuerSubjectPublicKey = 
issuerTbsCertificate.getComponentByName('subjectPublicKeyInfo').getComponentByName('subjectPublicKey')
-    
-    issuerKeyHash =  hashlib.sha1(
-        valueOnlyBitStringEncoder(issuerSubjectPublicKey)
-        ).digest()
-    
-    userSerialNumber = userTbsCertificate.getComponentByName('serialNumber')
-
-    # Build request object
-
-    request = rfc2560.Request()
-    
-    reqCert = 
request.setComponentByName('reqCert').getComponentByName('reqCert')
-    
-    hashAlgorithm = 
reqCert.setComponentByName('hashAlgorithm').getComponentByName('hashAlgorithm')
-    hashAlgorithm.setComponentByName('algorithm', sha1oid)
-    
-    reqCert.setComponentByName('issuerNameHash', userIssuerHash)
-    reqCert.setComponentByName('issuerKeyHash', issuerKeyHash)
-    reqCert.setComponentByName('serialNumber', userSerialNumber)
-
-    ocspRequest = rfc2560.OCSPRequest()
-    
-    tbsRequest = 
ocspRequest.setComponentByName('tbsRequest').getComponentByName('tbsRequest')
-    tbsRequest.setComponentByName('version', 'v1')
-    
-    requestList = 
tbsRequest.setComponentByName('requestList').getComponentByName('requestList')
-    requestList.setComponentByPosition(0, request)
-    
-    return ocspRequest
-
-def parseOcspRequest(ocspRequest):
-    tbsRequest = ocspRequest['responseStatus']
-    
-    assert responseStatus == rfc2560.OCSPResponseStatus('successful'), 
responseStatus.prettyPrint()    
-    responseBytes = ocspResponse.getComponentByName('responseBytes')
-    responseType = responseBytes.getComponentByName('responseType')
-    assert responseType == id_pkix_ocsp_basic, responseType.prettyPrint()
-    
-    response = responseBytes.getComponentByName('response')
-
-    basicOCSPResponse, _ = decoder.decode(
-        response, asn1Spec=rfc2560.BasicOCSPResponse()
-        )
-    
-    tbsResponseData = basicOCSPResponse.getComponentByName('tbsResponseData')
-
-    response0 = 
tbsResponseData.getComponentByName('responses').getComponentByPosition(0)
-    
-    return (
-        tbsResponseData.getComponentByName('producedAt'),
-        response0.getComponentByName('certID'),
-        response0.getComponentByName('certStatus').getName(),
-        response0.getComponentByName('thisUpdate')
-        )
-
-if len(sys.argv) != 2:
-    print("""Usage:
-$ cat CACertificate.pem userCertificate.pem | %s <ocsp-responder-url>""" % 
sys.argv[0])
-    sys.exit(-1)
-else:
-    ocspUrl = sys.argv[1]
-
-# Parse CA and user certificates
-
-issuerCert, _ = decoder.decode(
-    pem.readPemFromFile(sys.stdin)[1],
-    asn1Spec=rfc2459.Certificate()
-    )
-userCert, _ = decoder.decode(
-    pem.readPemFromFile(sys.stdin)[1],
-    asn1Spec=rfc2459.Certificate()
-    )
-
-# Build OCSP request
-    
-ocspReq = mkOcspRequest(issuerCert, userCert)
-
-# Use HTTP POST to get response (see Appendix A of RFC 2560)
-# In case you need proxies, set the http_proxy env variable
-
-httpReq = urllib2.Request(
-    ocspUrl,
-    encoder.encode(ocspReq),
-    { 'Content-Type': 'application/ocsp-request' }
-    )
-httpRsp = urllib2.urlopen(httpReq).read()
-
-# Process OCSP response
-    
-ocspRsp, _ = decoder.decode(httpRsp, asn1Spec=rfc2560.OCSPResponse())
-
-producedAt, certId, certStatus, thisUpdate = parseOcspResponse(ocspRsp)
-
-print('Certificate ID %s is %s at %s till %s\n' % (
-    certId.getComponentByName('serialNumber'),
-    certStatus,
-    producedAt,
-    thisUpdate
-    ))


Reply via email to