diff --git a/.travis.yml b/.travis.yml
index 758d490557..9c25e69e04 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,12 @@
sudo: required
os: linux
-dist: trusty
+dist: bionic
services:
- docker
language: java
jdk:
- - oraclejdk8
+ - oraclejdk12
jobs:
include:
@@ -20,7 +20,8 @@ jobs:
install:
- mkdir -p /tmp/willena/
- openssl aes-256-cbc -K $encrypted_0e6f4e1fcef0_key -iv $encrypted_0e6f4e1fcef0_iv -in /home/travis/build/Willena/sqlite-jdbc-crypt/scripts/private.key.enc -out /tmp/willena/private.key -d
- - gpg --import /tmp/willena/private.key
+ - gpg --version
+ - gpg --batch --import /tmp/willena/private.key
- rm /tmp/willena/private.key
before_install:
- sudo apt-get update
diff --git a/VERSION b/VERSION
index 750e886ee3..bd8ab5bd0b 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-version=3.35.4
-artifactVersion=3.35.4
+version=3.35.5
+artifactVersion=3.35.5
diff --git a/pom.xml b/pom.xml
index c6029c1b58..d5241388e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
io.github.willena
sqlite-jdbc
- 3.35.4
+ 3.35.5
SQLite JDBC
SQLite JDBC library with encryption and authentication support
https://github.com/Willena/sqlite-jdbc-crypt
@@ -149,6 +149,10 @@
org.apache.maven.plugins
maven-javadoc-plugin
2.10.3
+
+
+ false
+
attach-javadocs
@@ -165,7 +169,7 @@
org.apache.maven.plugins
maven-gpg-plugin
- 1.5
+ 1.6
sign-artifacts
@@ -173,6 +177,12 @@
sign
+
+
+ --pinentry-mode
+ loopback
+
+
diff --git a/src/main/java/org/sqlite/SQLiteConfig.java b/src/main/java/org/sqlite/SQLiteConfig.java
index ba9a4125ec..725ebc3c61 100755
--- a/src/main/java/org/sqlite/SQLiteConfig.java
+++ b/src/main/java/org/sqlite/SQLiteConfig.java
@@ -217,7 +217,7 @@ public void apply(Connection conn) throws SQLException {
if (pragmaTable.containsKey(Pragma.PASSWORD.pragmaName) || pragmaTable.containsKey(Pragma.KEY.pragmaName)) {
String password = pragmaTable.getProperty(Pragma.KEY.pragmaName);
- password = password.isEmpty() ? pragmaTable.getProperty(Pragma.PASSWORD.pragmaName) : password;
+ password = password == null || password.isEmpty() ? pragmaTable.getProperty(Pragma.PASSWORD.pragmaName) : password;
String cipherName = pragmaTable.getProperty(Pragma.CIPHER.pragmaName);