Why should we set a timestamp when we do a codesigning?

前端 未结 2 1308
误落风尘
误落风尘 2020-12-09 10:42

If I set a timestamp with signing, what happens?
What if I don\'t set?

Is it essential? Why is it recommended?

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-09 10:57

    If the signing certificate expires and there's no timestamp, there's no way to verify that the signature was made at a time when the certificate was valid, so previously signed code may just "stop working".

    Timestamping involves a third party (usually your CA) attesting that you made the signature at a particular time. Regardless of when your certificate expires, somebody receiving the signed code can then verify that your certificate was valid at the time you signed it.

提交回复
热议问题