Skip to content

Commit fb30be0

Browse files
committed
Prepare release 1.2.5
1 parent 1e39c01 commit fb30be0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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>
@@ -50,7 +50,7 @@
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>

src/main/java/org/purejava/integrations/keychain/KeePassXCAccess.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)