Skip to content

Commit b4d617e

Browse files
committed
added salt in rsakeypair dto id
1 parent 43f9447 commit b4d617e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/dao/src/main/java/com/akto/dto/Config.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,12 +953,12 @@ public static class RSAKeyPairConfig extends Config {
953953

954954
public RSAKeyPairConfig() {
955955
this.configType = ConfigType.RSA_KP;
956-
this.id = ConfigType.RSA_KP.name();
956+
this.id = ConfigType.RSA_KP.name() + CONFIG_SALT;
957957
}
958958

959959
public RSAKeyPairConfig(String privateKey, String publicKey) {
960960
this.configType = ConfigType.RSA_KP;
961-
this.id = ConfigType.RSA_KP.name();
961+
this.id = ConfigType.RSA_KP.name() + CONFIG_SALT;
962962
this.privateKey = privateKey;
963963
this.publicKey = publicKey;
964964
}

0 commit comments

Comments
 (0)