NSS 3.30 release notes

Introduction

The Network Security Services (NSS) team has released NSS 3.30, which is a minor release.

Distribution information

The hg tag is NSS_3_30_RTM. NSS 3.30 requires Netscape Portable Runtime (NSPR); 4.13.1 or newer.

NSS 3.30 source distributions are available on ftp.mozilla.org for secure HTTPS download:

New in NSS 3.30

New Functionality

  • In the PKCS#11 root CA module (nssckbi), CAs with positive trust are marked with a new boolean attribute, CKA_NSS_MOZILLA_CA_POLICY, set to true. Applications that need to distinguish them from other root CAs, may use the exported function PK11_HasAttributeSet.

  • Support for callback functions that can be used to monitor SSL/TLS alerts that are sent or received.

New Functions

  • in cert.h

    • CERT_CompareAVA - performs a comparison of two CERTAVA structures, and returns a SECComparison result.

  • in pk11pub.h

    • PK11_HasAttributeSet - allows to check if a PKCS#11 object in a given slot has a specific boolean attribute set.

  • in ssl.h

    • SSL_AlertReceivedCallback - register a callback function, that will be called whenever an SSL/TLS alert is received

    • SSL_AlertSentCallback - register a callback function, that will be called whenever an SSL/TLS alert is sent

    • SSL_SetSessionTicketKeyPair - configures an asymmetric key pair, for use in wrapping session ticket keys, used by the server. This function currently only accepts an RSA public/private key pair.

New Macros

  • in ciferfam.h

    • PKCS12_AES_CBC_128, PKCS12_AES_CBC_192, PKCS12_AES_CBC_256 - cipher family identifiers corresponding to the PKCS#5 v2.1 AES based encryption schemes used in the PKCS#12 support in NSS

  • in pkcs11n.h

    • CKA_NSS_MOZILLA_CA_POLICY - identifier for a boolean PKCS#11 attribute, that should be set to true, if a CA is present because of it’s acceptance according to the Mozilla CA Policy

Notable Changes in NSS 3.30

  • The TLS server code has been enhanced to support session tickets when no RSA certificate (e.g. only an ECDSA certificate) is configured.

  • RSA-PSS signatures produced by key pairs with a modulus bit length that is not a multiple of 8 are now supported.

  • The pk12util tool now supports importing and exporting data encrypted in the AES based schemes defined in PKCS#5 v2.1.

Bugs fixed in NSS 3.30

Compatibility

NSS 3.30 shared libraries are backward compatible with all older NSS 3.x shared libraries. A program linked with older NSS 3.x shared libraries will work with NSS 3.30 shared libraries without recompiling or relinking. Furthermore, applications that restrict their use of NSS APIs to the functions listed in NSS Public Functions will remain compatible with future versions of the NSS shared libraries.

Feedback

Bugs discovered should be reported by filing a bug report with bugzilla.mozilla.org (product NSS).