From b7ca3d68c28b54500a2f908c4e2e6c89b2433461 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 20 Jul 2010 14:00:43 -0400 Subject: Drop our own PKCS#10 ASN.1 decoder and use the one from python-nss This patch: - bumps up the minimum version of python-nss - will initialize NSS with nodb if a CSR is loaded and it isn't already init'd - will shutdown NSS if initialized in the RPC subsystem so we use right db - updated and added a few more tests Relying more on NSS introduces a bit of a problem. For NSS to work you need to have initialized a database (either a real one or no_db). But once you've initialized one and want to use another you have to close down the first one. I've added some code to nsslib.py to do just that. This could potentially have some bad side-effects at some point, it works ok now. --- ipa.spec.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ipa.spec.in') diff --git a/ipa.spec.in b/ipa.spec.in index 8bca7337f..0ccf7018f 100644 --- a/ipa.spec.in +++ b/ipa.spec.in @@ -176,7 +176,7 @@ Requires: python-kerberos >= 1.1-3 Requires: authconfig Requires: gnupg Requires: pyOpenSSL -Requires: python-nss >= 0.9 +Requires: python-nss >= 0.9-8 Requires: python-lxml %description python @@ -494,6 +494,9 @@ fi %endif %changelog +* Mon Jul 19 2010 Rob Crittenden - 1.99-25 +- Bump up minimum version of python-nss to pick up nss_is_initialize() API + * Thu Jun 24 2010 Adam Young - 1.99-24 - Removed python-asset based webui -- cgit