TWRP provides an option on boot for "Zip signature verification". Is that option part of Android ROM packaging and would LineageOS support it? For me, that option does
Checking for Digest file...
Skipping Digest check: no Digest file found
verifying zip signature...
Zip signature verification failed!
Error installing zip file '/data/lineageos_updates/lineage-nightly-n1awifi-signed.zip'
Updating partition details...
...done
I ask this because this ROM was download with the OTA update from LineageOS, and when it failed I download a new ROM from the website and it also failed.