From 4d690ade45c74f14bc58eaa41b53e86cc9f3601c Mon Sep 17 00:00:00 2001 From: Oren Novotny Date: Mon, 18 Sep 2017 23:01:39 -0400 Subject: Update Sign Client --- scripts/Sign-Package.ps1 | 4 ++-- scripts/SignClient.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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": { -- cgit 1.5.1