keychaineditor icon indicating copy to clipboard operation
keychaineditor copied to clipboard

Support iOS 11

Open brainrecursion opened this issue 7 years ago • 13 comments

Has anyone had any luck running this on iOS 11? I have manually installed it but when I run it I just get the output: 'Killed'

brainrecursion avatar Feb 02 '18 11:02 brainrecursion

agreed, I am getting the same result:

iPhone:~ root# dpkg -i keychaineditor.deb Selecting previously unselected package com.nitin.keychaineditor. (Reading database ... 3525 files and directories currently installed.) Preparing to unpack keychaineditor.deb ... Unpacking com.nitin.keychaineditor (2.1) ... Setting up com.nitin.keychaineditor (2.1) ...

iPhone:~ root# keychaineditor Killed

nVisium-Kevin-Cody avatar Mar 23 '18 14:03 nVisium-Kevin-Cody

Try ldid-ing it

joanmacmillian avatar Apr 15 '18 19:04 joanmacmillian

Has anyone found a solution for iOS 11 yet? @joanmacmillian can you explain what you mean by "ldid-ing" it?

nVisium-David-Lindner avatar Jul 17 '18 15:07 nVisium-David-Lindner

Just released v2.2. Please try installing the deb package. I'vent tested out on iOS 11, but is built with the newest SDK.

NitinJami avatar Jul 17 '18 15:07 NitinJami

@NitinJami i installed v2.2 and still get the "Killed" message when trying to run.

nVisium-David-Lindner avatar Jul 17 '18 15:07 nVisium-David-Lindner

Maybe Pseudo-signing is no longer working in iOS 11? i.e., with ldid. https://github.com/NitinJami/keychaineditor/blob/72bc3506de4a03d111126285946d98f696b0609e/Makefile#L54 I'll try to get my hands on a JB'en iOS 11 and see what the issue is. Killed usually means signing issue.

NitinJami avatar Jul 17 '18 15:07 NitinJami

FWIW, I tried updating the Makefile to sign with ldid2 (https://github.com/samyk/ldid) but still getting Killed 9.

nVisium-Kevin-Cody avatar Jul 17 '18 16:07 nVisium-Kevin-Cody

So, turns out lots of things have changed for iOS 11+. You need to now have an additional entitlement to platformize a binary.

<key>platform-application</key> <true/> On top of that, Swift's runtime libs are not shipped by default. So, they need to copied with the binary with proper signatures. Simply pseudo-signing them does not work. I have to do some reading before I understand what changed, haven't been working on iOS Security in the last year or so. Time to buy MOXiI :-). Any help here is appreciated!

On the other hand, I have always hated to write this simple tool in Swift because of shipping the runtime dylibs which are growing in size with every release. I made that choice back them to learn Swift, but was not the right choice for this tool. If i find time, I'll rewrite this back in C/Obj-C and don't have to deal with Swift runtimes, obviously, the size will also be very very small.

NitinJami avatar Jul 17 '18 18:07 NitinJami

I got it working. Look at my fork.

XMB5 avatar Aug 28 '18 18:08 XMB5

fantastic work @XMB5!!!

nVisium-Kevin-Cody avatar Aug 28 '18 19:08 nVisium-Kevin-Cody

i was fix it by inject using bash ent using ldid and inject into trust store, but keychaineditor results is empty

image

masbog avatar May 06 '19 13:05 masbog

Is there any movement on this? I install 2.2 (although when uninstalling it still states v2.1) however even so I still get Killed 9 error.

There doesn't seem to be a .deb for the fork?

bensh avatar Oct 17 '19 13:10 bensh

Any updated on this?

bensh avatar Mar 03 '22 14:03 bensh