# README: Mod `.jar` Verification

[Github page: https://github.com/Stephen-Seo/TurnBasedMinecraftMod](https://github.com/Stephen-Seo/TurnBasedMinecraftMod)

## Missing Old Versions?

Note that this website had to be restored from backups at one point.
Some old versions may be missing here, you may find them at the
CurseForge page for the mod:  
[https://www.curseforge.com/minecraft/mc-mods/turnbasedminecraft](https://www.curseforge.com/minecraft/mc-mods/turnbasedminecraft)

## Different Key?

Also, the gpg key changed, so the old key will no longer work with
the signatures listed on this index.

## How to Verify?

To verify with gpg:

Get the [public key](https://burnedkirby.com/tbmm_downloads/SSTBMM_key.asc) of
the person who signed it (me, Stephen Seo):


    :::bash
    curl -O https://seodisparate.com/static/tbm_releases/SSTBMM_key.asc

or

    :::bash
    curl -O https://burnedkirby.com/tbmm_downloads/SSTBMM_key.asc

Import the public key:

    :::bash
    gpg --import < SSTBMM_key.asc

Then verify the file (specifying the signature ".asc" file):

    :::bash
    gpg --verify TurnBasedMinecraft-0.1_forge-1.12.2-14.23.4.2705.jar.asc

(Assuming "TurnBasedMinecraft-0.1\_forge-1.12.2-14.23.4.2705.jar" exists)

If it prints out "Good Signature" then the file is correct.

## Windows?

These instructions were meant to be used in a Linux terminal. If you're using
Windows, you will need to install software that provides OpenPGP signature
verification. Usually, this means downloading the pgp/gpg software, importing my
public key, then verifying by right-clicking the signature file (.asc or .sig)
and clicking on "verify". (I use Linux as my daily driver, so these instructions
may be different depending on your system.)

## Key Has Expiration Date?

I will usually update the public key before the key expires. This means you
will need to fetch and load the public key again because I updated the
expiration date. If the key expires and it isn't updated on this site, send me
an email about it: stephen AT burnedkirby DOT com

## Reproducible Builds?

[Hashes for reproducible builds can be found here](https://github.com/Stephen-Seo/TurnBasedMinecraftMod/blob/master/Reproducibility.md)
