mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
Fix creds for encrypt_header.
This commit is contained in:
parent
20abad9e04
commit
1aed0263ae
@ -386,7 +386,7 @@ class FotaCheck:
|
|||||||
return fileid, fileurl, slaves, encslaves, s3_fileurl, s3_slaves
|
return fileid, fileurl, slaves, encslaves, s3_fileurl, s3_slaves
|
||||||
|
|
||||||
def do_encrypt_header(self, encslave, address):
|
def do_encrypt_header(self, encslave, address):
|
||||||
params = self.get_creds()
|
params = self.get_creds2()
|
||||||
params[b"address"] = bytes(address, "utf-8")
|
params[b"address"] = bytes(address, "utf-8")
|
||||||
url = "http://" + encslave + "/encrypt_header.php"
|
url = "http://" + encslave + "/encrypt_header.php"
|
||||||
req = self.sess.post(url, data=params, verify=False)
|
req = self.sess.post(url, data=params, verify=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user