File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/main/java/org/purejava/integrations/keychain Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 55 <modelVersion >4.0.0</modelVersion >
66 <groupId >org.purejava</groupId >
77 <artifactId >keepassxc-cryptomator</artifactId >
8- <version >1.2.5-SNAPSHOT </version >
8+ <version >1.2.5</version >
99
1010 <name >keepassxc-cryptomator</name >
1111 <description >Plug-in for Cryptomator to store vault passwords in KeePassXC</description >
5050
5151 <!-- runtime dependencies -->
5252 <api .version>1.3.1</api .version>
53- <keepassxc-proxy .version>1.2.4 </keepassxc-proxy .version>
53+ <keepassxc-proxy .version>1.2.5 </keepassxc-proxy .version>
5454 <guava .version>33.1.0-jre</guava .version>
5555 <slf4j .version>2.0.12</slf4j .version>
5656 <junit .version>5.10.2</junit .version>
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public KeePassXCAccess() {
3030 public boolean isSupported () { return proxy .connect (); }
3131
3232 @ Override
33- public boolean isLocked () { return proxy .getDatabasehash (). isEmpty (); }
33+ public boolean isLocked () { return proxy .isDatabaseLocked (); }
3434
3535 /**
3636 * Called on every request sent to the KeePassXC back end to associate Cryptomator and KeePassXC,
@@ -52,7 +52,9 @@ private void ensureAssociation() throws KeychainAccessException {
5252 *
5353 * @return The database hash of the current active KeePassXC database.
5454 */
55- public String unlock () { return proxy .getDatabasehash (true ); }
55+ public String unlock () {
56+ return proxy .getDatabasehash (true ).orElse ("" );
57+ }
5658
5759 @ Override
5860 public void storePassphrase (String vault , CharSequence password ) throws KeychainAccessException {
You can’t perform that action at this time.
0 commit comments