pynacl 0,0 travis-ci python

Python binding to the Networking and Cryptography (NaCl) library

2 years after

PyNaCl

.. image:: https://pypip.in/version/PyNaCl/badge.svg?style=flat :target: https://pypi.python.org/pypi/PyNaCl/ :alt: Latest Version

.. image:: https://travis-ci.org/pyca/pynacl.svg?branch=master :target: https://travis-ci.org/pyca/pynacl

.. image:: https://coveralls.io/repos/pyca/pynacl/badge.svg?branch=master :target: https://coveralls.io/r/pyca/pynacl?branch=master

PyNaCl is a Python binding to the Networking and Cryptography library_, a crypto library with the stated goal of improving usability, security and speed.

.. _Networking and Cryptography library: https://nacl.cr.yp.to/

Installation

Linux


PyNaCl relies on libsodium_, a portable C library. A copy is bundled
with PyNaCl so to install you can run:

.. code-block:: console

    $ pip install pynacl

If you'd prefer to use one provided by your distribution you can disable
the bundled copy during install by running:

.. code-block:: console

    $ SODIUM_INSTALL=system pip install pynacl

.. _libsodium: https://github.com/jedisct1/libsodium

Mac OS X & Windows

PyNaCl ships as a binary wheel on OS X and Windows so all dependencies are included. Make sure you have an up-to-date pip and run:

.. code-block:: console

$ pip install pynacl

Features

  • Digital signatures
  • Secret-key encryption
  • Public-key encryption

Changes

  • 1.0.1:

    • Fix an issue with absolute paths that prevented the creation of wheels.
  • 1.0:

    • PyNaCl has been ported to use the new APIs available in cffi 1.0+. Due to this change we no longer support PyPy releases older than 2.6.

    • Python 3.2 support has been dropped.

    • Functions to convert between Ed25519 and Curve25519 keys have been added.

  • 0.3.0:

    • The low-level API (nacl.c.*) has been changed to match the upstream NaCl C/C++ conventions (as well as those of other NaCl bindings). The order of arguments and return values has changed significantly. To avoid silent failures, nacl.c has been removed, and replaced with nacl.bindings (with the new argument ordering). If you have code which calls these functions (e.g. nacl.c.crypto_box_keypair()), you must review the new docstrings and update your code/imports to match the new conventions.

Related Repositories

awesome-python

awesome-python

A curated list of awesome Python frameworks, libraries, software and resources ...

awesome-python-cn

awesome-python-cn

Python资源大全中文版,包括:Web框架、网络爬虫、模板引擎、数据库、数据可视化、图片处理等,由伯乐在线持续更新。 ...

synapse

synapse

Synapse: Matrix reference homeserver ...

tuf

tuf

Like the S in HTTPS, a plug-and-play library for securing a software updater ...

js-nacl

js-nacl

Pure-Javascript High-level API to Emscripten-compiled libsodium routines. ...


Top Contributors

dstufft alex reaperhulk warner Ayrx JackWink davidfischer lvh justquick NegativeMjark lmctv aaannndddyyy dreid sinner- cmusser jvarho jezdez cvrebert ThomasWaldmann teepark wbolster tdsmith

Releases

-   v0.3.0 zip tar
-   v0.2.3 zip tar
-   v0.2.2 zip tar
-   v0.2.1 zip tar
-   v0.2.0 zip tar
-   v0.1.0 zip tar
-   1.0.1 zip tar
-   1.0 zip tar