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 0a656b6446.

Change-Id: Ib804efa52b1af444be1de68066be48c30ea4d22b
This commit is contained in:
Michael Bestas
2025-10-18 22:20:11 +03:00
committed by Zabuka_zuzu
parent fabd2451f0
commit 29a7d0058a

View File

@@ -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())