From 8463f5f791ced714d64ff891dc015666a971454b Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Mon, 3 Apr 2017 12:56:48 -0400 Subject: Add python-cryptography crypto provider The python-cryptography provider is added. It will use AES mechanisms by default. The eventual goal is to use this provider by default, and to obsolete the NSS CryptoProvider. Added some methods to determine which crypto keyset levels are supported by the crypto provider. Change-Id: Ifd47f0de765a9f0d157e8be678d5d06437bda819 --- base/common/python/pki/util.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'base/common/python/pki/util.py') diff --git a/base/common/python/pki/util.py b/base/common/python/pki/util.py index 0765bcf06..0de13fd93 100644 --- a/base/common/python/pki/util.py +++ b/base/common/python/pki/util.py @@ -34,8 +34,10 @@ except ImportError: import subprocess -DEFAULT_PKI_ENV_LIST = ['/usr/share/pki/etc/pki.conf', - '/etc/pki/pki.conf'] +DEFAULT_PKI_ENV_LIST = [ + '/usr/share/pki/etc/pki.conf', + '/etc/pki/pki.conf', +] def copy(source, dest): -- cgit