-
osm0sis authored
- `!= remain` shouldn't indicate "not signed", it should indicate a read error as with `!= hdr.length` - attempt to catch unsigned images at signature read, before they make it to `BootSignature bootsig = new BootSignature(signature);` and result in the following: java.io.IOException: unexpected end-of-contents marker at org.bouncycastle.asn1.ASN1InputStream.readObject(Unknown Source:14) at com.topjohnwu.signing.SignBoot$BootSignature.<init>(SignBoot.java:230) at com.topjohnwu.signing.SignBoot.verifySignature(SignBoot.java:139) at com.topjohnwu.signing.BootSigner.main(BootSigner.java:15) at a.a.main(a.java:20)e7d66850
| Name |
Last commit
|
Last update |
|---|---|---|
| app | ||
| docs | ||
| gradle/wrapper | ||
| native | ||
| scripts | ||
| shared | ||
| signing | ||
| snet | ||
| stub | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| LICENSE | ||
| README.MD | ||
| build.gradle | ||
| build.py | ||
| config.prop.sample | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle |