Searched refs:key_file (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.4.0/examples/protocols/mqtt/ssl_ds/ |
D | configure_ds.py | 58 key_file = open(key_file_path, 'rb') 59 key = key_file.read() 60 key_file.close() 252 with open(hmac_key_file, 'wb') as key_file: 253 key_file.write(new_hmac_key) 287 with open(hmac_key_file, 'wb') as key_file: 288 key_file.write(hmac_key_read)
|
/hal_espressif-3.4.0/examples/system/ota/native_ota_example/ |
D | example_test.py | 92 key_file = os.path.join(ota_image_dir, 'server_key.pem') 93 create_file(key_file, server_key) 94 return server_file, key_file 121 server_file, key_file = get_ca_cert(ota_image_dir) 126 keyfile=key_file, 132 server_file, key_file = get_ca_cert(ota_image_dir) 133 …chunked_server = subprocess.Popen(['openssl', 's_server', '-WWW', '-key', key_file, '-cert', serve…
|
/hal_espressif-3.4.0/examples/system/ota/simple_ota_example/ |
D | example_test.py | 80 def start_https_server(ota_image_dir, server_ip, server_port, server_file=None, key_file=None): argument 89 if key_file is None: 90 key_file = os.path.join(ota_image_dir, 'server_key.pem') 98 keyfile=key_file, 384 key_file=os.path.join(cert_dir, 'ca_key.pem'))
|
/hal_espressif-3.4.0/examples/system/ota/advanced_https_ota/ |
D | example_test.py | 16 key_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_certs/server_key.pem') variable 65 keyfile=key_file, 72 …chunked_server = subprocess.Popen(['openssl', 's_server', '-WWW', '-key', key_file, '-cert', serve… 103 keyfile=key_file,
|
/hal_espressif-3.4.0/components/esptool_py/esptool/espsecure/ |
D | __init__.py | 1131 print("Writing %d random bits to key file %s" % (args.keylen, args.key_file.name)) 1132 args.key_file.write(os.urandom(args.keylen // 8))
|