[python-nss] Revert "Alpha pre-release of version 0.14, add certificate validation support."
John Dennis
jdennis at fedoraproject.org
Mon Feb 18 14:47:57 UTC 2013
commit c8119a20d7f33d710d65141657d038c05c7dc206
Author: John Dennis <jdennis at redhat.com>
Date: Mon Feb 18 09:45:56 2013 -0500
Revert "Alpha pre-release of version 0.14, add certificate validation support."
This reverts commit 027ba7df36b5785c899729040a3cc89937299395.
Version 0.14-alpha should not be released, reverting to stable 0.13
.gitignore | 2 -
python-nss.spec | 136 +-----------------------------------------------------
sources | 2 +-
3 files changed, 4 insertions(+), 136 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c89e2b8..bc7e9ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,4 @@
-/python-nss-0.9.tar.bz2
/python-nss-0.10.tar.bz2
/python-nss-0.11.tar.bz2
/python-nss-0.12.tar.bz2
/python-nss-0.13.tar.bz2
-/python-nss-0.14.0alpha.tar.bz2
diff --git a/python-nss.spec b/python-nss.spec
index bd4681b..515905a 100644
--- a/python-nss.spec
+++ b/python-nss.spec
@@ -5,14 +5,14 @@
%global build_api_doc 1
Name: python-nss
-Version: 0.14.0alpha
-Release: 1%{?dist}
+Version: 0.13
+Release: 0%{?dist}
Summary: Python bindings for Network Security Services (NSS)
Group: Development/Languages
License: MPLv2.0 or GPLv2+ or LGPLv2+
URL: ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss
-Source0: ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss/releases/PYNSS_RELEASE_0_14_0/src/python-nss-%{version}.tar.bz2
+Source0: ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss/releases/PYNSS_RELEASE_0_13_0/src/python-nss-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%global docdir %{_docdir}/%{name}-%{version}
@@ -91,136 +91,6 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14.0alpha-1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Thu Nov 1 2012 John Dennis <jdennis at redhat.com> - 0.14.0alpha-0
- - alpha pre-release of version 0.14 with these changes:
-
- External Changes:
- -----------------
-
- The primary enhancement in this version is support of certifcate
- validation, especially CA certs which can be done via
- Certificate.verify() or Certificate.is_ca_cert(). When cert
- validation fails you can now obtain diagnostic information as to why
- the cert failed to validate. This is encapsulated in the
- CertVerifyLog class which is a iterable collection of
- CertVerifyLogNode objects. Most people will probablby just print the
- string representation of the returned CertVerifyLog object. Cert
- validation logging is handled by the Certificate.verify() method.
- Support has also been added for the various key usage and cert type
- entities which feature prominently during cert validation.
-
- * The following classes were added:
- - nss.CertVerifyLogNode
- - nss.CertVerifyLog
- - error.CertVerifyError (exception)
-
- * The following class methods were added:
- - nss.Certificate.is_ca_cert
- - nss.Certificate.verify
- - nss.Certificate.verify_with_log
- - nss.Certificate.get_cert_chain
- - nss.PK11Slot.list_certs
- - nss.CertVerifyLogNode.format_lines
- - nss.CertVerifyLog.format_lines
-
- * The following class properties were added:
- - nss.CertVerifyLogNode.certificate
- - nss.CertVerifyLogNode.error
- - nss.CertVerifyLogNode.depth
- - nss.CertVerifyLog.count
-
- * The following module functions were added:
- - nss.x509_cert_type
- - nss.key_usage_flags
- - nss.list_certs
- - nss.find_certs_from_email_addr
- - nss.find_certs_from_nickname
- - nss.get_use_pkix_for_validation
- - nss.set_use_pkix_for_validation
-
- * The following files were added:
- doc/examples/verify_cert.py
-
- * The following constants were added:
- - nss.KU_DIGITAL_SIGNATURE
- - nss.KU_NON_REPUDIATION
- - nss.KU_KEY_ENCIPHERMENT
- - nss.KU_DATA_ENCIPHERMENT
- - nss.KU_KEY_AGREEMENT
- - nss.KU_KEY_CERT_SIGN
- - nss.KU_CRL_SIGN
- - nss.KU_ENCIPHER_ONLY
- - nss.KU_ALL
- - nss.KU_DIGITAL_SIGNATURE_OR_NON_REPUDIATION
- - nss.KU_KEY_AGREEMENT_OR_ENCIPHERMENT
- - nss.KU_NS_GOVT_APPROVED
- - nss.PK11CertListUnique
- - nss.PK11CertListUser
- - nss.PK11CertListRootUnique
- - nss.PK11CertListCA
- - nss.PK11CertListCAUnique
- - nss.PK11CertListUserUnique
- - nss.PK11CertListAll
- - nss.certUsageSSLClient
- - nss.certUsageSSLServer
- - nss.certUsageSSLServerWithStepUp
- - nss.certUsageSSLCA
- - nss.certUsageEmailSigner
- - nss.certUsageEmailRecipient
- - nss.certUsageObjectSigner
- - nss.certUsageUserCertImport
- - nss.certUsageVerifyCA
- - nss.certUsageProtectedObjectSigner
- - nss.certUsageStatusResponder
- - nss.certUsageAnyCA
-
- * cert_dump.py extended to print NS_CERT_TYPE_EXTENSION
-
- * cert_usage_flags, nss_init_flags now support optional repr_kind parameter
-
- * error codes and descriptions were updated from upstream NSPR & NSS.
-
- Internal Changes:
- -----------------
-
- * Reimplement exception handling
- - NSPRError is now derived from StandardException instead of
- EnvironmentError. It was never correct to derive from
- EnvironmentError but was difficult to implement a new subclassed
- exception with it's own attributes, using EnvironmentError had
- been expedient.
-
- - NSPRError now derived from StandardException, provides:
- * errno (numeric error code)
- * strerror (error description associated with error code)
- * error_message (optional detailed message)
- * error_code (alias for errno)
- * error_desc (alias for strerror)
-
- - CertVerifyError derived from NSPRError, extends with:
- * usages (bitmask of returned usages)
- * log (CertVerifyLog object)
-
- * Expose error lookup to sibling modules
-
- * Use macros for bitmask_to_list functions to reduce code
- duplication and centralize logic.
-
- * Add repr_kind parameter to cert_trust_flags_str()
-
- * Add support for repr_kind AsEnumName to bitstring table lookup.
-
- * Add cert_type_bitstr_to_tuple() lookup function
-
- * Add PRTimeConvert(), used to convert Python time values
- to PRTime, centralizes conversion logic, reduces duplication
-
- * Add Certificate_summary_format_lines() utility to generate
- concise certificate identification info for output.
-
* Mon Oct 8 2012 John Dennis <jdennis at redhat.com> - 0.13-0
- Update to version 0.13
Introduced in 0.13:
diff --git a/sources b/sources
index f58510f..adabe2c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1083d91a24a141ceb5ec90e2a59c2fe9 python-nss-0.14.0alpha.tar.bz2
+ed7614cbd678e213be449142bd11fc8b python-nss-0.13.tar.bz2
More information about the scm-commits
mailing list