Skip to content

Commit 80d67c4

Browse files
ylangiscchenkins
authored andcommitted
Review.
1 parent db6ec89 commit 80d67c4

File tree

1 file changed

+2
-2
lines changed
  • cryptomator/src/main/java/ch/cyberduck/core/cryptomator

1 file changed

+2
-2
lines changed

cryptomator/src/main/java/ch/cyberduck/core/cryptomator/UVFVault.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class UVFVault extends AbstractVault {
5555

5656
private int nonceSize;
5757

58-
public UVFVault(final Path home, final String decryptedPayload) {
58+
public UVFVault(final Path home, final String decryptedPayload, final String config, final byte[] pepper) {
5959
this.home = home;
6060
this.decrypted = decryptedPayload;
6161
// New vault home with vault flag set for internal use
@@ -83,7 +83,7 @@ public UVFVault load(final Session<?> session, final PasswordCallback prompt) th
8383
log.debug("Initialized crypto provider {}", provider);
8484
this.cryptor = provider.provide(masterKey, FastSecureRandomProvider.get().provide());
8585
this.fileNameCryptor = new CryptorCache(cryptor.fileNameCryptor());
86-
this.filenameProvider = new CryptoFilenameV7Provider(/* TODO threshold was previously defined in vault.config - default now? */);
86+
this.filenameProvider = new CryptoFilenameV7Provider(Integer.MAX_VALUE); // TODO there is no shortening in UVF defined yet
8787
this.directoryProvider = new CryptoDirectoryV7Provider(vault, filenameProvider, fileNameCryptor);
8888
this.nonceSize = 12;
8989
return this;

0 commit comments

Comments
 (0)