diff --git a/.gradle/7.5.1/executionHistory/executionHistory.bin b/.gradle/7.5.1/executionHistory/executionHistory.bin
index 02d34c5..fe851b3 100644
Binary files a/.gradle/7.5.1/executionHistory/executionHistory.bin and b/.gradle/7.5.1/executionHistory/executionHistory.bin differ
diff --git a/.gradle/7.5.1/fileHashes/fileHashes.bin b/.gradle/7.5.1/fileHashes/fileHashes.bin
index 5ef81da..c6f3765 100644
Binary files a/.gradle/7.5.1/fileHashes/fileHashes.bin and b/.gradle/7.5.1/fileHashes/fileHashes.bin differ
diff --git a/.gradle/file-system.probe b/.gradle/file-system.probe
index fe31f70..ef2aedb 100644
Binary files a/.gradle/file-system.probe and b/.gradle/file-system.probe differ
diff --git a/README.md b/README.md
index 747b4ce..5a13f63 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Glider
-**v1.0.4**
+**v1.0.5**
This is a Java Based open source project useful to manage the creation and the storage of your passwords
with the **Glider** ecosystem
@@ -36,7 +36,7 @@ Add the JitPack repository to your build file
```gradle
dependencies {
- implementation 'com.github.N7ghtm4r3:Glider:1.0.4'
+ implementation 'com.github.N7ghtm4r3:Glider:1.0.5'
}
```
@@ -44,7 +44,7 @@ Add the JitPack repository to your build file
```gradle
dependencies {
- implementation("com.github.N7ghtm4r3:Glider:1.0.4")
+ implementation("com.github.N7ghtm4r3:Glider:1.0.5")
}
```
@@ -66,7 +66,7 @@ Add the JitPack repository to your build file
com.github.N7ghtm4r3
Glider
- 1.0.4
+ 1.0.5
```
diff --git a/documd/GliderBackend.md b/documd/GliderBackend.md
index c190869..e3cc35d 100644
--- a/documd/GliderBackend.md
+++ b/documd/GliderBackend.md
@@ -32,7 +32,7 @@ values of the "configuration" branch, then save it.
To correctly launch the backend service you must:
-
- download the jar file (GliderBackendService.jar) of the backend service from the assets section here
+ download the jar file (GliderBackendService.jar) of the backend service from the assets section here
-
create a JSON file named "glider_configs.json"
diff --git a/src/main/java/com/tecknobit/glider/helpers/GliderLauncher.java b/src/main/java/com/tecknobit/glider/helpers/GliderLauncher.java
index ec52db2..babd82a 100644
--- a/src/main/java/com/tecknobit/glider/helpers/GliderLauncher.java
+++ b/src/main/java/com/tecknobit/glider/helpers/GliderLauncher.java
@@ -15,7 +15,6 @@
import com.tecknobit.glider.records.Session.SessionKeys;
import org.json.JSONObject;
-import javax.crypto.BadPaddingException;
import javax.crypto.SecretKey;
import javax.crypto.spec.IvParameterSpec;
import java.io.*;
@@ -620,7 +619,7 @@ public void startService() throws IOException {
String ipAddress = SocketManager.getIpAddress(socketManager.acceptRequest());
try {
request = new JSONObject(socketManager.readContent());
- } catch (IllegalArgumentException | BadPaddingException e) {
+ } catch (Exception e) {
String privateSecretKey = session.getSecretKey();
if (socketManager.getBase64SecretKey().equals(privateSecretKey))
socketManager.changeCipherKeys(publicIvSpec, publicCipherKey);
@@ -628,7 +627,7 @@ public void startService() throws IOException {
socketManager.changeCipherKeys(session.getIvSpec(), privateSecretKey);
try {
request = new JSONObject(socketManager.readLastContent());
- } catch (IllegalArgumentException | BadPaddingException eP) {
+ } catch (Exception eP) {
socketManager.writePlainContent(new JSONObject().put(ivSpec.name(), publicIvSpec)
.put(secretKey.name(), publicCipherKey));
request = null;