MCPcopy Index your code
hub / github.com/zappa/Zappa / parse_account_key

Function parse_account_key

zappa/letsencrypt.py:155–167  ·  view source on GitHub ↗

Parse account key to get public key

()

Source from the content-addressed store, hash-verified

153
154
155def parse_account_key():
156 """Parse account key to get public key"""
157 LOGGER.info("Parsing account key...")
158 cmd = [
159 "openssl",
160 "rsa",
161 "-in",
162 os.path.join(gettempdir(), "account.key"),
163 "-noout",
164 "-text",
165 ]
166 with open(os.devnull, "wb") as devnull:
167 return subprocess.check_output(cmd, stderr=devnull)
168
169
170def parse_csr():

Callers 3

get_certFunction · 0.85
_send_signed_requestFunction · 0.85

Calls 1

gettempdirFunction · 0.85

Tested by 1