1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-11-09 22:06:47 +00:00

Fix creds for encrypt_header.

This commit is contained in:
Markus Birth 2018-01-12 02:36:04 +01:00
parent 20abad9e04
commit 1aed0263ae
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -386,7 +386,7 @@ class FotaCheck:
return fileid, fileurl, slaves, encslaves, s3_fileurl, s3_slaves
def do_encrypt_header(self, encslave, address):
params = self.get_creds()
params = self.get_creds2()
params[b"address"] = bytes(address, "utf-8")
url = "http://" + encslave + "/encrypt_header.php"
req = self.sess.post(url, data=params, verify=False)