py-hsm | Python module for accessing PKCS # 11 compliant HSMs

 by   bentonstark Python Version: 2.5.0 License: Non-SPDX

kandi X-RAY | py-hsm Summary

kandi X-RAY | py-hsm Summary

py-hsm is a Python library typically used in Financial Services, Banks, Payments applications. py-hsm has no vulnerabilities, it has build file available and it has low support. However py-hsm has 2 bugs and it has a Non-SPDX License. You can install using 'pip install py-hsm' or download it from GitHub, PyPI.

The py-hsm module enables Python users simplified access to any PKCS#11 standards compliant Hardware Security Module (HSM) or software API. The PKCS#11 API is a vendor-neutral, open standards API governed by the OASIS standards body. It provides a standard programmatic interface to Hardware Security Modules (HSMs) and HSM PaaS solutions such as Amazon's CloudHSM.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              py-hsm has a low active ecosystem.
              It has 39 star(s) with 9 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 9 have been closed. On average issues are closed in 77 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of py-hsm is 2.5.0

            kandi-Quality Quality

              py-hsm has 2 bugs (0 blocker, 0 critical, 2 major, 0 minor) and 123 code smells.

            kandi-Security Security

              py-hsm has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              py-hsm code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              py-hsm has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              py-hsm releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              py-hsm saves you 1390 person hours of effort in developing the same functionality from scratch.
              It has 3110 lines of code, 104 functions and 27 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed py-hsm and discovered the below as its top functions. This is intended to give you an instant insight into py-hsm implemented functionality, and help decide if they suit your requirements.
            • Creates an RSA key pair .
            • Initialize the attributes .
            • Print an object .
            • Convert hexadecimal to bytes
            • Convert bytes to str
            • Convert bytes to hex
            • Convert a string to bytes
            • Return a string representation of the device .
            • Command - line entry point .
            • Return the details of this mechanism .
            Get all kandi verified functions for this library.

            py-hsm Key Features

            No Key Features are available at this moment for py-hsm.

            py-hsm Examples and Code Snippets

            py-hsm,Usage Examples,Unwrap Key (AES wrapped with AES)
            Pythondot img1Lines of Code : 23dot img1License : Non-SPDX (NOASSERTION)
            copy iconCopy
            from pyhsm.hsmclient import HsmClient
            from pyhsm.hsmenums import HsmMech
            from pyhsm.convert import bytes_to_hex
            
            with HsmClient(slot=1, pin="partition_password", pkcs11_lib="/usr/lib/vendorp11.so") as c:
              hkey = c.unwrap_secret_key(wrap_key_handle=w  
            py-hsm,Usage Examples,Create EC Key Pair
            Pythondot img2Lines of Code : 19dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            from pyhsm.hsmclient import HsmClient
            from pyhsm.convert import hex_to_bytes
            from pyhsm.eccurveoids import EcCurveOids
            
            with HsmClient(slot=1, pin="partition_password", pkcs11_lib="/usr/lib/vendorp11.so") as c:
              # NIST P-256
              key_handles = c.create  
            py-hsm,Usage Examples,Create AES Key
            Pythondot img3Lines of Code : 18dot img3License : Non-SPDX (NOASSERTION)
            copy iconCopy
            from pyhsm.hsmclient import HsmClient
            from pyhsm.hsmenums import HsmSymKeyGen
            
            with HsmClient(slot=1, pin="partition_password", pkcs11_lib="/usr/lib/vendorp11.so") as c:
              key_handle = c.create_secret_key(key_label="my_aes_key",
                                   

            Community Discussions

            No Community Discussions are available at this moment for py-hsm.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install py-hsm

            pyenv and optionally virtualenv can be used to create an isolated Python 3.x environment if 3.x is not available on your system. If there is enough demand requests, future versions may be back support Python 2.7.x.
            Python 3.x
            if Python 3.3 or less then enum34 is required ($ pip install enum34)
            libhsm.so https://github.com/bentonstark/libhsm

            Support

            The py-hsm module has been tested to work with the following HSM devices and software based testbed HSMs.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install py-hsm

          • CLONE
          • HTTPS

            https://github.com/bentonstark/py-hsm.git

          • CLI

            gh repo clone bentonstark/py-hsm

          • sshUrl

            git@github.com:bentonstark/py-hsm.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link