The pki.nssdb module has been modified to support operations without NSS database password.
Pushed to master under trivial rule. -- Endi S. Dewata
>From 2c4beb83a1dd772e02f5809e610319fcf1812034 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" <edew...@redhat.com> Date: Mon, 20 Mar 2017 01:28:05 +0100 Subject: [PATCH] Allowing pki pkcs12-import without NSS database password. The pki.nssdb module has been modified to support operations without NSS database password. --- base/common/python/pki/nssdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/common/python/pki/nssdb.py b/base/common/python/pki/nssdb.py index 430cacd83ee7eb6edd4f965e18d941ddb141251c..cad89081eee7fd4d34b5be6bddf3ddbc3b65bec5 100644 --- a/base/common/python/pki/nssdb.py +++ b/base/common/python/pki/nssdb.py @@ -123,7 +123,7 @@ class NSSDatabase(object): self.password_file = password_file else: - raise Exception('Missing NSS database password') + self.password_file = None if internal_password: # Store the specified internal token into password file. -- 2.9.3
_______________________________________________ Pki-devel mailing list Pki-devel@redhat.com https://www.redhat.com/mailman/listinfo/pki-devel