SHA-1 Redemption

SHA-1 Redemption

A hack workaround for signature errors in legacy Minecraft versions

by
209 Downloads
java-agentnilloaderutility
Rent Server with this Mod

Screenshots

But it is untampered...
You *could* just add the JVM argument...

About this Mod

Has this ever happened to you?

[SEVERE] [ForgeModLoader] The minecraft jar file:/home/una/.local/share/PrismLauncher/libraries/com/mojang/minecraft/1.6.4/minecraft-1.6.4-client.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[SEVERE] [ForgeModLoader] For your safety, FML will not launch minecraft. You will need to fetch a clean version of the minecraft jar file

[SEVERE] [ForgeModLoader] Technical information: The class net.minecraft.client.ClientBrandRetriever should have been associated with the minecraft jar file, and should have returned us a valid, intact minecraft jar location. This did not work. Either you have modified the minecraft jar file (if so run the forge installer again), or you are using a base editing jar that is changing this class (and likely others too). If you REALLY want to run minecraft in this configuration, add the flag -Dfml.ignoreInvalidMinecraftCertificates=true to the 'JVM settings' in your launcher profile.

No? How about this:

[SEVERE] [Forestry] railcraft.common.core.Railcraft failed validation. Halting runtime for security reasons. Please replace your mods with untampered versions from the official download sites.

Process exited with code 1.

This is caused by newer Java 8 releases dropping support for SHA-1 signatures, and these older versions rely on those for ill-considered and poorly implemented "tamper detection". (FML's reasoning is benign, at least — it wants to warn people who have installed jar mods that it won't work correctly.)

Rather than attempt to remove this detection and trigger god-knows-what kind of "anti-piracy" checks (Forestry for 1.2 is particularly well known for this — remember the original Technic Pack?), SHA-1 Redemption hacks into Java's guts to re-enable SHA-1 signature trust.

This will work on any version of Minecraft, or indeed any Java program. I've tagged support for the versions where this problem is most frequently seen.

Warning

SHA-1 is a broken algorithm that can no longer be trusted — this is why support was removed. Adding this nilmod to a Java program now means the signing infrastructure also cannot be trusted. This is fine in the context of Minecraft modpacks, where the systems we're bypassing are already horribly broken due to implementation mistakes.

However, in another context, where the signing is actually meaningful, this really should not be used. Consider editing your Java security policy to add a more targeted exception instead, or re-signing the affected jars if you can.

Available Versions

1.0 (Slim)release
MC 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.4nilloader
June 17, 2025
1.0 (Standalone)release
MC 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.4java-agent, nilloader
June 17, 2025

How to Install SHA-1 Redemption on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set java-agent Loader

In the panel under "Egg", select the java-agent loader and matching Minecraft version (1.6.4).

3

Install Mod

Open the mod browser in the dashboard and search for "SHA-1 Redemption". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

java-agentnilloader

Minecraft Versions

1.6.4, 1.6.2, 1.6.1 (+7 more)

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

SHA-1 Redemption server crashes on startup – what to do?

Most common cause: wrong java-agent version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.6.4). You can switch loaders with one click in the panel.

Is SHA-1 Redemption compatible with java-agent and nilloader?

SHA-1 Redemption officially supports java-agent, nilloader for Minecraft 1.6.4, 1.6.2, 1.6.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with SHA-1 Redemption – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if SHA-1 Redemption consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install SHA-1 Redemption with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Optional

Supported Versions

1.6.41.6.21.6.11.5.21.5.11.4.71.4.61.4.51.4.41.4.2