summaryrefslogtreecommitdiffstats
path: root/build/tools/getb64key.py
diff options
context:
space:
mode:
Diffstat (limited to 'build/tools/getb64key.py')
-rwxr-xr-xbuild/tools/getb64key.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/build/tools/getb64key.py b/build/tools/getb64key.py
deleted file mode 100755
index 976a1576..00000000
--- a/build/tools/getb64key.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-
-from __future__ import print_function
-
-import base64
-import sys
-
-pkFile = open(sys.argv[1], 'rb').readlines()
-base64Key = ""
-inCert = False
-for line in pkFile:
- if line.startswith(b"-"):
- inCert = not inCert
- continue
-
- base64Key += line.strip()
-
-print(base64.b16encode(base64.b64decode(base64Key)).lower())