Change the authenticode timestamp server URL

The symantec server has been shutdown
This commit is contained in:
Kovid Goyal 2024-08-30 09:17:38 +05:30
parent ed990010d1
commit 5d7fff99e5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -372,7 +372,7 @@ def sign_files(env, files):
'https://calibre-ebook.com', '/f', CODESIGN_CERT, '/p', pw, '/tr']
def runcmd(cmd):
for timeserver in ('http://sha256timestamp.ws.symantec.com/sha256/timestamp', 'http://timestamp.comodoca.com/rfc3161',):
for timeserver in ('http://timestamp.comodoca.com/rfc3161', 'http://timestamp.sectigo.com'):
try:
subprocess.check_call(cmd + [timeserver] + list(files))
break