AW: AW: AW: codesigning FAILS with Umlaute

toolbook at kestner.de toolbook at kestner.de
Fri Jun 18 08:37:14 EDT 2021


Hi Mark,
anyhow, Apple has broken it in one of its latest releases.
I have signed this same executable with umlaut for the last years
successfully...

Have a nice WE
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode <use-livecode-bounces at lists.runrev.com> Im Auftrag von
Mark Waddingham via use-livecode
Gesendet: Freitag, 18. Juni 2021 14:05
An: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: Mark Waddingham <mark at livecode.com>
Betreff: Re: AW: AW: codesigning FAILS with Umlaute

On 2021-06-18 11:47, Tiemo via use-livecode wrote:
> Strangely enough, codesigning and notarizing a package with umlauts 
> still works and is verified by Apple.
> Since codesigning a package has to be done with "productsign" and not 
> "codesign" it looks as "codesign" is broken and not the shell.
> Tiemo

So Ian dug into this further - we think its the name of the executable in
the plist which is the problem...

Codesign expects this to be in 'decomposed' unicode form - so instead of the
(combined) u-umlaut character, it needs to be u,combining-umlaut.

Presumably this is because filenames in Apple FS's are always stored in
decomposed unicode form, and codesign and friends expect exact byte
equivalence between the entry in the plist, and that of the executable
filename.

Anyway, a little bit of a subtle issue, but one which will hopefully be
fixed by using the normalizeText function appropriately in the S/B where it
sorts out the plist :)

Warmest Regards,

Mark.

--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list