Skip to content

Commit

Permalink
Prepare release 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
purejava committed Mar 22, 2024
1 parent 1e39c01 commit fb30be0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.purejava</groupId>
<artifactId>keepassxc-cryptomator</artifactId>
<version>1.2.5-SNAPSHOT</version>
<version>1.2.5</version>

<name>keepassxc-cryptomator</name>
<description>Plug-in for Cryptomator to store vault passwords in KeePassXC</description>
Expand Down Expand Up @@ -50,7 +50,7 @@

<!-- runtime dependencies -->
<api.version>1.3.1</api.version>
<keepassxc-proxy.version>1.2.4</keepassxc-proxy.version>
<keepassxc-proxy.version>1.2.5</keepassxc-proxy.version>
<guava.version>33.1.0-jre</guava.version>
<slf4j.version>2.0.12</slf4j.version>
<junit.version>5.10.2</junit.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public KeePassXCAccess() {
public boolean isSupported() { return proxy.connect(); }

@Override
public boolean isLocked() { return proxy.getDatabasehash().isEmpty(); }
public boolean isLocked() { return proxy.isDatabaseLocked(); }

/**
* Called on every request sent to the KeePassXC back end to associate Cryptomator and KeePassXC,
Expand All @@ -52,7 +52,9 @@ private void ensureAssociation() throws KeychainAccessException {
*
* @return The database hash of the current active KeePassXC database.
*/
public String unlock() { return proxy.getDatabasehash(true); }
public String unlock() {
return proxy.getDatabasehash(true).orElse("");
}

@Override
public void storePassphrase(String vault, CharSequence password) throws KeychainAccessException {
Expand Down

0 comments on commit fb30be0

Please sign in to comment.