Re: Deferring native compilation finalization until idle

Eli Zaretskii <[email protected]> Sat, 25 Jul 2026 19:45:44 +0300
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
> From: "Aaron Jensen" <[email protected]>
> Cc: "Perry Fraser" <[email protected]>, "Eli Zaretskii" <[email protected]>, [email protected], [email protected], [email protected]
> Date: Sat, 25 Jul 2026 16:42:52 +0000
> 
>  TBH, I don't understand why that validation is need for *.eln files. Those are compiled on your machine, so
>  what validation is necessary? It's not like you download unknown binaries from somewhere.
> 
> Yep, I hear you. I struggle to rationalize it somewhat as well. The thing I fall back to is that disabling the security
> check in Emacs disables it for *everything* not just eln files you compiled. But any other binary you may load for
> any reason. At the point of time we are in where supply chain attacks are a real threat, I don't feel comfortable
> disabling the checks I have available to me, plus it could run me into legal trouble when it comes to client
> obligations.

AFAIU, the "workaround" that codesigns the just-compiled *.eln
disables the security check only for those *.eln files.  Isn't that
so?