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

This commit is contained in:
Sebastian Stenzel
2021-01-19 15:09:47 +01:00
parent 6e860d293a
commit efebbc059a

View File

@@ -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: