From 8bf652f46f495f65fc792bed04e82cd89011361a Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sat, 18 Oct 2025 22:20:11 +0300 Subject: [PATCH] Revert "tools: getb64key - print the base64 version of a PEM public key file" Reason for revert: This has been unused since lineage-16.0 This reverts commit 0a656b6446808bfa501c0b9bbc1405868aacd2c4. Change-Id: Ib804efa52b1af444be1de68066be48c30ea4d22b --- build/tools/getb64key.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 build/tools/getb64key.py 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())