METADATA 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Metadata-Version: 2.0
  2. Name: PyNaCl
  3. Version: 1.1.2
  4. Summary: Python binding to the Networking and Cryptography (NaCl) library
  5. Home-page: https://github.com/pyca/pynacl/
  6. Author: The PyNaCl developers
  7. Author-email: cryptography-dev@python.org
  8. License: Apache License 2.0
  9. Platform: UNKNOWN
  10. Classifier: Programming Language :: Python :: Implementation :: CPython
  11. Classifier: Programming Language :: Python :: Implementation :: PyPy
  12. Classifier: Programming Language :: Python :: 2
  13. Classifier: Programming Language :: Python :: 2.7
  14. Classifier: Programming Language :: Python :: 3
  15. Classifier: Programming Language :: Python :: 3.3
  16. Classifier: Programming Language :: Python :: 3.4
  17. Classifier: Programming Language :: Python :: 3.5
  18. Classifier: Programming Language :: Python :: 3.6
  19. Requires-Dist: cffi (>=1.4.1)
  20. Requires-Dist: six
  21. Provides-Extra: tests
  22. Requires-Dist: pytest; extra == 'tests'
  23. PyNaCl
  24. ======
  25. .. image:: https://img.shields.io/pypi/v/pynacl.svg
  26. :target: https://pypi.python.org/pypi/PyNaCl/
  27. :alt: Latest Version
  28. .. image:: https://travis-ci.org/pyca/pynacl.svg?branch=master
  29. :target: https://travis-ci.org/pyca/pynacl
  30. .. image:: https://codecov.io/github/pyca/pynacl/coverage.svg?branch=master
  31. :target: https://codecov.io/github/pyca/pynacl?branch=master
  32. PyNaCl is a Python binding to `libsodium`_, which is a fork of the
  33. `Networking and Cryptography library`_. These libraries have a stated goal of
  34. improving usability, security and speed. It supports Python 2.7 and 3.3+ as
  35. well as PyPy 2.6+.
  36. .. _Networking and Cryptography library: https://nacl.cr.yp.to/
  37. Installation
  38. ------------
  39. Linux
  40. ~~~~~
  41. PyNaCl relies on `libsodium`_, a portable C library. A copy is bundled
  42. with PyNaCl so to install you can run:
  43. .. code-block:: console
  44. $ pip install pynacl
  45. If you'd prefer to use one provided by your distribution you can disable
  46. the bundled copy during install by running:
  47. .. code-block:: console
  48. $ SODIUM_INSTALL=system pip install pynacl
  49. .. _libsodium: https://github.com/jedisct1/libsodium
  50. Mac OS X & Windows
  51. ~~~~~~~~~~~~~~~~~~
  52. PyNaCl ships as a binary wheel on OS X and Windows so all dependencies
  53. are included. Make sure you have an up-to-date pip and run:
  54. .. code-block:: console
  55. $ pip install pynacl
  56. Features
  57. --------
  58. * Digital signatures
  59. * Secret-key encryption
  60. * Public-key encryption
  61. Changes
  62. -------
  63. * 1.1.2 - 2017-03-31:
  64. * reorder link time library search path when using bundled
  65. libsodium
  66. * 1.1.1 - 2017-03-15:
  67. * Fixed a circular import bug in ``nacl.utils``.
  68. * 1.1.0 - 2017-03-14:
  69. * Dropped support for Python 2.6.
  70. * Added ``shared_key()`` method on ``Box``.
  71. * You can now pass ``None`` to ``nonce`` when encrypting with ``Box`` or
  72. ``SecretBox`` and it will automatically generate a random nonce.
  73. * Added support for ``siphash24``.
  74. * Added support for ``blake2b``.
  75. * Added support for ``scrypt``.
  76. * Update ``libsodium`` to 1.0.11.
  77. * Default to the bundled ``libsodium`` when compiling.
  78. * All raised exceptions are defined mixing-in
  79. ``nacl.exceptions.CryptoError``
  80. * 1.0.1:
  81. * Fix an issue with absolute paths that prevented the creation of wheels.
  82. * 1.0:
  83. * PyNaCl has been ported to use the new APIs available in cffi 1.0+.
  84. Due to this change we no longer support PyPy releases older than 2.6.
  85. * Python 3.2 support has been dropped.
  86. * Functions to convert between Ed25519 and Curve25519 keys have been added.
  87. * 0.3.0:
  88. * The low-level API (`nacl.c.*`) has been changed to match the
  89. upstream NaCl C/C++ conventions (as well as those of other NaCl bindings).
  90. The order of arguments and return values has changed significantly. To
  91. avoid silent failures, `nacl.c` has been removed, and replaced with
  92. `nacl.bindings` (with the new argument ordering). If you have code which
  93. calls these functions (e.g. `nacl.c.crypto_box_keypair()`), you must review
  94. the new docstrings and update your code/imports to match the new
  95. conventions.