Getting codesign to compile on linux/windows

344 views
Skip to first unread message

Cauê Waneck

unread,
Oct 4, 2013, 9:57:13 AM10/4/13
to cocotr...@googlegroups.com
Hello!
I've been looking for solutions to be able to sign ios applications on Linux (Windows too would be nice ;) ), and I've come across this great project of yours.
I've been able to get an iOs toolchain working on linux by following the steps at http://code.google.com/p/ios-toolchain-based-on-clang-for-linux/. But sadly the executables produced require a jailbroken device, since codesign wasn't ported. Fortunately, the codesign app is open-source (see https://github.com/Apple-FOSS-Mirror/security_systemkeychain/blob/master/src/codesign.cpp ).

Could Cocotron be used to help build this application on Linux? What would be the steps needed to get this running? I found an earlier post in the list commenting that maybe building this Security module wouldn't be too hard. Can anyone share any tips about it?

Thank you very much!
Cauê

Christopher Lloyd

unread,
Oct 4, 2013, 1:30:27 PM10/4/13
to cocotr...@googlegroups.com
The Security framework is largely a wrapper on top of encryption libraries such as openssl, you'd probably want to build it out with a known stable library, either creating the Sec* calls yourself or just using openssl, etc. directly. Keep us posted, interesting stuff.

Chris

Cauê Waneck

unread,
Oct 4, 2013, 2:36:04 PM10/4/13
to cocotr...@googlegroups.com
Hi Christopher!

Thank you for your insight. It does seem like a good option to avoid the Security framework by replacing them with openssl. The codesign code seem pretty manageable, I'll have a go at this approach later.
Will keep you posted :)

Thanks!
Cauê


2013/10/4 Christopher Lloyd <cjwl...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Cocotron Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocotron-dev...@googlegroups.com.
To post to this group, send email to cocotr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cocotron-dev.
For more options, visit https://groups.google.com/groups/opt_out.

paul.a...@gmail.com

unread,
Sep 29, 2016, 9:08:34 AM9/29/16
to Cocotron Developers, wan...@gmail.com
Hi Cauê,

Did you ever get this working? Its exactly what we are looking to do.

Regards

Paul
Reply all
Reply to author
Forward
0 new messages