Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update CertificateGenerator.cs (#362)

Leendert de Borst1a106e59fcd1
diff --git a/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs b/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs
index b14034b05..4e0cd75c2 100644
--- a/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs
+++ b/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs
@@ -47,7 +47,7 @@ public static class CertificateGenerator
DateTimeOffset.UtcNow.AddDays(-1),
DateTimeOffset.UtcNow.AddYears(validityYears));
- return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx, password), password, X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.Exportable);
+ return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx, password), password, X509KeyStorageFlags.Exportable);
}
}