diff options
author | Rob Austein <sra@hactrn.net> | 2012-07-03 22:27:06 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-07-03 22:27:06 +0000 |
commit | 95159437d12e7ecae9a9a9367dca160c095640d0 (patch) | |
tree | bef8fad5ab4d2d11ce8043f36f56bbcf50002585 /rpkid/tests/yamltest.py | |
parent | 20cf916f26538359a1b947bf8050f85024d39428 (diff) |
Add TAL support.
svn path=/trunk/; revision=4566
Diffstat (limited to 'rpkid/tests/yamltest.py')
-rw-r--r-- | rpkid/tests/yamltest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rpkid/tests/yamltest.py b/rpkid/tests/yamltest.py index acac876b..b946eebe 100644 --- a/rpkid/tests/yamltest.py +++ b/rpkid/tests/yamltest.py @@ -609,6 +609,11 @@ try: f.write(root_key.get_DER()) f.close() + f = open(os.path.join(test_dir, "root.tal"), "w") + f.write(root_uri + "root.cer\n") + f.write(root_key.get_RSApublic().get_Base64()) + f.close() + # From here on we need to pay attention to initialization order. We # used to do all the pre-configure_daemons stuff before running any # of the daemons, but that doesn't work right in hosted cases, so we |