프로젝트

일반

사용자정보

개정판 d1be84a0

IDd1be84a0e2aadf40f0ff913985718969b0fcc67e
상위 38df51fd
하위 3b478e83, 5d863c06, 13c96c45, 1ed8da93

백흠경이(가) 5년 이상 전에 추가함

issue #1187: fixed MARKUS.wxs for SNI

Change-Id: I9819791f672b67a7035db5e7a5ec4cb2d224b7db

차이점 보기:

FinalService/KCOM_FinalService/ConnectionStrEncrypt/Program.cs
11 11
    {
12 12
        static void Main(string[] args)
13 13
        {
14
            //String originalText = "data source=ESB-DB;database={0};user id=ProjectPortalDBConn;password=ProjectPortalDBConn";
15
            String originalText = "data source=cloud.devdoftech.co.kr,7777;database={0};user id=doftech;password=dof1073#";
14
            ///String originalText = "data source=cloud.devdoftech.co.kr,7777;database={0};user id=doftech;password=dof1073#";
16 15
            String key = "Doftech1073#";
17 16

  
18
            String en = Encrypt(originalText, key);
19
            String de = Decrypt(en, key);
20

  
21
            Console.WriteLine("Original Text is " + originalText);
22
            Console.WriteLine("Encrypted Text is " + en);
23
            Console.WriteLine("Decrypted Text is " + de);
24

  
17
            if ((args.Length == 2) && (args[0] == "-en"))
18
            {
19
                String en = Encrypt(args[1], key);
20
                Console.WriteLine("Encrypted Text is \"" + en + "\"");
21
            }
22
            else if ((args.Length == 2) && (args[0] == "-de"))
23
            {
24
                String de = Decrypt(args[1], key);
25
                Console.WriteLine("Decrypted Text is \"" + de + "\"");
26
            }
27
            else
28
            {
29
                Console.WriteLine("Usage : ConnectionStrEncrypt.exe -en|-de <input string>");
30
            }
25 31
        }
32

  
26 33
        public static string Decrypt(string textToDecrypt, string key)
27 34
        {
28 35
            RijndaelManaged rijndaelCipher = new RijndaelManaged();
......
74 81
            byte[] plainText = Encoding.UTF8.GetBytes(textToEncrypt);
75 82
            return Convert.ToBase64String(transform.TransformFinalBlock(plainText, 0, plainText.Length));
76 83
        }
77

  
78

  
79 84
    }
80 85
}
Site/SNI/MARKUS.wxs
342 342
                <File Id="filCB33C867CDE342B6B09DB17464950739" KeyPath="yes" Source="..\..\Setup\System.Windows.Interactivity.dll" />
343 343
            </Component>            
344 344
            <Component Id="cmpA8E411F92BD54821B9A3CEF8E01BBE63" Directory="MyAppDataFolder" Guid="6BF0D3C5-0684-4E7D-BC53-4CE092A48FFE" Win64='yes'>
345
                <File Id="fil49E6FDC6BDFC49A5AB05A71FB2D3A5AE" KeyPath="yes" Source=".\MARKUS.ini" />
345
                <File Id="fil49E6FDC6BDFC49A5AB05A71FB2D3A5AE" KeyPath="yes" Source=".\Site\SNI\MARKUS.ini" />
346 346
            </Component>
347 347
			<Component Id="cmp92F6718F031E4AD2810155492929EE55" Directory="INSTALLFOLDER" Guid="CC6B1FD1-0587-4C56-B2F0-437BFA51B673" Win64='yes'>
348 348
                <File Id="fil32BE8515827243CE87971B56055C66F1" KeyPath="yes" Source="..\..\packages\NDP461-KB3102438-Web.exe" />
build.bat
67 67
%SIGNTOOLPATH% sign /v /f %SIGNPATH% /p Doftech1073# /tr http://timestamp.digicert.com /td sha256 /fd sha256 ".\Setup\SNI\*.msi"
68 68

  
69 69
REM deploy artifacts
70
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUS-%1.msi" -T ".\Setup\MARKUS-%1.msi"
70
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUS-%1.msi" -T ".\Setup\MARKUS-%1.msi"
71 71
IF %ERRORLEVEL% NEQ 0 goto :ERROR
72
REM ..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUSx86-%1.msi" -T ".\Setupx86\MARKUSx86-%1.msi"
72
REM %CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUSx86-%1.msi" -T ".\Setupx86\MARKUSx86-%1.msi"
73 73
REM IF %ERRORLEVEL% NEQ 0 goto :ERROR
74
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUS-Daelim-%1.msi" -T ".\Setup\MARKUS-Daelim-%1.msi"
74
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUS-Daelim-%1.msi" -T ".\Setup\MARKUS-Daelim-%1.msi"
75 75
IF %ERRORLEVEL% NEQ 0 goto :ERROR
76
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUS-DaelimTest-%1.msi" -T ".\Setup\MARKUS-DaelimTest-%1.msi"
76
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/MARKUS-DaelimTest-%1.msi" -T ".\Setup\MARKUS-DaelimTest-%1.msi"
77 77
IF %ERRORLEVEL% NEQ 0 goto :ERROR
78
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/FinalService/FinalService-%1.msi" -T ".\Setup\FinalService\FinalService-%1.msi"
78
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/FinalService/FinalService-%1.msi" -T ".\Setup\FinalService\FinalService-%1.msi"
79 79
IF %ERRORLEVEL% NEQ 0 goto :ERROR
80
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/FinalService/FinalService-Daelim-%1.msi" -T ".\Setup\FinalService\FinalService-Daelim-%1.msi"
80
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/FinalService/FinalService-Daelim-%1.msi" -T ".\Setup\FinalService\FinalService-Daelim-%1.msi"
81 81
IF %ERRORLEVEL% NEQ 0 goto :ERROR
82
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/ConvertService/ConvertService-%1.msi" -T ".\Setup\ConvertService\ConvertService-%1.msi"
82
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/ConvertService/ConvertService-%1.msi" -T ".\Setup\ConvertService\ConvertService-%1.msi"
83 83
IF %ERRORLEVEL% NEQ 0 goto :ERROR
84 84

  
85 85
REM SNI용 설치 파일들을 Artifactory에 배포한다
86
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/SNI/MARKUS-SNI-%1.msi" -T ".\Setup\SNI\MARKUS-SNI-%1.msi"
86
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/SNI/MARKUS-SNI-%1.msi" -T ".\Setup\SNI\MARKUS-SNI-%1.msi"
87 87
IF %ERRORLEVEL% NEQ 0 goto :ERROR
88
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/SNI/FinalService-SNI-%1.msi" -T ".\Setup\SNI\FinalService-SNI-%1.msi"
88
%CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/SNI/FinalService-SNI-%1.msi" -T ".\Setup\SNI\FinalService-SNI-%1.msi"
89 89
IF %ERRORLEVEL% NEQ 0 goto :ERROR
90 90

  
91 91
:EOF

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)