File tree Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 11sudo : required
22os : linux
3- dist : trusty
3+ dist : bionic
44services :
55 - docker
66
77language : java
88jdk :
9- - oraclejdk8
9+ - oraclejdk12
1010
1111jobs :
1212 include :
2020install :
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
2526before_install :
2627 - sudo apt-get update
Original file line number Diff line number Diff line change 1- version=3.35.4
2- artifactVersion=3.35.4
1+ version=3.35.5
2+ artifactVersion=3.35.5
Original file line number Diff line number Diff line change 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 >
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 >
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 >
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments