@@ -74,7 +74,7 @@ Once installed, Sign CLI can be accessed in a Developer PowerShell instance usin
74
74
- Signing using a PFX file with a SHA-256 fingerprint:
75
75
76
76
``` dotnetcli
77
- sign code certificate-store -cfp 80BB567B...52CB95D4C -cf "D:\Certs\f5ec6169345347a7cd2f83af662970d5d0bfc914.pfx" -d "My VSIX Signature" -u "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
77
+ sign code certificate-store -cfp 80BB567B...52CB95D4C -cf "D:\Certs\f5ec6169345347a7cd2f83af662970d5d0bfc914.pfx" -d "My VSIX Signature" -t "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
78
78
```
79
79
80
80
> [ !NOTE]
@@ -83,21 +83,21 @@ sign code certificate-store -cfp 80BB567B...52CB95D4C -cf "D:\Certs\f5ec61693453
83
83
- Signing using Microsoft Certificate Manager and a SHA512 fingerprint (-csp option):
84
84
85
85
``` dotnetcli
86
- code certificate-store -cfp A87A60A6F...894559B98 -csp "Microsoft Software Key Storage Provider" -d "My VSIX Signature" -u "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
86
+ sign code certificate-store -cfp A87A60A6F...894559B98 -csp "Microsoft Software Key Storage Provider" -d "VSIX Signature" -t "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
87
87
```
88
88
89
89
- Signing using a private key in a USB drive (-csp option):
90
90
91
91
``` dotnetcli
92
- code certificate-store -cfp B113E82D...F5CF294BE0B -csp "eToken Base Cryptographic Provider" -d "VSIX Signature" -u "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
92
+ sign code certificate-store -cfp B113E82D...F5CF294BE0B -csp "eToken Base Cryptographic Provider" -d "VSIX Signature" -t "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
93
93
```
94
94
95
95
- Signing using a USB drive using a specific key container (-csp and -k options):
96
96
97
97
``` dotnetcli
98
- code certificate-store -s 15BB56B0...1ACB959D0 -csp "eToken Base Cryptographic Provider" -k "NuGet Signing.629c9149345347cd2f83af6f5ec70d5d0a7bf616" -d "VSIX Signature" -u "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
98
+ sign code certificate-store -cfp 15BB56B0...1ACB959D0 -csp "eToken Base Cryptographic Provider" -k "NuGet Signing.629c9149345347cd2f83af6f5ec70d5d0a7bf616" -d "VSIX Signature" -t "http://timestamp.acs.microsoft.com/" "C:\Users\Contoso\Downloads\FingerSnapper2022.vsix"
99
99
```
100
100
101
101
## Related content
102
102
- [ Shipping Visual Studio Extensions] ( ../extensibility/shipping-visual-studio-extensions.md )
103
- - [ Sign CLI Reference for VSIX Packages] ( ../extensibility/dotnet-sign-CLI-reference-vsix.md )
103
+ - [ Sign CLI Reference for VSIX Packages] ( ../extensibility/dotnet-sign-CLI-reference-vsix.md )
0 commit comments