Requirement of key size for code signing certificate to sign modules

Can we get to know

  1. What is the optimal key size for a code signing certificate (leaf)?
  2. What is the requirement for key size for ROOT of this signing cert?
  3. What are the requirements around using a self-signed cert?

I have used 2048 size for a standard openssl generated certificate with the code signing usage added. AlI I did was generate the certificate, add it to a java keystore and use the code signing tool with these items.

It doesn't really matter at all. Just self sign something.

2 Likes