3 files changed, 7 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml
index af3bd513c..a14a5529a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -6,10 +6,12 @@ init:
environment:
SignClientSecret:
- secure: S26+NphAhj/vo5ZdHd/N/4toty3ztdNGmuNdvAB57W1oIVQEHVKqAVuhTD8B9ATy
+ secure: EvUuRb2cdsB5h7dJ49CkDDsZHHbwomGvMbcVcRsCSIp58IxVHFzAZrJSE+qpihtU
+ SignClientUser:
+ secure: 9nw9iBguE89m36udK51REeCIHSi5lAXmFIfS5LuAXio=
install:
- - cmd: nuget install SignClient -Version 0.7.0 -SolutionDir %APPVEYOR_BUILD_FOLDER% -Verbosity quiet -ExcludeVersion -pre
+ - cmd: nuget install SignClient -Version 0.9.0 -SolutionDir %APPVEYOR_BUILD_FOLDER% -Verbosity quiet -ExcludeVersion -pre
build_script:
- cmd: msbuild /t:restore BouncyCastle.sln
diff --git a/scripts/Sign-Package.ps1 b/scripts/Sign-Package.ps1
index 8d1df5547..f38b5227e 100644
--- a/scripts/Sign-Package.ps1
+++ b/scripts/Sign-Package.ps1
@@ -10,14 +10,14 @@ if([string]::IsNullOrEmpty($env:SignClientSecret)){
$appSettings = "$currentDirectory\SignClient.json"
-$appPath = "$currentDirectory\..\packages\SignClient\tools\SignClient.dll"
+$appPath = "$currentDirectory\..\packages\SignClient\tools\netcoreapp2.0\SignClient.dll"
$nupgks = ls $currentDirectory\..\*.nupkg | Select -ExpandProperty FullName
foreach ($nupkg in $nupgks){
Write-Host "Submitting $nupkg for signing"
- dotnet $appPath 'sign' -c $appSettings -i $nupkg -s $env:SignClientSecret -n 'Portable.BouncyCastle' -d 'Portable.BouncyCastle' -u 'https://github.com/onovotny/bc-sharp'
+ dotnet $appPath 'sign' -c $appSettings -i $nupkg -r $env:SignClientUser -s $env:SignClientSecret -n 'Portable.BouncyCastle' -d 'Portable.BouncyCastle' -u 'https://github.com/onovotny/bc-sharp'
Write-Host "Finished signing $nupkg"
}
diff --git a/scripts/SignClient.json b/scripts/SignClient.json
index e991c2b1f..0215a2dfe 100644
--- a/scripts/SignClient.json
+++ b/scripts/SignClient.json
@@ -2,7 +2,7 @@
"SignClient": {
"AzureAd": {
"AADInstance": "https://login.microsoftonline.com/",
- "ClientId": "eedcc7e7-c92c-42ff-9217-3ec939207bd8",
+ "ClientId": "9c12553e-c68e-419e-abe3-e7ef24a9e2ef",
"TenantId": "71048637-3782-41a3-b6b2-6f4ac8a25ae0"
},
"Service": {
|