feat: add cert parsing script
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@
|
||||
.envrc
|
||||
.swc
|
||||
node_modules
|
||||
.ca-cert*
|
||||
ca-cert*
|
||||
|
||||
dist
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
from pathlib import Path
|
||||
import json
|
||||
|
||||
cert = Path("./ca-cert").read_text()
|
||||
|
||||
|
||||
cert_json = json.dumps({"cert": cert})
|
||||
|
||||
Path("./ca-cert.json").write_text(cert_json)
|
||||
Reference in New Issue
Block a user