You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

174 lines
5.6 KiB

7 years ago
  1. Metadata-Version: 2.0
  2. Name: PyNaCl
  3. Version: 1.2.1
  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. Description-Content-Type: UNKNOWN
  10. Platform: UNKNOWN
  11. Classifier: Programming Language :: Python :: Implementation :: CPython
  12. Classifier: Programming Language :: Python :: Implementation :: PyPy
  13. Classifier: Programming Language :: Python :: 2
  14. Classifier: Programming Language :: Python :: 2.7
  15. Classifier: Programming Language :: Python :: 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: six
  20. Requires-Dist: cffi (>=1.4.1)
  21. Provides-Extra: docs
  22. Requires-Dist: sphinx (>=1.6.5); extra == 'docs'
  23. Requires-Dist: sphinx-rtd-theme; extra == 'docs'
  24. Provides-Extra: tests
  25. Requires-Dist: pytest (!=3.3.0,>=3.2.1); extra == 'tests'
  26. Requires-Dist: hypothesis (>=3.27.0); extra == 'tests'
  27. ===============================================
  28. PyNaCl: Python binding to the libsodium library
  29. ===============================================
  30. .. image:: https://img.shields.io/pypi/v/pynacl.svg
  31. :target: https://pypi.python.org/pypi/PyNaCl/
  32. :alt: Latest Version
  33. .. image:: https://travis-ci.org/pyca/pynacl.svg?branch=master
  34. :target: https://travis-ci.org/pyca/pynacl
  35. .. image:: https://codecov.io/github/pyca/pynacl/coverage.svg?branch=master
  36. :target: https://codecov.io/github/pyca/pynacl?branch=master
  37. PyNaCl is a Python binding to `libsodium`_, which is a fork of the
  38. `Networking and Cryptography library`_. These libraries have a stated goal of
  39. improving usability, security and speed. It supports Python 2.7 and 3.4+ as
  40. well as PyPy 2.6+.
  41. .. _libsodium: https://github.com/jedisct1/libsodium
  42. .. _Networking and Cryptography library: https://nacl.cr.yp.to/
  43. Features
  44. --------
  45. * Digital signatures
  46. * Secret-key encryption
  47. * Public-key encryption
  48. * Hashing and message authentication
  49. * Password based key derivation and password hashing
  50. Installation
  51. ============
  52. Binary wheel install
  53. --------------------
  54. PyNaCl ships as a binary wheel on OS X, Windows and Linux ``manylinux1`` [#many]_ ,
  55. so all dependencies are included. Make sure you have an up-to-date pip
  56. and run:
  57. .. code-block:: console
  58. $ pip install pynacl
  59. Linux source build
  60. ------------------
  61. PyNaCl relies on `libsodium`_, a portable C library. A copy is bundled
  62. with PyNaCl so to install you can run:
  63. .. code-block:: console
  64. $ pip install pynacl
  65. If you'd prefer to use the version of ``libsodium`` provided by your
  66. distribution, you can disable the bundled copy during install by running:
  67. .. code-block:: console
  68. $ SODIUM_INSTALL=system pip install pynacl
  69. .. warning:: Usage of the legacy ``easy_install`` command provided by setuptools
  70. is generally discouraged, and is completely unsupported in PyNaCl's case.
  71. .. _libsodium: https://github.com/jedisct1/libsodium
  72. .. [#many] `manylinux1 wheels <https://www.python.org/dev/peps/pep-0513/>`_
  73. are built on a baseline linux environment based on Centos 5.11
  74. and should work on most x86 and x86_64 glibc based linux environments.
  75. Changelog
  76. =========
  77. 1.2.1 - 2017-12-04
  78. ------------------
  79. * Update hypothesis minumum allowed version.
  80. * Infrastructure: add proper configuration for readthedocs builder
  81. runtime environment.
  82. 1.2.0 - 2017-11-01
  83. ------------------
  84. * Update ``libsodium`` to 1.0.15.
  85. * Infrastructure: add jenkins support for automatic build of
  86. ``manylinux1`` binary wheels
  87. * Added support for ``SealedBox`` construction.
  88. * Added support for ``argon2i`` and ``argon2id`` password hashing constructs
  89. and restructured high-level password hashing implementation to expose
  90. the same interface for all hashers.
  91. * Added support for 128 bit ``siphashx24`` variant of ``siphash24``.
  92. * Added support for ``from_seed`` APIs for X25519 keypair generation.
  93. * Dropped support for Python 3.3.
  94. 1.1.2 - 2017-03-31
  95. ------------------
  96. * reorder link time library search path when using bundled
  97. libsodium
  98. 1.1.1 - 2017-03-15
  99. ------------------
  100. * Fixed a circular import bug in ``nacl.utils``.
  101. 1.1.0 - 2017-03-14
  102. ------------------
  103. * Dropped support for Python 2.6.
  104. * Added ``shared_key()`` method on ``Box``.
  105. * You can now pass ``None`` to ``nonce`` when encrypting with ``Box`` or
  106. ``SecretBox`` and it will automatically generate a random nonce.
  107. * Added support for ``siphash24``.
  108. * Added support for ``blake2b``.
  109. * Added support for ``scrypt``.
  110. * Update ``libsodium`` to 1.0.11.
  111. * Default to the bundled ``libsodium`` when compiling.
  112. * All raised exceptions are defined mixing-in
  113. ``nacl.exceptions.CryptoError``
  114. 1.0.1 - 2016-01-24
  115. ------------------
  116. * Fix an issue with absolute paths that prevented the creation of wheels.
  117. 1.0 - 2016-01-23
  118. ----------------
  119. * PyNaCl has been ported to use the new APIs available in cffi 1.0+.
  120. Due to this change we no longer support PyPy releases older than 2.6.
  121. * Python 3.2 support has been dropped.
  122. * Functions to convert between Ed25519 and Curve25519 keys have been added.
  123. 0.3.0 - 2015-03-04
  124. ------------------
  125. * The low-level API (`nacl.c.*`) has been changed to match the
  126. upstream NaCl C/C++ conventions (as well as those of other NaCl bindings).
  127. The order of arguments and return values has changed significantly. To
  128. avoid silent failures, `nacl.c` has been removed, and replaced with
  129. `nacl.bindings` (with the new argument ordering). If you have code which
  130. calls these functions (e.g. `nacl.c.crypto_box_keypair()`), you must review
  131. the new docstrings and update your code/imports to match the new
  132. conventions.

Powered by TurnKey Linux.