A port of minisign to java via minisign-zig wasm to jvm bytecode compilation
- Java 97.5%
- Zig 2.5%
Minisign4J
A Java port of zig-minisign.
Example usage
try{varzigKey=PublicKey.decodeFromBase64("RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U");varsignature=Signature.fromFile(Paths.get("zig_0.16.0.zip.minisig"));zigKey.verifyFile(Paths.get("zig_0.16.0.zip"),signature,null);// TODO verify trusted comment (not standardized, case-by-case)vartrustedComment=signature.getTrustedComment();//...}catch(MinisignExceptione){e.printStackTrace();System.err.println("Failed to verify signature!");}catch(IOExceptione){e.printStackTrace();System.err.println("Failed to read file!");}For additional documentation on minisign itself, see: https://github.com/jedisct1/zig-minisign
Maven
This library is available on Maven Central, under the com.falsepattern:minisign4j artifact name.
Strict No LLM / No AI Policy
No LLMs for issues.
No LLMs for patches / pull requests.
No LLMs for comments on the bug tracker, including translation.
English is encouraged, but not required. You are welcome to post in your native language and rely on others to have their own translation tools of choice to interpret your words.