Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Dec 4, 2024
1 parent 5c1e4af commit af248a3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.cryptomator.integrations.revealpath.RevealPathService;
import org.cryptomator.integrations.uiappearance.UiAppearanceProvider;
import org.cryptomator.windows.autostart.WindowsAutoStart;
import org.cryptomator.windows.capi.common.Windows_h;
import org.cryptomator.windows.keychain.WindowsHelloKeychainAccess;
import org.cryptomator.windows.keychain.WindowsProtectedKeychainAccess;
import org.cryptomator.windows.quickaccess.ExplorerQuickAccessService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import java.util.Objects;
import java.util.Optional;
import java.util.function.Predicate;
import java.util.stream.Collectors;

import static java.nio.charset.StandardCharsets.UTF_8;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/cryptomator/windows/keychain/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import static java.nio.charset.StandardCharsets.UTF_8;

public class Util {
private static final Logger LOG = LoggerFactory.getLogger(Util.class);
private static final Path USER_HOME_REL = Path.of("~");
private static final Path USER_HOME = Path.of(System.getProperty("user.home"));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ interface PassphraseCryptor {

/**
* Encrypts the given cleartext using a key provided by Windows.
* The caller is responsible for zeroing the cleartext array after use.
*
* @param cleartext The cleartext to encrypt.
* @param additionalData Additional data fed into the encryption. Needs to be provided during {@link #decrypt(byte[], byte[])} decryption}
Expand Down

0 comments on commit af248a3

Please sign in to comment.