The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Use Bouncy Castle in extension

fa1ntStar | Last updated: Sep 08, 2022 02:45PM UTC

Hi I want to deveplop some function about crypto, so I want to use bouncycastle in my extension,but there were some errors about jce。 the details about my extension: gradle: implementation group: 'org.bouncycastle', name: 'bcprov-jdk18on', version: '1.71' my codes in extenson: Security.addProvider(new BouncyCastleProvider()); Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding","BC"); exception: java.lang.SecurityException: JCE cannot authenticate the provider BC file:/E:/SecurityTools/Burpsuite/burpsuite.jar has unsigned entries - chromium-linux64-87.0.4280.66.zip env: windows x64 java version "11.0.11" 2021-04-20 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode) I have test the code in a main function, it works well,but when the code in Burp Extension ,I'll get erros;

Ben, PortSwigger Agent | Last updated: Sep 09, 2022 12:58PM UTC