pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-asn1crypto



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 11 16:16:45 UTC 2019

Modified Files:
        pkgsrc/security/py-asn1crypto: Makefile PLIST distinfo

Log Message:
py-asn1crypto: updated to 1.0.1

1.0.1

Fix an absolute import in keys to a relative import

1.0.0

Backwards Compatibility Breaks
cms.KeyEncryptionAlgorithmId().native now returns the value "rsaes_pkcs1v15" for OID 1.2.840.113549.1.1.1 instead of "rsa"
Removed functionality to calculate public key values from private key values. Alternatives have been added to oscrypto.
keys.PrivateKeyInfo().unwrap() is now oscrypto.asymmetric.PrivateKey().unwrap()
keys.PrivateKeyInfo().public_key is now oscrypto.asymmetric.PrivateKey().public_key.unwrap()
keys.PrivateKeyInfo().public_key_info is now oscrypto.asymmetric.PrivateKey().public_key.asn1
keys.PrivateKeyInfo().fingerprint is now oscrypto.asymmetric.PrivateKey().fingerprint
keys.PublicKeyInfo().unwrap() is now oscrypto.asymmetric.PublicKey().unwrap()
keys.PublicKeyInfo().fingerprint is now oscrypto.asymmetric.PublicKey().fingerprint

Enhancements
Significantly improved parsing of core.UTCTime() and core.GeneralizedTime() values that include timezones and fractional seconds
util.timezone has a more complete implementation
core.Choice() may now be constructed by a 2-element tuple or a 1-key dict
Added x509.Certificate().not_valid_before and x509.Certificate().not_valid_after
Added core.BitString().unused_bits
Added keys.NamedCurve.register() for non-mainstream curve OIDs
No longer try to load optional performance dependency, libcrypto, on Mac or Linux
ocsp.CertStatus().native will now return meaningful unicode string values when the status choice is "good" or "unknown". Previously both returned None due to the way the structure was designed.
Add support for explicit RSA SSA PSS (1.2.840.113549.1.1.10) to keys.PublicKeyInfo() and keys.PrivateKeyInfo()
Added structures for nested SHA-256 Windows PE signatures to cms.CMSAttribute()
Added RC4 (1.2.840.113549.3.4) to algos.EncryptionAlgorithmId()
Added secp256k1 (1.3.132.0.10) to keys.NamedCurve()
Added SHA-3 and SHAKE OIDs to algos.DigestAlgorithmId() and algos.HmacAlgorithmId()
Added RSA ES OAEP (1.2.840.113549.1.1.7) to cms.KeyEncryptionAlgorithmId()
Add IKE Intermediate (1.3.6.1.5.5.8.2.2) to x509.KeyPurposeId()
x509.EmailAddress() and x509.DNSName() now handle invalidly-encoded values using tags for core.PrintableString() and core.UTF8String()
Add parameter structue from RFC 5084 for AES-CCM to algos.EncryptionAlgorithm()
Improved robustness of parsing broken core.Sequence() and core.SequenceOf() values

Bug Fixes
Fixed encoding of tag values over 30
core.IntegerBitString() and core.IntegerOctetString() now restrict values to non-negative integers since negative values are not implemented
When copying or dumping a BER-encoded indefinite-length value, automatically force re-encoding to DER. To ensure all nested values are always DER-encoded, .dump(True) must be called.
Fix UnboundLocalError when calling x509.IPAddress().native on an encoded value that has a length of zero
Fixed passing class_ via unicode string name to core.Asn1Value()
Fixed a bug where EC private keys with leading null bytes would be encoded in keys.ECPrivateKey() more narrowly than RFC 5915 requires
Fixed some edge-case bugs in util.int_to_bytes()
x509.URI() now only normalizes values when comparing
Fixed BER-decoding of indefinite length core.BitString()
Fixed DER-encoding of empty core.BitString()
Fixed a missing return value for core.Choice().parse()
Fixed core.Choice().contents working when the chosen alternative is a core.Choice() also
Fixed parsing and encoding of nested core.Choice() objects
Fixed a bug causing core.ObjectIdentifier().native to sometimes not map the OID


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/py-asn1crypto/Makefile \
    pkgsrc/security/py-asn1crypto/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/py-asn1crypto/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-asn1crypto/Makefile
diff -u pkgsrc/security/py-asn1crypto/Makefile:1.4 pkgsrc/security/py-asn1crypto/Makefile:1.5
--- pkgsrc/security/py-asn1crypto/Makefile:1.4  Sun Dec 17 16:54:02 2017
+++ pkgsrc/security/py-asn1crypto/Makefile      Fri Oct 11 16:16:45 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/12/17 16:54:02 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/10/11 16:16:45 adam Exp $
 
-DISTNAME=      asn1crypto-0.24.0
+DISTNAME=      asn1crypto-1.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asn1crypto/}
Index: pkgsrc/security/py-asn1crypto/distinfo
diff -u pkgsrc/security/py-asn1crypto/distinfo:1.4 pkgsrc/security/py-asn1crypto/distinfo:1.5
--- pkgsrc/security/py-asn1crypto/distinfo:1.4  Sun Dec 17 16:54:02 2017
+++ pkgsrc/security/py-asn1crypto/distinfo      Fri Oct 11 16:16:45 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/12/17 16:54:02 adam Exp $
+$NetBSD: distinfo,v 1.5 2019/10/11 16:16:45 adam Exp $
 
-SHA1 (asn1crypto-0.24.0.tar.gz) = c8f64e99bc01d90c412891cdad97675d8fe79cc7
-RMD160 (asn1crypto-0.24.0.tar.gz) = 64af381c1ea47881370b0c8ee77b9220311327c1
-SHA512 (asn1crypto-0.24.0.tar.gz) = 44d442a6ddfa971e31e24712fe084368356deb5e1c4c3b3e813e0910931860215bc1c4f9eb2c4bd4fdef607c324086c096e9357068646efd28c97f2d4f85c62f
-Size (asn1crypto-0.24.0.tar.gz) = 104964 bytes
+SHA1 (asn1crypto-1.0.1.tar.gz) = 66c033d7c8e2e2cd1f5903543c032eaaa8c496cf
+RMD160 (asn1crypto-1.0.1.tar.gz) = 7a38312c55b3ffe33daee80ca3797a1a4b007243
+SHA512 (asn1crypto-1.0.1.tar.gz) = f7bb10b1fafb9f7fc3cba89a76c09b1641a955f221e4dc7742754ec098e3ddfdb09dc25b0660f5c6caf4f1899a2bfe3ed54f2423c6b38f43150614b3d0268e8c
+Size (asn1crypto-1.0.1.tar.gz) = 115877 bytes

Index: pkgsrc/security/py-asn1crypto/PLIST
diff -u pkgsrc/security/py-asn1crypto/PLIST:1.1 pkgsrc/security/py-asn1crypto/PLIST:1.2
--- pkgsrc/security/py-asn1crypto/PLIST:1.1     Mon Mar 13 09:39:18 2017
+++ pkgsrc/security/py-asn1crypto/PLIST Fri Oct 11 16:16:45 2019
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/13 09:39:18 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/10/11 16:16:45 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/LICENSE
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -6,15 +7,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/asn1crypto/__init__.py
 ${PYSITELIB}/asn1crypto/__init__.pyc
 ${PYSITELIB}/asn1crypto/__init__.pyo
-${PYSITELIB}/asn1crypto/_elliptic_curve.py
-${PYSITELIB}/asn1crypto/_elliptic_curve.pyc
-${PYSITELIB}/asn1crypto/_elliptic_curve.pyo
 ${PYSITELIB}/asn1crypto/_errors.py
 ${PYSITELIB}/asn1crypto/_errors.pyc
 ${PYSITELIB}/asn1crypto/_errors.pyo
-${PYSITELIB}/asn1crypto/_ffi.py
-${PYSITELIB}/asn1crypto/_ffi.pyc
-${PYSITELIB}/asn1crypto/_ffi.pyo
 ${PYSITELIB}/asn1crypto/_inet.py
 ${PYSITELIB}/asn1crypto/_inet.pyc
 ${PYSITELIB}/asn1crypto/_inet.pyo
@@ -27,12 +22,6 @@ ${PYSITELIB}/asn1crypto/_iri.pyo
 ${PYSITELIB}/asn1crypto/_ordereddict.py
 ${PYSITELIB}/asn1crypto/_ordereddict.pyc
 ${PYSITELIB}/asn1crypto/_ordereddict.pyo
-${PYSITELIB}/asn1crypto/_perf/__init__.py
-${PYSITELIB}/asn1crypto/_perf/__init__.pyc
-${PYSITELIB}/asn1crypto/_perf/__init__.pyo
-${PYSITELIB}/asn1crypto/_perf/_big_num_ctypes.py
-${PYSITELIB}/asn1crypto/_perf/_big_num_ctypes.pyc
-${PYSITELIB}/asn1crypto/_perf/_big_num_ctypes.pyo
 ${PYSITELIB}/asn1crypto/_teletex_codec.py
 ${PYSITELIB}/asn1crypto/_teletex_codec.pyc
 ${PYSITELIB}/asn1crypto/_teletex_codec.pyo



Home | Main Index | Thread Index | Old Index