From 46799a963afafc7df583e9eb722afb5204780134 Mon Sep 17 00:00:00 2001 From: James Kasten Date: Sun, 12 Aug 2012 16:45:57 -0400 Subject: [PATCH] Import SERVER_ROOT in client --- trustify/client/client.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/trustify/client/client.py b/trustify/client/client.py index d3e0bf671..86842b356 100644 --- a/trustify/client/client.py +++ b/trustify/client/client.py @@ -14,6 +14,7 @@ from trustify.protocol.chocolate_pb2 import chocolatemessage from trustify.client import sni_challenge from trustify.client import configurator from trustify.client.CONFIG import difficulty, cert_file, chain_file +from trustify.client.CONFIG import SERVER_ROOT # it's weird to point to chocolate servers via raw IPv6 addresses, and such # addresses can be %SCARY in some contexts, so out of paranoia let's disable @@ -203,12 +204,6 @@ def save_key_csr(key, csr): csr_f = open(csr_fn, 'w') csr_f.write(csr) csr_f.close() - if curses: - shower.add("Generating key:", key_fn) - shower.add("Creating CSR:", csr_fn) - else: - print "Generating key:", key_fn - print "Creating CSR:", csr_fn return key_fn, csr_fn