Info for Developers

Table of contents

Verifying digital signatures

Overview

This shows how to verify the digital signature of the save file Stats.xml on a USB memory card.

Requirements

Instructions

Verify that the java runtime is installed by running the command line command:

java

If help text is displayed, then you have the Java runtime installed.

Plug in your USB memory card, then copy the ITG data file public key (http://www.roxorgames.com/wiki-files/public.rsa) to the In The Groove or In The Groove 2 directory on your card.

From the command line, change to the In The Groove or In The Groove 2 directory on your card.

Run the following command:

java VerifySignature public.rsa Stats.xml Stats.xml.sig

If Stats.xml and Stats.xml.sig are unmodified from when In The Groove wrote them, you will see:

The signature is valid.

If either file has been tampered with, you will see:

The signature is not valid.

Translate: