OpenApi-5p / 5paisa-java

11 stars 13 forks source link

Issues identified and fixed with 5Paisa API #2

Closed pavandv16 closed 2 years ago

pavandv16 commented 3 years ago

Identified the root cause and fixed the issue AES.encrypt(data) is using the hardcoded encryption key by creating a new AppConfig object

Resolution: We should either use the encryption key from AppConfig object by passing an additional parameter or Need to configure the encrypted credentials in Property.java and remove the three AES.encript(propertries.password) from callLogin(-,-,-,-) of APICalls.java