Skip to content

python library cryptography #30287

Closed
Closed

Description

@damon-atkins

Consider using python library "cryptography" as its parent project is openstack
See
https://cryptography.io/en/latest/
https://lwn.net/Articles/595790/

It appears its only dependency is openSSL

Given a lot of vendors want to support openstack, you may find "cryptography" on new releases of OS. But this does not help with older releases of OS.

Activity

  1. added
    Feature
    Core
    on Jan 13, 2016
  2. added this to the Approved milestone on Jan 13, 2016
  3. jfindlay commented on Jan 13, 2016

    @jfindlay
    Contributor

    @damon-atkins, thanks for the feature request. This would be a great option to have.

  4. damon-atkins commented on Apr 26, 2016

    @damon-atkins
    ContributorAuthor

    https://cryptography.io/en/latest/installation/

    Currently we test cryptography on Python 2.6, 2.7, 3.3, 3.4, 3.5, and PyPy 2.6+ on these operating systems.

    x86-64 CentOS 7.x, 6.4 and CentOS 5.x
    x86-64 FreeBSD 10
    OS X 10.11 El Capitan, 10.10 Yosemite, 10.9 Mavericks, 10.8 Mountain Lion, and 10.7 Lion
    x86-64 Ubuntu 12.04 LTS and Ubuntu 14.04 LTS
    x86-64 Debian Wheezy (7.x), Jessie (8.x), and Debian Sid (unstable)
    32-bit and 64-bit Python on 64-bit Windows Server 2012

  5. akissa commented on Jun 19, 2016

    @akissa
    Contributor

    @damon-atkins You are wrong on the dependencies, it has a ton of dependencies and is not installable on CentOS 6 so i doubt it would be installable on CentOS5

  6. damon-atkins commented on Jun 19, 2016

    @damon-atkins
    ContributorAuthor

    Salt already provides extra rpm's for older OS... python-cryptography is included in CentOS 7 & Solaris 11 and others which want to support openstack.

    from http://pkgs.fedoraproject.org/cgit/rpms/python-cryptography.git/tree/python-cryptography.spec

    Requires:       openssl
    Requires:       python-idna >= 2.0
    Requires:       python-pyasn1 >= 0.1.8
    Requires:       python-six >= 1.4.1
    Requires:       python-cffi >= 1.4.1
    Requires:       python-enum34
    Requires:       python-ipaddress
    
    %description -n python2-cryptography
    cryptography is a package designed to expose cryptographic primitives and
    recipes to Python developers.
    
    %if 0%{?with_python3}
    %package -n  python3-cryptography
    Group:          Development/Libraries
    Summary:        PyCA's cryptography library
    %{?python_provide:%python_provide python3-cryptography}
    
    Requires:       openssl
    Requires:       python3-idna >= 2.0
    Requires:       python3-pyasn1 >= 0.1.8
    Requires:       python3-six >= 1.4.1
    Requires:       python3-cffi >= 1.4.1
    
  7. akissa commented on Jun 20, 2016

    @akissa
    Contributor

    @damon-atkins I cannot find any python-cryptography rpms provided by salt here https://repo.saltstack.com/yum/redhat/6.8/x86_64/2016.3/ could you be so kind to point to where they are located ?

  8. damon-atkins commented on Jun 20, 2016

    @damon-atkins
    ContributorAuthor

    That would be upto the salt stack staff to do if and when they decided to head in the same direction as open stack. There is no point installing it as salt currently does not use it.

  9. akissa commented on Jun 20, 2016

    @akissa
    Contributor

    Goes back to the point i am making.

  10. lorengordon commented on Jun 20, 2016

    @lorengordon
    Contributor

    I'll second the request to use the cryptography library. We have some experience on our team using the various crypto implementations in python and find cryptography to be quite an improvement in ease of use.

  11. damon-atkins commented on Dec 12, 2017

    @damon-atkins
    ContributorAuthor

    https://cryptography.io/en/latest/installation/

    Currently we test cryptography on Python 2.7, 3.4, 3.5, 3.6, and PyPy 5.3+ on these operating systems.

    • x86-64 CentOS 7.x
    • x86-64 FreeBSD 11
    • macOS 10.12 Sierra, 10.11 El Capitan
    • x86-64 Ubuntu 14.04, 16.04, and rolling
    • x86-64 Debian Wheezy (7.x), Jessie (8.x), Stretch (9.x), and Sid (unstable)
    • x86-64 Alpine (latest)
    • 32-bit and 64-bit Python on 64-bit Windows Server 2012

    Given cryptography is sponsored/needed by OpenStack the following is also supported
    From https://en.wikipedia.org/wiki/OpenStack#Distributions

    • Bright Computing
    • Canonical (Ubuntu)
    • HPE
    • IBM
    • Mirantis
    • Oracle OpenStack for Oracle Linux, or O3L
    • Oracle OpenStack for Oracle Solaris
    • Red Hat
    • Stratoscale
    • SUSE
    • VMware Integrated OpenStack (VIO)
  12. damon-atkins commented on Dec 12, 2017

    @damon-atkins
    ContributorAuthor

    Also suggest its benchmark. To ensure its faster or the same speed.

  13. stale commented on Apr 6, 2019

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

  14. 7 remaining items

  15. thatch45 commented on Jan 14, 2020

    @thatch45
    Contributor

    I should say that with the revival of M2Crypto, we will be recommending using it moving forward it is very fast and ties in cleanly.

  16. damon-atkins commented on Jan 17, 2020

    @damon-atkins
    ContributorAuthor
  17. damon-atkins commented on Jan 17, 2020

    @damon-atkins
    ContributorAuthor
  18. akissa commented on Jan 17, 2020

    @akissa
    Contributor

    I should say that with the revival of M2Crypto, we will be recommending using it moving forward it is very fast and ties in cleanly.

    +1 For continued use of M2Crypto

  19. twangboy commented on Aug 21, 2023

    @twangboy
    Contributor

    I believe Salt is now using the pycryptodomex library.

    pycryptodomex on all platforms: #56625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreFeature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions