Fedora 13 Update: python-nss-0.9-8.fc13

updates at fedoraproject.org updates at fedoraproject.org
Wed Sep 8 02:27:16 UTC 2010


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2010-11204
2010-07-20 21:39:31
--------------------------------------------------------------------------------

Name        : python-nss
Product     : Fedora 13
Version     : 0.9
Release     : 8.fc13
URL         : :pserver:anonymous at cvs-mirror.mozilla.org:/cvsroot/mozilla/security/python/nss
Summary     : Python bindings for Network Security Services (NSS)
Description :
This package provides Python bindings for Network Security Services
(NSS) and the Netscape Portable Runtime (NSPR).

NSS is a set of libraries supporting security-enabled client and
server applications. Applications built with NSS can support SSL v2
and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
certificates, and other security standards. Specific NSS
implementations have been FIPS-140 certified.

--------------------------------------------------------------------------------
Update Information:

major new functionality and bug fixes, see changelog
--------------------------------------------------------------------------------
ChangeLog:

* Thu Jul 15 2010 John Dennis <jdennis at redhat.com> - 0.9-8
- Correct definciencies in auth_certificate_callback found in several
  of the example files and documentation. If you've copied that code
  you should merge those changes in.

- Unicode objects now accepted as well as str objects for
  interfaces expecting a string.

- Sockets were enhanced thusly:
    - Threads will now yield during blocking IO.
    - Socket.makefile() reimplemented
	  file object methods that had been missing (readlines(), sendall(),
	  and iteration) were implemented, makefile now just returns the same
	  Socket object but increments an "open" ref count. Thus a Socket
	  object behaves like a file object and must be closed once for each
	  makefile() call before it's actually closed.
    - Sockets now support the iter protocol
    - Add Socket.readlines(), Socket.sendall()

- The following classes were added:
    AuthKeyID
    BasicConstraints	
    CRLDistributionPoint
    CRLDistributionPts
    CertificateExtension
    GeneralName
    SignedCRL
    DN
    RDN
    AVA
    CertificateRequest
	
- The following module functions were added:
    nss.nss.nss_is_initialized()
    nss.nss.cert_crl_reason_from_name()
    nss.nss.cert_crl_reason_name()
    nss.nss.cert_general_name_type_from_name()
    nss.nss.cert_general_name_type_name()
    nss.nss.cert_usage_flags()
    nss.nss.decode_der_crl()
    nss.nss.der_universal_secitem_fmt_lines()
    nss.nss.import_crl()
    nss.nss.make_line_pairs()
    nss.nss.oid_dotted_decimal()
    nss.nss.oid_str()
    nss.nss.oid_tag()
    nss.nss.oid_tag_name()
    nss.nss.read_der_from_file()
    nss.nss.x509_alt_name()
    nss.nss.x509_ext_key_usage()
    nss.nss.x509_key_usage()

- The following class methods and properties were added:
  Note: it's a method if the name is suffixed with (), a propety otherwise
    Socket.next()
    Socket.readlines()
    Socket.sendall()
    SSLSocket.next()
    SSLSocket.readlines()
    SSLSocket.sendall()
    AuthKeyID.key_id
    AuthKeyID.serial_number
    AuthKeyID.get_general_names()
    CRLDistributionPoint.issuer
    CRLDistributionPoint.get_general_names()
    CRLDistributionPoint.get_reasons()
    CertDB.find_crl_by_cert()
    CertDB.find_crl_by_name()
    Certificate.extensions
    CertificateExtension.critical
    CertificateExtension.name
    CertificateExtension.oid
    CertificateExtension.oid_tag
    CertificateExtension.value
    GeneralName.type_enum
    GeneralName.type_name
    GeneralName.type_string
    SecItem.der_to_hex()
    SecItem.get_oid_sequence()
    SecItem.to_hex()
    SignedCRL.delete_permanently()
    AVA.oid
    AVA.oid_tag
    AVA.value
    AVA.value_str
    DN.cert_uid
    DN.common_name
    DN.country_name
    DN.dc_name
    DN.email_address
    DN.locality_name
    DN.org_name
    DN.org_unit_name
    DN.state_name
    DN.add_rdn()
    DN.has_key()
    RDN.has_key()

- The following module functions were removed:
  Note: use nss.nss.oid_tag() instead
    nss.nss.sec_oid_tag_from_name()
    nss.nss.sec_oid_tag_name()
    nss.nss.sec_oid_tag_str()

- The following files were added:
    doc/examples/cert_dump.py
    test/test_cert_components.py

- Apply patches from  Miloslav Trmač <mitr at redhat.com>
  for ref counting and threading support. Thanks Miloslav!

- Review all ref counting, numerous ref counting fixes

- Implement cyclic garbage collection support by
  adding object traversal and clear methods

- Identify static variables, move to thread local storage
	
- Remove python-nss specific httplib.py, no longer needed
  python-nss now compatible with standard library

- Rewrite httplib_example.py to use standard library and illustrate
  ssl, non-ssl, connection class, http class usage
* Wed Mar 24 2010 John Dennis <jdennis at redhat.com> - 0.8-2
- change %define to %global
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #580963 - python-nss does not release the interpreter lock on blocking operations
        https://bugzilla.redhat.com/show_bug.cgi?id=580963
  [ 2 ] Bug #584990 - Reference counting problems?
        https://bugzilla.redhat.com/show_bug.cgi?id=584990
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update python-nss' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list