소스 검색

keep CTR+HMAC for now (until GCM is supported on all platforms)

Sebastian Stenzel 4 년 전
부모
커밋
efebbc059a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/ui/src/main/java/org/cryptomator/ui/addvaultwizard/CreateNewVaultPasswordController.java

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/addvaultwizard/CreateNewVaultPasswordController.java

@@ -183,7 +183,7 @@ public class CreateNewVaultPasswordController implements FxController {
 
 		// 2. verify masterkey and initialize vault:
 		try (var loader = MasterkeyFile.withContentFromFile(masterkeyFilePath).unlock(passphrase, PEPPER, Optional.of(999))) {
-			CryptoFileSystemProperties fsProps = CryptoFileSystemProperties.cryptoFileSystemProperties().withKeyLoader(loader).build();
+			CryptoFileSystemProperties fsProps = CryptoFileSystemProperties.cryptoFileSystemProperties().withCipherCombo(VaultCipherCombo.SIV_CTRMAC).withKeyLoader(loader).build();
 			CryptoFileSystemProvider.initialize(path, fsProps, MasterkeyFileLoader.KEY_ID);
 
 			// 3. write vault-internal readme file: