From 8a54a7616bf3496e1bab1bcd57c26ad52d031920 Mon Sep 17 00:00:00 2001 From: vladdd Date: Thu, 28 Feb 2013 09:40:59 -0500 Subject: [PATCH 1/4] Modify signercli.py to include the associated roles of each keyid listed from the keystore, and update test_signercli.py. Update signerlib.py to fix two incorrectly typed exception names. --- tuf/repo/signercli.py | 123 ++++++++++++++++++++++++++++++------ tuf/repo/signerlib.py | 4 +- tuf/tests/test_signercli.py | 123 ++++++++++++++++++++++++++++++++---- 3 files changed, 218 insertions(+), 32 deletions(-) diff --git a/tuf/repo/signercli.py b/tuf/repo/signercli.py index f3166f86..44f7639c 100755 --- a/tuf/repo/signercli.py +++ b/tuf/repo/signercli.py @@ -33,7 +33,7 @@ of the repository. For example, the repository owner wants to change the 'targets.txt' signing key. The owner would run 'signercli.py' to generate a new RSA key, add the new key to the configuration file created - by 'quickstart.py', and then run 'signercli' to update the metadata files. + by 'quickstart.py', and then run 'signercli.py' to update the metadata files. $ python signercli.py --