ebourg / jsign

Java implementation of Microsoft Authenticode for signing Windows executables, installers & scripts
https://ebourg.github.io/jsign
Apache License 2.0
250 stars 107 forks source link

Authentication issue with Google Cloud #112

Closed mvives-broadsign closed 2 years ago

mvives-broadsign commented 2 years ago

Hi everyone, While trying to sign a msi using GOOGLE store, I encounter an authentication error. As I'm not familiar with Google Cloud (this is the first time I'm using it), I might not have generate the proper API Key.

Here is the command and the error

I've generated the api key using APIs & Services > Credentials > API Keys in Google cloud but I'm not sure if this is the correct location.

mvives-broadsign commented 2 years ago

Ok, I managed to solve my issue by using jsign --storetype GOOGLECLOUD --storepass $(gcloud auth print-access-token) .... Now I have to figure out the Unknown signature type requested: SHA256WITHEC ;)

ebourg commented 2 years ago

For the EC key you'll have to build jsign 4.1 from sources.