Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aws-cryptographic-material-providers
Advanced tools
AWS Cryptographic Material Providers Library for Python
#################################################### aws-cryptographic-materials-providers-library-python ####################################################
.. image:: https://github.com/aws/aws-cryptographic-material-providers-library/actions/workflows/push.yml/badge.svg :target: https://github.com/aws/aws-cryptographic-material-providers-library/actions/workflows/push.yml :alt: MPL-python-tests
.. image:: https://img.shields.io/badge/code_style-black-000000.svg :target: https://github.com/ambv/black :alt: Code style: black
.. image:: https://readthedocs.org/projects/aws-cryptographic-material-providers-library/badge/ :target: https://aws-cryptographic-material-providers-library.readthedocs.io/en/latest/ :alt: Documentation Status
These are the docs for the AWS Cryptographic Materials Providers Library for Python.
The latest full documentation can be found at Read the Docs
_.
Find us on GitHub
_.
Security
If you discover a potential security issue in this project
we ask that you notify AWS/Amazon Security via our
vulnerability reporting page
_.
Please do not create a public GitHub issue.
Getting Started
.. note::
If you have not already installed cryptography
, you might need to install additional prerequisites as
detailed in the cryptography installation guide
for your operating system.
.. code::
$ pip install aws-cryptographic-material-providers
The AWS Cryptographic Materials Providers Library (MPL) is available in multiple languages.
The concepts in the Python implementation of the MPL are the same as in other languages.
For more information on concepts in the MPL, see the README
_ for all languages.
Thread safety
The MaterialProviders
client and all provided CryptoMaterialsManagers
(CMMs) are thread safe.
But keyrings that call AWS Key Management Service (KMS) and CMMs that use keyrings that call KMS MUST not be shared between threads, for reasons outlined in the boto3 docs
_.
(Keyrings that call KMS are identified by the string Kms
in their name. ex. AwsKmsKeyring
, AwsKmsMrkDiscoveryMultiKeyring
, etc.)
Finally, while the provided implementations of ICryptographicMaterialsCache
are thread-safe,
there is currently no thread-safe keyring implementation that supports using a cache.
.. _cryptography: https://cryptography.io/en/latest/ .. _cryptography installation guide: https://cryptography.io/en/latest/installation/ .. _Read the Docs: https://aws-cryptographic-material-providers-library.readthedocs.io/en/latest/ .. _GitHub: https://github.com/aws/aws-cryptographic-material-providers-library .. _vulnerability reporting page : http://aws.amazon.com/security/vulnerability-reporting/ .. _the boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/resources.html#multithreading-or-multiprocessing-with-resources .. _README: https://github.com/aws/aws-cryptographic-material-providers-library/blob/main/README.md
FAQs
AWS Cryptographic Material Providers Library for Python
We found that aws-cryptographic-material-providers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.