-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSIS 2017 are not supported when EncryptSensitiveWithPassword #25
Comments
The problem is that Visual Studio changed the encryption algorithm from TripleDES to AES256-CBC with Version 2017. I changed the encryption and decryption methods to this and it worked for my VS 2017 projects: protected virtual void EncryptElement(XmlElement element, string password)
protected virtual void DecryptElement(XmlElement element, string password)
|
this is the error when I try to build a SSIS 2017 project with EncryptSensitiveWithPassword Protection Level:
PS C:\Users\Administrator> . $ssisbuild $prj -Configuration "Development" -Password "aaa"
SSIS Build Engine
Copyright (c) 2017 Roman Tumaykin
Executing SSIS Build with the following arguments:
Project File: c:\Users\administrator\source\repos\SSIS\SSIS\SSIS.dtproj
-Password: (hidden)
-Configuration: Development
Project parameters:
Starting build. Loading project files from c:\Users\administrator\source\repos\SSIS\SSIS\SSIS.dtproj.
ERROR: Specified initialization vector (IV) does not match the block size for this algorithm.
The text was updated successfully, but these errors were encountered: