From 328f6231c5c4e4ca5ec5d90ae9905a2b1a623741 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Dec 2014 09:59:35 +0530 Subject: [PATCH] Add a note about codesign breaking due to network congestion --- setup/installer/osx/app/sign.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup/installer/osx/app/sign.py b/setup/installer/osx/app/sign.py index 391923ce47..9793406f17 100644 --- a/setup/installer/osx/app/sign.py +++ b/setup/installer/osx/app/sign.py @@ -20,6 +20,11 @@ def current_dir(path): def codesign(items): if isinstance(items, basestring): items = [items] + # If you get errors while codesigning that look like "A timestamp was + # expected but not found" it means that codesign failed to contact Apple's time + # servers, probably due to network congestion, so add --timestamp=none to + # this command line. That means the signature will fail one your code + # signing key expires and key revocation wont work, but... subprocess.check_call(['codesign', '-s', 'Kovid Goyal'] + list(items)) def files_in(folder):