Skip to content

Instantly share code, notes, and snippets.

View aminul-technext's full-sized avatar

Md. Aminul Islam Bhiuyan aminul-technext

View GitHub Profile
@aminul-technext
aminul-technext / ChangePassword.java
Created February 12, 2016 09:18 — forked from zach-klippenstein/ChangePassword.java
The keystore password on Java keystore files is utterly pointless. You can reset it without knowing it, as shown by this code. Note that private keys are still secure, as far as I know. The JKS implementation is copyright Casey Marshall ([email protected]), and the original source is available at http://metastatic.org/source/JKS.java. I've in…
import java.util.*;
import java.io.*;
import java.security.*;
public class ChangePassword
{
private final static JKS j = new JKS();
public static void main(String[] args) throws Exception
{