An open-source, basic functional KeyStore program written in Java. This repository includes tools for signing and authenticating files or data using cryptographic methods and managing Java JAR file signing via GUI.
- Key Pair Generation: Generates RSA key pairs (public/private keys).
- Data Signing: Signs data using private keys.
- Signature Verification: Verifies data integrity and authenticity using public keys.
- Graphical Interface: User-friendly GUI built with Swing for signing JAR files.
- Integration with KeyTool and JarSigner: Provides an interface to Java's
keytool
andjarsigner
commands. - Input Fields:
- JAR File Path
- Keystore Name
- Keystore Password
- Alias and Signature Info
- Ease of Use: Allows users to manage and sign JAR files with minimal command-line interaction.
- Java Development Kit (JDK) installed (version 8 or higher).
- Basic knowledge of Java Keystores and cryptographic concepts.
- Clone the repository:
git clone https://github.com/valkarinc/keystore.git cd keystore
- Compile the Java files:
javac ExecutableSigner.java JarSignerGUI.java
- Run the GUI application:
java JarSignerGUI
- Launch the
JarSignerGUI
application. - Fill in the required fields (JAR path, keystore name, password, etc.).
- Click the appropriate button to sign the JAR file or manage the keystore.
- Utilize the
ExecutableSigner
class to:- Generate key pairs.
- Sign data programmatically.
- Verify data signatures in your Java applications.
KeyPair keyPair = ExecutableSigner.generateKeyPair();
byte[] signature = ExecutableSigner.signData(data, privateKey);
boolean isVerified = ExecutableSigner.verifySignature(data, signature, publicKey);
Contributions are welcome! Feel free to submit a pull request or report issues.
This project is licensed under the MIT License. See the LICENSE
file for details.
Thank you for using the KeyStore Program! If you have any questions or feedback, feel free to reach out.