Metadata-Version: 2.1
Name: conda-content-trust
Version: 0.1.3
Summary: Signing and verification tools for the conda ecosystem
Home-page: https://github.com/conda/conda-content-trust
Author: Sebastien Awwad
Author-email: sebastien.awwad@gmail.com
License: BSD
Keywords: conda-content-trust conda-authentication-resources conda signing secure verify authentication key compromise
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: six
Requires-Dist: cryptography
Provides-Extra: gpgsigning
Requires-Dist: securesystemslib (==0.13.1) ; extra == 'gpgsigning'
##############################################################################
Conda Content Trust: Signing and verification tools for Conda
##############################################################################
**What:** Based on `The Update Framework (TUF) `_, conda-content-trust is intended to ensure that when users in the conda ecosystem obtain a package or data about that package, they can know whether or not it is trustworthy (e.g. originally comes from a reliable source and has not been tampered with). A basic library and basic CLI are included to provide signing, verification, and trust delegation functionality.
**Why:** This exists as an alteration of TUF because of the very particular needs of the conda ecosystem. (Developers are encouraged to *just use TUF* whenever possible!)
**Where:** This tool is general purpose. It is currently used in conda 4.10.1+ to verify package metadata signatures when they are available (`announcement `_, `instructions `_).
**************
Installation
**************
Installation can be accomplished via conda:
``conda install conda-content-trust``
Or via pip:
``pip install conda-content-trust``
(If you intend to tinker with the code, use an editable install instead, of course: ``pip install -e .``)
========================================================================
Optional Dependencies for Producing Signatures with GPG Keys / YubiKeys
========================================================================
If you intend to *create* *GPG* key signatures (as opposed to the typical non-GPG signatures), and/or you intend to use the YubiKey interface, you will need to install two optional dependencies:
| - ``GPG`` (any gpg client that provides command-line gpg functionality should do)
| - ``securesystemslib`` (``pip install securesystemslib``)
*********************
Demonstration and Use
*********************
Use of the command-line utility provides help functionality::
``conda-content-trust --help``
You should be able to run the demo after installing:
``python3 demo.py``
(Portions of the demo may require the optional dependencies above.)
*******************
Testing
*******************
Each set of tests is a module in the `tests/` directory. These can all be run with:
``pytest``