Open IxidorZZ opened 5 years ago
When you pasted in "python3 update_verifier.py lineageos4microg_pubkey /path/to/zip" did you replace "path/to/zip/" with the path to the actual zip file?
I was also experiencing the same issue and couldn't figure it out. For me the issue was I was using the sha256sum zip from the website to check with the verifier script.
Once I downloaded the actual ROM (just the .zip not sha256sum or md5) I ran the script once again:
python3 update_verifier.py lineageos4microg_pubkey Users/Me/the/path/to/lineage-xx.x-xxxxxxxx-microG-xxx.zip
and got another error:
FileNotFoundError: [Errno 2] No such file or directory: 'lineagos4microg_pubkey'
So I just typed the whole path to "lineagos4microg_pubkey" (even though I was running the script from it's same directory).
verified successfully
Hope that helps.
Hello community, I am completely new to Python and I am trying to check the signature for the ZIP on Windows 10 using the command line. Hopefully someone can give me a hint how to solve my problem. When applying the second line ("python3 update_verifier.py lineageos4microg_pubkey /path/to/zip"), I received the following error in the command line: "AssertionError: Footer has wrong magic".
The input of the command line looks the following: C:\Windows\System32>H:\Programme\sonst\Python\python.exe H:\Programme\sonst\Python\Smartphone\LineageOS_microG\Python\update_verifier.py H:\Programme\sonst\Python\Smartphone\LineageOS_microG\Python\update_verifier-master\lineageos4microg_pubkey H:\Programme\sonst\Python\Smartphone\LineageOS_microG\Python\update_verifier-master.zip
I acted by dragging and dropping the components into the command line, which worked for the first line of the description (Usage, "pip3 install -r requirements.txt").
Python has the version 3.7.3 and I use Windows 10, 64 bit.
Thank you very much in advance.
Kind regards Tobias