Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add EV code-signing certificate to Google KMS? #8

Open
ianwieds opened this issue Sep 30, 2022 · 0 comments
Open

How to add EV code-signing certificate to Google KMS? #8

ianwieds opened this issue Sep 30, 2022 · 0 comments

Comments

@ianwieds
Copy link

Maybe it would be helpful to include a bit of documentation on how to add the key to KMS? There is not any easy documentation on this anywhere it seems and I am lost on how to do it.

I have a Sectigo EV code signing certificate on an eToken. Here is the relevant token information

Token name: ***            
Token category: Hardware
Reader name: SafeNet eToken 5100/5110
Serial number (PKCS#11): 198***
Free space (minimum estimated): 71945
Hardware version: 0.0
Firmware version: N/A
Card ID (GUID): 0x79***
Product name: eToken 5110 CC (940)
Model: N/A
Card type: ID Prime MD
Applet Version: IDPrime Java Applet 4.4.2.A
Mask version: G286
Color: N/A
Supported key size: 4096 bits
Token Password: Present
Token Password retries remaining: 3
Maximum Token Password retries: 3
Token Password expiration: No expiration
Administrator Password: Present
Administrator Password retries remaining: 5
Maximum administrator Password retries: 5
FIPS: N/A
Common Criteria (CC): CC EAL5+ / PP QSCD 
Token unlock objects: Administrator
Digital Signature PIN retries remaining: 3
Digital Signature PIN maximum retries: 3
Digital Signature PUK retries remaining: 3
Digital Signature PUK maximum retries: 3
Sign padding on-board: Yes
RSM: N/A
ECC: Supported
  1. As per the certificate parameter description in https://github.com/marketplace/actions/authenticode-cloud-signer... How does one export the token as a .pem file?
  2. When creating a key in Google KMS, what are the settings?
  • Protection level: HSM
  • Purpose: is it Symmetric encrypt/decrypt or Asymmetric sign?
  1. How do you import the key?
  • How do you wrap the key using the downloaded wrapping key?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant