Add Encryption Module, remove all encryption Code from Filesystem to prevent circular dependencies

This commit is contained in:
Jonathan Jenne
2021-05-26 16:37:55 +02:00
parent 0e25ec9cec
commit b1b4868010
28 changed files with 542 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ Imports DigitalData.GUIs.ZooFlow.ClassConstants
Imports System.Threading
Imports System.Globalization
Imports DigitalData.Modules.EDMI.API
Imports DigitalData.Modules.Encryption
Public Class ClassInit
Private _MainForm As frmFlowForm
@@ -115,7 +116,7 @@ Public Class ClassInit
End Sub
Private Sub CheckConnectivity(MyApplication As My.MyApplication)
Dim oCrypt As New EncryptionLegacy(CRYPTO_LEGACY_ENCRYPTION_KEY)
Dim oCrypt As New EncryptionLegacy()
Dim oBuilder = My.SystemConfig.GetConnectionStringBuilder(My.SystemConfig.ConnectionString)
oBuilder.Password = oCrypt.DecryptData(oBuilder.Password)
Dim oDecryptedConnectionString = oBuilder.ToString