[Cryptech-Commits] [user/ft/bootstrap] 04/06: make work with the cli-test user 'ct' too
git at cryptech.is
git at cryptech.is
Mon Aug 15 13:38:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
fredrik at thulin.net pushed a commit to branch master
in repository user/ft/bootstrap.
commit 71fd6d6b4e3dc9df0ba91bc11219c0fd68629154
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Thu Aug 11 11:27:22 2016 +0200
make work with the cli-test user 'ct' too
---
bin/cryptech_upload | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/cryptech_upload b/bin/cryptech_upload
index 680a0ac..3222e2e 100755
--- a/bin/cryptech_upload
+++ b/bin/cryptech_upload
@@ -77,7 +77,7 @@ def parse_args():
)
parser.add_argument("--username",
- choices = ("so", "wheel"),
+ choices = ("so", "wheel", "ct"),
default = "so",
help = "Username to use when logging into the HSM",
)
@@ -134,6 +134,8 @@ def _execute(dst, cmd):
pin = None
if args.username == 'wheel':
pin = wheel_pin
+ if args.username == 'ct':
+ pin = 'ct'
_write(dst, "\r")
prompt = _read(dst)
if prompt.endswith("Username: "):
More information about the Commits
mailing list