diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 94ee038..2c60445 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -105,7 +105,7 @@
-
+
diff --git a/README.md b/README.md
index 39f57ee..90a61ce 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ allprojects {
}
dependencies {
- implementation 'com.github.PhilJay:JWT:1.1.3'
+ implementation 'com.github.PhilJay:JWT:1.1.4'
}
```
@@ -33,7 +33,7 @@ Or add the following to your **pom.xml**:
com.github.PhilJay
JWT
- 1.1.3
+ 1.1.4
```
diff --git a/build.gradle b/build.gradle
index cd94bd1..2b593ba 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ plugins {
}
group 'com.philjay.jwt'
-version '1.1.3'
+version '1.1.4'
sourceCompatibility = 1.8
diff --git a/src/main/java/com/philjay/apnjwt/JWT.kt b/src/main/java/com/philjay/apnjwt/JWT.kt
index cf1a095..28f64bf 100644
--- a/src/main/java/com/philjay/apnjwt/JWT.kt
+++ b/src/main/java/com/philjay/apnjwt/JWT.kt
@@ -131,7 +131,7 @@ object JWT {
if (parts.size == 3) {
val header = parts[0].toByteArray(charset)
val payload = parts[1].toByteArray(charset)
- val tokenSignature = parts[2].toByteArray(charset)
+ val tokenSignature = decoder.decode(parts[2])
val rsaSignature = Signature.getInstance(algorithm)
rsaSignature.initVerify(rsa)