aboutsummaryrefslogtreecommitdiff
path: root/scripts/irdb.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-10-06 18:13:43 +0000
committerRob Austein <sra@hactrn.net>2007-10-06 18:13:43 +0000
commit258948849c072360876d02c1300853c293c31ab3 (patch)
tree054bf628aed985f05865b0a297b53b019f15324d /scripts/irdb.py
parente364ef51ed453b0d438ed5a5453179d552c298a1 (diff)
Consolidate and debug PKCS #10 code.
svn path=/pow/POW-0.7/lib/pkix.py; revision=1104
Diffstat (limited to 'scripts/irdb.py')
-rwxr-xr-xscripts/irdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/irdb.py b/scripts/irdb.py
index be191d75..4518df10 100755
--- a/scripts/irdb.py
+++ b/scripts/irdb.py
@@ -59,10 +59,10 @@ db = MySQLdb.connect(user = cfg.get(cfg_section, "sql-username"),
cur = db.cursor()
cms_ta = rpki.x509.X509(Auto_file = cfg.get(cfg_section, "cms-ta"))
-cms_key = rpki.x509.RSA_Keypair(Auto_file = cfg.get(cfg_section, "cms-key"))
+cms_key = rpki.x509.RSA(Auto_file = cfg.get(cfg_section, "cms-key"))
cms_certs = rpki.x509.X509_chain(Auto_files = cfg.multiget(cfg_section, "cms-cert"))
-rpki.https.server(privateKey = rpki.x509.RSA_Keypair(Auto_file = cfg.get(cfg_section, "https-key")),
+rpki.https.server(privateKey = rpki.x509.RSA(Auto_file = cfg.get(cfg_section, "https-key")),
certChain = rpki.x509.X509_chain(Auto_files = cfg.multiget(cfg_section, "https-cert")),
host = cfg.get(cfg_section, "https-host"),
port = int(cfg.get(cfg_section, "https-port")),