Trying to write a bash script that takes a pkg.file and creates a temporary folder and places it inside… The goal is to then be able to open it and launch the installer of a antivirus software. The problem is the file integrity is destroyed and I believe it has to do with SHA1 encryption. Any Ideas on how to maybe go about decrypting a pkg.file from SHA1..?
I haven’t really tried anything to go about decrypting the Pkg.file. Due to not knowing much about it… All I’ve done is try different install paths. (I can download and upload the pkg.file manually through a USB flash drive, so the Pkg.File does not start corrupted). The expected outcome is the temporary folder is created and pops up on the Mac’s desktop and the user simply opens the pkg. and goes through the installation process, inserts the token and then all is well.
Noah Seiter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.