aboutsummaryrefslogtreecommitdiff
path: root/scripts/convert-https-to-http.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/convert-https-to-http.py')
-rw-r--r--scripts/convert-https-to-http.py39
1 files changed, 22 insertions, 17 deletions
diff --git a/scripts/convert-https-to-http.py b/scripts/convert-https-to-http.py
index 68c0725c..a6411e53 100644
--- a/scripts/convert-https-to-http.py
+++ b/scripts/convert-https-to-http.py
@@ -1,3 +1,19 @@
+# $Id$
+#
+# Copyright (C) 2010-2011 Internet Systems Consortium ("ISC")
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
+
"""
Conversion tool for flag day on which we rip TLS (HTTPS) support out
of rpkid and friends.
@@ -7,25 +23,14 @@ Usage: python convert-https-to-http.py [ { -c | --config } configfile ]
[ { -h | --help } ]
Default configuration file is rpki.conf, override with --config option.
-
-$Id$
-
-Copyright (C) 2010-2011 Internet Systems Consortium ("ISC")
-
-Permission to use, copy, modify, and distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
"""
-import getopt, sys, os, warnings, lxml.etree, rpki.config
+import getopt
+import sys
+import os
+import warnings
+import lxml.etree
+import rpki.config
cfg_file = "rpki.conf"
entitydb_dir = "entitydb"