freeipa/ipapython
Rob Crittenden b7ca3d68c2 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.
2010-07-29 10:50:10 -04:00
..
test Clean up additional issues discovered with pylint and pychecker 2009-08-20 09:20:56 -04:00
__init__.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
certdb.py Handle CSRs whether they have NEW in the header or not 2010-05-03 17:58:08 -06:00
config.py Replace /etc/ipa/ipa.conf with /etc/ipa/default.conf 2009-12-01 09:11:23 -07:00
dnsclient.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
dogtag.py use NSS for SSL operations 2010-06-15 15:03:36 -04:00
entity.py Clean up some problems discovered with pylint and pychecker 2009-08-12 13:18:15 -04:00
ipa.conf Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
ipautil.py gpg2 requires --batch to use the --passphrase* arguments. 2010-05-27 11:02:39 -04:00
ipavalidate.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
Makefile Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
MANIFEST.in Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
nsslib.py Drop our own PKCS#10 ASN.1 decoder and use the one from python-nss 2010-07-29 10:50:10 -04:00
radius_util.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
README Replace /etc/ipa/ipa.conf with /etc/ipa/default.conf 2009-12-01 09:11:23 -07:00
setup.py.in Replace /etc/ipa/ipa.conf with /etc/ipa/default.conf 2009-12-01 09:11:23 -07:00
sysrestore.py Add simple test to see if client is already configured 2010-05-06 15:17:16 -06:00
version.py.in Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00

This is a set of libraries common to IPA clients and servers though mostly
geared currently towards command-line tools.

A brief overview:

config.py - identify the IPA server domain and realm. It uses dnsclient to
            try to detect this information first and will fall back to
            /etc/ipa/default.conf if that fails.
dnsclient.py - find IPA information via DNS

ipautil.py - helper functions

radius_util.py - helper functions for Radius

entity.py - entity is the main data type. User and Group extend this class
            (but don't add anything currently).

ipavalidate.py - basic data validation routines