Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
# Conflicts:
#	VERSION
#	pom.xml
  • Loading branch information
Willena committed Apr 26, 2021
2 parents b406477 + 4a7094d commit ee876b7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
sudo: required
os: linux
dist: trusty
dist: bionic
services:
- docker

language: java
jdk:
- oraclejdk8
- oraclejdk12

jobs:
include:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=3.35.4
artifactVersion=3.35.4
version=3.35.5
artifactVersion=3.35.5
14 changes: 12 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.willena</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.35.4</version>
<version>3.35.5</version>
<name>SQLite JDBC</name>
<description>SQLite JDBC library with encryption and authentication support</description>
<url>https://github.com/Willena/sqlite-jdbc-crypt</url>
Expand Down Expand Up @@ -149,6 +149,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<source>8</source>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -165,14 +169,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/sqlite/SQLiteConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ee876b7

Please sign in to comment.