Deborah Bittencourt
Deborah Bittencourt

Reputation: 11

Code sign NUPKG file with a USB/Hardware token

I have an EV certificate from Sectigo to code sign, which is a hardware/USB token.

I need to code sign the app in the NUPKG file format, but the key is required through NuGet and the token I have has an undisclosed key and apparently, that's how it is for USB tokens.

Did anyone have a similar problem?

I'm looking for a way to sign NUPKG files, making it work with NuGet or Signtool.

I tried Signtool, but it's not reading the NUPKG file, only .EXE. I had unzipped the NUPKG file, signed with signtool, and then converted it back to NUPKG, but it didn't work.

Upvotes: 1

Views: 343

Answers (1)

Emmanuel Bourg
Emmanuel Bourg

Reputation: 11058

You can try signing with Jsign (disclaimer: I'm the author of this project), the syntax looks like this:

jsign --storetype ETOKEN --storepass <password> package.nupkg

Note that the SafeNet Authentication Client must be installed first.

Upvotes: 0

Related Questions