HomeJavaModsView Jar Signing
View Jar Signing — screenshot 1

View Jar Signing

This mod enables the ability to view JAR signing info in NeoForge built-in mod list screen.

It is highly recommended that you have some understanding of JAR signing related details, and its caveats in a modding environment.

If you have doubts about a particular signed mod, please verify it using jarsigner beforehand. This mod only exposes the result produced by NeoForge and does not perform any JAR verification.

How to read its output

Only signed mod will have signing information displayed.

Status: self-explanatory [see note]

Leaf signer fingerprint: SHA256 fingerprint for the first signer's leaf certificate.

Signer(s) Format: <CodeSignerN>.<CertificateN> [Type]: <Signer Info> (CertAlg)

* will prefixed for each leaf signer's certificate, except for JAR that has only one signer certificate.

By default, only leaf certificate will be shown. Configuration is provided to enable listing of all certificate chain.

Note

This mod mixin and uses some internal NeoForge and SecureJarHandler APIs to obtain, display the signers' certificate details. Therefore, stability of this mod is not guaranteed.

Background

The display is mostly based on NeoForge's ModListScreen.


It is first introduced in 1.16 but disabled in mod list screen due to it not perform actual checks, shortly after implemented. https://github.com/MinecraftForge/MinecraftForge/issues/7500

In 1.17 onwards, verification of .class is performed. https://github.com/neoforged/NeoForge/blob/1.17.x/fmlloader/src/main/java/net/minecraftforge/fml/loading/moddiscovery/AbstractJarFileLocator.java#L57

In 1.21, it remains unchanged, although it has moved to a different package. https://github.com/neoforged/FancyModLoader/blob/1.21.1/loader/src/main/java/net/neoforged/fml/loading/moddiscovery/ModFile.java#L152-L153

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more