[Cryptography-dev] PyNaCl-0.3.0 release

Brian Warner warner at lothar.com
Wed Mar 4 21:06:11 CET 2015


I'm pleased to announce that we've released PyNaCl-0.3.0 to PyPI.

 https://pypi.python.org/pypi/PyNaCl/

"pynacl", as the package is known, is a python2/3/pypy binding to
libsodium[1], which gives applications access to the "NaCl" cryptography
library[2] (Curve25519 "Box" public-key authenticated encryption,
Salsa20/Poly1305 secret-key authenticated encryption, and various
lower-level primitives).

It's been 17 months since the previous (0.2.3) release, so a lot of
things have changed. The most important items, however, are:

* "pip install pynacl" now works, as does using pynacl as a dependency
  of another pip-installed program (install_requires=["pynacl"])
* The raw "nacl.c" module has been removed, and replaced with
  "nacl.bindings" that offers the same functionality. The API is
  different, however (in particular the arguments now match other
  nacl/libsodium bindings), so we decided to remove the old module to
  avoid confusion.
* a URLSafeBase64Encoder was added, for encoding messages and keys
* upgraded to libsodium-1.0.1 (but note 1.0.2 is now the most recent)


Thanks to everyone who's contributed code, testing, and eyeballs to this
release! Please report any bugs to the github tracker[3].

cheers,
 -Brian


[1]: https://github.com/jedisct1/libsodium/
[2]: http://nacl.cr.yp.to/
[3]: https://github.com/pyca/pynacl


More information about the Cryptography-dev mailing list