Skip to content

Commit 868e29d

Browse files
committed
replace the used certificate with new keys with a stronger encryption
1 parent 6e0a50d commit 868e29d

File tree

12 files changed

+10
-431
lines changed

12 files changed

+10
-431
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ This allows the client to trust all the SSL traffic coming from the proxy, which
8989
**IT IS CRITICAL THAT YOU DO NOT INSTALL THIS CERTIFICATE AUTHORITY ON A CLIENT/BROWSER THAT IS USED FOR ANYTHING OTHER THAN TESTING.**
9090

9191
It is recommended to use `-Djdk.tls.namedGroups="secp256r1, secp384r1, ffdhe2048, ffdhe3072"` java arguments to address some issues still existing in some JDK implementations.
92+
93+
Please note that in V2.5.x the certificate used by this proxy is upgraded.

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ group = "website.magyar"
3232
archivesBaseName = "mitm-java-proxy"
3333
ext.componentDescription = "MITM Java Proxy"
3434

35-
ext.wilmaVersion=2.1
35+
ext.wilmaVersion=2.5
3636
ext.myBuildNumber='SNAPSHOT'
3737
if ( hasProperty('buildNumber') ) {
3838
myBuildNumber = "${project.ext.buildNumber}"
3939
}
40-
version = "$wilmaVersion" + ".25." + "${project.ext.myBuildNumber}"
40+
version = "$wilmaVersion" + ".26." + "${project.ext.myBuildNumber}"
4141
mainClassName = "website.magyar.mitm.standalone.StandaloneProxy"
4242

4343
def isSnapshot = project.version.contains('SNAPSHOT')
@@ -141,16 +141,16 @@ dependencies {
141141
implementation group: 'commons-io', name: 'commons-io', version: '2.11.0'
142142
implementation group: 'org.brotli', name: 'dec', version: '0.1.2'
143143
implementation group: 'org.apache.ant', name: 'ant', version:'1.10.12'
144-
implementation group: 'org.bouncycastle', name: 'bcpkix-jdk18on', version:'1.71' //this includes bcprov-jdk18on too
144+
implementation group: 'org.bouncycastle', name: 'bcpkix-jdk18on', version:'1.71.1' //this includes bcprov-jdk18on too
145145
implementation group: 'org.eclipse.jetty', name: 'jetty-io', version: '9.4.48.v20220622'
146146
implementation group: 'javax.servlet', name: 'servlet-api', version: '2.5'
147147
implementation group: 'dnsjava', name: 'dnsjava', version: '3.5.0'
148148
testImplementation group: 'junit', name: 'junit', version:'4.13.2'
149149
testImplementation group: 'com.google.guava', name: 'guava', version: '31.1-jre'
150150
testImplementation group: 'org.mockito', name: 'mockito-all', version:'1.10.19'
151-
testImplementation group: 'io.netty', name: 'netty-all', version: '4.1.78.Final'
151+
testImplementation group: 'io.netty', name: 'netty-all', version: '4.1.80.Final'
152152
testImplementation group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.4.48.v20220622'
153-
testImplementation group: 'org.springframework', name: 'spring-core', version: '5.3.21'
153+
testImplementation group: 'org.springframework', name: 'spring-core', version: '5.3.22'
154154
testImplementation group: 'com.nixxcode.jvmbrotli', name: 'jvmbrotli', version: '0.2.0'
155155
testImplementation group: 'com.nixxcode.jvmbrotli', name: 'jvmbrotli-win32-x86-amd64', version: '0.2.0'
156156
testImplementation group: 'com.nixxcode.jvmbrotli', name: 'jvmbrotli-linux-x86-amd64', version: '0.2.0'

config/backup/blank_crl.dec

-444 Bytes
Binary file not shown.

config/backup/blank_crl.pem

Lines changed: 0 additions & 12 deletions
This file was deleted.

config/backup/cybervillainsCA.cer

-665 Bytes
Binary file not shown.

config/backup/cybervillainsCA.jks

-2.1 KB
Binary file not shown.

config/backup/logback.xml

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/main/java/net/lightbody/bmp/proxy/selenium/CertificateCreator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class CertificateCreator {
4646
/**
4747
* The default sign algorithm for this package is SHA1 with RSA.
4848
*/
49-
public static final String SIGN_ALGO = "SHA1withRSA";
49+
public static final String SIGN_ALGO = "SHA256withRSA"; //was SHA1withRSA --hmm maybe SHA256WithRSAEncryption ???
5050
/**
5151
* X.509 OID for Subject Key Identifier Extension - Replaced when duplicating a cert.
5252
*/

0 commit comments

Comments
 (0)