mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:52:02 +02:00
Added commented import statements for pending trustify package
This commit is contained in:
@@ -4,15 +4,22 @@ from chocolate_protocol_pb2 import chocolatemessage
|
|||||||
import M2Crypto
|
import M2Crypto
|
||||||
import urllib2, os, grp, pwd, sys, time, random, sys, hashlib, subprocess
|
import urllib2, os, grp, pwd, sys, time, random, sys, hashlib, subprocess
|
||||||
import dialog, getopt
|
import dialog, getopt
|
||||||
|
|
||||||
import sni_challenge
|
import sni_challenge
|
||||||
import configurator
|
import configurator
|
||||||
|
#from trustify import sni_challenge
|
||||||
|
#from trustify import configurator
|
||||||
|
|
||||||
# It is OK to use the upstream M2Crypto here instead of our modified
|
# It is OK to use the upstream M2Crypto here instead of our modified
|
||||||
# version.
|
# version.
|
||||||
|
|
||||||
# bits of hashcash to generate
|
# bits of hashcash to generate
|
||||||
from CONFIG import difficulty
|
from CONFIG import difficulty
|
||||||
|
#from trustify.CONFIG import difficulty
|
||||||
|
|
||||||
#Trustify certificate and chain files
|
#Trustify certificate and chain files
|
||||||
from CONFIG import cert_file, chain_file
|
from CONFIG import cert_file, chain_file
|
||||||
|
#from trustify.CONFIG import cert_file, chain_file
|
||||||
|
|
||||||
def sha256(m):
|
def sha256(m):
|
||||||
return hashlib.sha256(m).hexdigest()
|
return hashlib.sha256(m).hexdigest()
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import sys
|
|||||||
import socket
|
import socket
|
||||||
|
|
||||||
from CONFIG import SERVER_ROOT
|
from CONFIG import SERVER_ROOT
|
||||||
|
#from trustify.CONFIG import SERVER_ROOT
|
||||||
|
|
||||||
class VH(object):
|
class VH(object):
|
||||||
def __init__(self, vh_path, vh_addrs):
|
def __init__(self, vh_path, vh_addrs):
|
||||||
|
|||||||
@@ -9,11 +9,19 @@ from shutil import move
|
|||||||
from os import remove, close, path
|
from os import remove, close, path
|
||||||
import binascii
|
import binascii
|
||||||
import augeas
|
import augeas
|
||||||
|
|
||||||
import configurator
|
import configurator
|
||||||
|
#from trustify import configurator
|
||||||
|
|
||||||
from CONFIG import CONFIG_DIR, WORK_DIR, SERVER_ROOT
|
from CONFIG import CONFIG_DIR, WORK_DIR, SERVER_ROOT
|
||||||
from CONFIG import CHOC_CERT_CONF, OPTIONS_SSL_CONF, APACHE_CHALLENGE_CONF
|
from CONFIG import CHOC_CERT_CONF, OPTIONS_SSL_CONF, APACHE_CHALLENGE_CONF
|
||||||
from CONFIG import S_SIZE, NONCE_SIZE
|
from CONFIG import S_SIZE, NONCE_SIZE
|
||||||
|
#Once directory changes to trustify and becomes package
|
||||||
|
#from trustify.CONFIG import CONFIG_DIR, WORK_DIR, SERVER_ROOT
|
||||||
|
#from trustify.CONFIG import CHOC_CERT_CONF, OPTIONS_SSL_CONF
|
||||||
|
#from trustify.CONFIG import APACHE_CHALLENGE_CONF
|
||||||
|
#from trustify.CONFIG import S_SIZE, NONCE_SIZE
|
||||||
|
|
||||||
|
|
||||||
def getChocCertFile(nonce):
|
def getChocCertFile(nonce):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user