Both Xcode or codesign fail behind a proxy (timestamp not found)
Both Xcode or codesign fail behind a proxy (timestamp not found)
- Subject: Both Xcode or codesign fail behind a proxy (timestamp not found)
- From: Filhol Alain <email@hidden>
- Date: Fri, 12 May 2017 18:33:25 +0200
- Ironport-phdr: 9a23:XRZuVR8WI+5Dr/9uRHKM819IXTAuvvDOBiVQ1KB30+8cTK2v8tzYMVDF4r011RmSDNmds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2e2//5Lebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsaS2VdUcheWDFPDI2yb4URDeUPPuFWopLhp1sXqBuyGQmsCP/txzJOm3T43bc60+MkEQze3AIgHtYOsHTTrNXxKawfTeS1w7PJzTXFcvhb3jn96InMchAhpvGMWal9ccvVyUkrDQ/KkEiQpJXjMjiI2OoNtG2b4PBhVeKpk2MnsB1xrSKzyccvjYnJmJwaykrK9SV9x4Y0K8e0R1J8Yd6hFpZbqiKUN5NuT88/R2xluDw2x74ItJKhYSQG1pYqywTCZ/GJbYSF5A/oWvyLLjdinn1lfaqyhxO18Ue91OLxTtK00FNWripdldnMq2wN2wTT6seZTvt9+V+s2TOV2ADS7uFEL1o0la3dK5493LI8jJsTsUDHHiPslkX2lreadkQi+ue29+Tqeqjqq5ucOoNuiQzzPL4iltGhDek6KAQCQmaW9fqk2L3m50L5QbFKjvMskqnetZDXPcobpq+9Aw9V1YYj7w2yDzai0NQch3UIMk9FdAqdj4f1I1HOPOz4DfCnjlWjjDhrwO3JMaP4DpXQNXjMjq3hfa1m5k5YyQoz1sxf54lOBr4bOPLzQkvxu8LCAhAlNAy0xrWvNNIo8oIFRW/HEoSePK6a5U+D4e4iZvSXaZUOkDL8MOQ+off2lXs031QaeP/684EQbSWWH/BmJEHRSH7lg9FJRWkLugo5SMTrjFnEXCMFNCX6ZL41+jxuUNHuNozEXI34xeXZhCo=
Hi,
Your answers and the answer from an Apple engineer (see below) convinced me that the problem was on our network. Thus I spent a lot of times on that problem together with our IT but we found no solution.
Now It works again but not because of a change in our network.
Xcode 8.3.1 -> codesign error: “A timestamp was expected but was not found.”
Xcode 8.3.2 -> this error disappeared but codesign gives 2 new errors (certificate found twice, say “this is all right” but “segmentation fault 11”)
Fortunately enough stackoverflow offers a workaround !
All the best
Alain Filhol <email@hidden>
27 avril - an answer from Apple
>> [Apple] There were no recent changes in codesign/XCode enforcing the timestamp from Apple’s NTP servers (indeed, you could even specify a URL for the timeserver you’d like to use, as a an argument to codesign).
>> Also, I haven’t found any other developer complaining about this (it would impact a LOT of people).
>> I’m pretty sure this is a problem in their network/configuration, unrelated to us.
>> If they can’t debug it with their IT, and is still an issue, please tell them to file a Radar, and forward me the number, so I can follow up.
12 Mai - my answer
> [Apple] I’m pretty sure this is a problem in their network/configuration, unrelated to us.
I am now convinced of the contrary since Xcode 8.3.2 (partially) repairs what Xcode 8.3.1 broke.
Xcode 8.3.1
$ codesign -d --keychain /Users/xxxxx/Library/Keychains/login.keychain --force --deep --verbose=4 -s "Developer ID Application: INSTITUT MAX VON LAUE - PAUL LANGEVIN (P65398CN49)" myApp.app
A timestamp was expected but was not found.
Xcode 8.3.2
$ codesign -d --keychain /Users/xxxxx/Library/Keychains/login.keychain --force --deep --verbose=4 -s "Developer ID Application: INSTITUT MAX VON LAUE - PAUL LANGEVIN (P65398CN49)" myApp.app
Developer ID Application: INSTITUT MAX VON LAUE - PAUL LANGEVIN (P65398CN49): found in both /Users/filhol/Library/Keychains/login.keychain-db and /Users/filhol/Library/Keychains/login.keychain-db (this is all right)
Segmentation fault: 11
The solution from <http://stackoverflow.com/questions/42820985/macos-codesign-command-on-bitrise-failure-segmentation-fault-11>
$ security find-identity -p codesigning
E3BEB53D218A1B08F97357AC2A5C9C2D0FFFA6D0 “Developer ID Application: INSTITUT MAX VON LAUE - PAUL LANGEVIN (P65398CN49)"
$ codesign -d --force --deep --verbose=4 -s E3BEB53D218A1B08F97357AC2A5C9C2D0FFFA6D0 myApp.app
This works for me !
------
Dr. Alain Filhol (Computer scientist)
Institut Laue-Langevin, EPN Campus
CS 20156, 71 ave des Martyrs
F-38042 Grenoble cedex 9
<email@hidden>, Office: ILL4-217
Tel:+33 4.76.20.71.56, Fax: +33 4.76.20.76.48
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden