Skip to content

Commit ee876b7

Browse files
committed
Merge branch 'develop'
# Conflicts: # VERSION # pom.xml
2 parents b406477 + 4a7094d commit ee876b7

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
sudo: required
22
os: linux
3-
dist: trusty
3+
dist: bionic
44
services:
55
- docker
66

77
language: java
88
jdk:
9-
- oraclejdk8
9+
- oraclejdk12
1010

1111
jobs:
1212
include:
@@ -20,7 +20,8 @@ jobs:
2020
install:
2121
- mkdir -p /tmp/willena/
2222
- 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
23-
- gpg --import /tmp/willena/private.key
23+
- gpg --version
24+
- gpg --batch --import /tmp/willena/private.key
2425
- rm /tmp/willena/private.key
2526
before_install:
2627
- sudo apt-get update

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=3.35.4
2-
artifactVersion=3.35.4
1+
version=3.35.5
2+
artifactVersion=3.35.5

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.github.willena</groupId>
66
<artifactId>sqlite-jdbc</artifactId>
7-
<version>3.35.4</version>
7+
<version>3.35.5</version>
88
<name>SQLite JDBC</name>
99
<description>SQLite JDBC library with encryption and authentication support</description>
1010
<url>https://github.com/Willena/sqlite-jdbc-crypt</url>
@@ -149,6 +149,10 @@
149149
<groupId>org.apache.maven.plugins</groupId>
150150
<artifactId>maven-javadoc-plugin</artifactId>
151151
<version>2.10.3</version>
152+
<configuration>
153+
<source>8</source>
154+
<detectJavaApiLink>false</detectJavaApiLink>
155+
</configuration>
152156
<executions>
153157
<execution>
154158
<id>attach-javadocs</id>
@@ -165,14 +169,20 @@
165169
<plugin>
166170
<groupId>org.apache.maven.plugins</groupId>
167171
<artifactId>maven-gpg-plugin</artifactId>
168-
<version>1.5</version>
172+
<version>1.6</version>
169173
<executions>
170174
<execution>
171175
<id>sign-artifacts</id>
172176
<phase>verify</phase>
173177
<goals>
174178
<goal>sign</goal>
175179
</goals>
180+
<configuration>
181+
<gpgArguments>
182+
<arg>--pinentry-mode</arg>
183+
<arg>loopback</arg>
184+
</gpgArguments>
185+
</configuration>
176186
</execution>
177187
</executions>
178188
</plugin>

src/main/java/org/sqlite/SQLiteConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public void apply(Connection conn) throws SQLException {
217217
if (pragmaTable.containsKey(Pragma.PASSWORD.pragmaName) || pragmaTable.containsKey(Pragma.KEY.pragmaName)) {
218218

219219
String password = pragmaTable.getProperty(Pragma.KEY.pragmaName);
220-
password = password.isEmpty() ? pragmaTable.getProperty(Pragma.PASSWORD.pragmaName) : password;
220+
password = password == null || password.isEmpty() ? pragmaTable.getProperty(Pragma.PASSWORD.pragmaName) : password;
221221

222222
String cipherName = pragmaTable.getProperty(Pragma.CIPHER.pragmaName);
223223

0 commit comments

Comments
 (0)