diff options
author | Rob Austein <sra@hactrn.net> | 2007-10-17 22:27:49 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-10-17 22:27:49 +0000 |
commit | 58055d39a4a57e937aa761f06faee79e3ceeb0c0 (patch) | |
tree | b9d4cb4ae2bb35bcdb0b0442f3d349a6643a75a2 /scripts | |
parent | ee157f82d325b575c359da7e135d1ccc0cad44da (diff) |
More missing SQL fields
svn path=/docs/rpki-db-schema.pdf; revision=1169
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/README | 2 | ||||
-rw-r--r-- | scripts/rpki/left_right.py | 2 | ||||
-rw-r--r-- | scripts/rpki/sql.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/README b/scripts/README index 2687d3c8..cc43c207 100644 --- a/scripts/README +++ b/scripts/README @@ -52,7 +52,7 @@ To do list: everything that might need to be done figuring out whether to regenerate or remove expired certs requires - some of the same data as crl generatoin + some of the same data as crl generation - tiny up-down root server -- no sql or left-right needed, just config file, http server, static root cert and key. in theory this should diff --git a/scripts/rpki/left_right.py b/scripts/rpki/left_right.py index e4756a51..d39c2e41 100644 --- a/scripts/rpki/left_right.py +++ b/scripts/rpki/left_right.py @@ -280,7 +280,7 @@ class bsc_elt(data_elt): elements = ('signing_cert',) booleans = ("generate_keypair", "clear_signing_certs") - sql_template = rpki.sql.template("bsc", "bsc_id", "self_id", "public_key", "private_key_id") + sql_template = rpki.sql.template("bsc", "bsc_id", "self_id", "public_key", "private_key_id", "hash_alg") pkcs10_cert_request = None public_key = None diff --git a/scripts/rpki/sql.py b/scripts/rpki/sql.py index 9b78decc..26eaf07c 100644 --- a/scripts/rpki/sql.py +++ b/scripts/rpki/sql.py @@ -409,7 +409,7 @@ class ca_detail_obj(sql_persistant): class child_cert_obj(sql_persistant): """Certificate that has been issued to a child.""" - sql_template = template("child_cert", "child_cert_id", "cert", "child_id", "ca_detail_id") + sql_template = template("child_cert", "child_cert_id", "cert", "child_id", "ca_detail_id", "revoked") def __init__(self, child_id = None, ca_detail_id = None, cert = None): """Initialize a child_cert_obj.""" |