1
1
Fork
You've already forked minisign4j
0
A port of minisign to java via minisign-zig wasm to jvm bytecode compilation
  • Java 97.5%
  • Zig 2.5%
Find a file
2026年05月10日 12:03:58 +02:00
gradle build: prepare for publishing 2026年05月10日 11:49:36 +02:00
LICENSES docs: Add licensing information 2026年04月03日 15:52:45 +02:00
src feat!: Add full javadoc, remove lombok, and get the code ready for release in general 2026年05月10日 11:36:03 +02:00
.gitignore docs: Add licensing information 2026年04月03日 15:52:45 +02:00
build.gradle.kts build: fix maven publish issue 2026年05月10日 11:56:40 +02:00
build.zig feat!: ditch wasm implementation, manually port zig-minisign to java 2026年04月22日 23:15:39 +02:00
build.zig.zon feat!: ditch wasm implementation, manually port zig-minisign to java 2026年04月22日 23:15:39 +02:00
CHANGELOG.md ci: 1.0.0 2026年05月10日 11:51:19 +02:00
gradle.properties feat!: Add full javadoc, remove lombok, and get the code ready for release in general 2026年05月10日 11:36:03 +02:00
gradlew build: update gradle and dependencies 2026年05月10日 11:39:56 +02:00
gradlew.bat build: update gradle and dependencies 2026年05月10日 11:39:56 +02:00
LICENSE feat!: ditch wasm implementation, manually port zig-minisign to java 2026年04月22日 23:15:39 +02:00
README.MD docs: add maven central notice to readme 2026年05月10日 12:03:58 +02:00
REUSE.toml docs: Add licensing information 2026年04月03日 15:52:45 +02:00
settings.gradle.kts feat!: ditch wasm implementation, manually port zig-minisign to java 2026年04月22日 23:15:39 +02:00

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.