To remove the dependency on the zip command and implement encryption of zip files through code
Solution Description
To solve the problem by introducing pyminizip in the obdiag code, when collecting information remotely, use tar to compress the data. Once the compressed file is transferred back to the obdiag machine, use pyminizip to change the compression format and simultaneously handle the encryption needs.
Summary
To remove the dependency on the zip command and implement encryption of zip files through code
Solution Description
To solve the problem by introducing pyminizip in the obdiag code, when collecting information remotely, use tar to compress the data. Once the compressed file is transferred back to the obdiag machine, use pyminizip to change the compression format and simultaneously handle the encryption needs.