-
-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update a couple of dependencies
- Loading branch information
Showing
5 changed files
with
50 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## VSIX code signing | ||
|
||
This is notes about using code signing for a VSIX (and also with NuGet packages, not doing this at the moment, to bound to local PC) | ||
|
||
### VSIX extension code signing | ||
|
||
- Download built .vsix from VSIX Gallery | ||
|
||
- Log in to SimplySign Desktop | ||
|
||
- Run sign (.NET global tool) | ||
|
||
`sign code certificate-store -cfp 0Fxxx -k DEEDXXXX -csp "SimplySign CSP" -t http://time.certum.pl "EF Core Power Tools v2.6.750.vsix" -fl fileslist.txt` | ||
|
||
- Upload to MarketPlace | ||
|
||
## Notes | ||
|
||
fileslist.txt contents: | ||
EFCorePowerTools.dll | ||
RevEng.Common.dll | ||
|
||
-k = Key container id and -csp both displayed by certutil: | ||
|
||
`certutil -user -store my "<certificate serial number>"` | ||
|
||
-cfp = cert fingerprint, to get, save as binary .cer, then run this PowerShell command: | ||
|
||
`Get-FileHash -Algorithm SHA256 <path to .cer file> | Format-Table -AutoSize` | ||
|
||
## Certificate renewal notes | ||
|
||
- 365 day cert must be bought again every year | ||
- select automatic identity validation, using face recognition | ||
- required documents: | ||
- utility bill with my name and address on it | ||
- PDF file with link to GitHub profile (profile has my full name on it) | ||
|
||
## Nupkg code signing | ||
|
||
dotnet nuget sign "ErikEJ.EntityFramework.SqlServer.6.6.7.nupkg" --certificate-fingerprint xxxx --timestamper http://time.certum.pl | ||
|
||
--certificate-fingerprint = certificate thumbprint vist i Certmgr/SimplySign |
This file was deleted.
Oops, something went wrong.