On Mon, Nov 23, 2026 at 11:30:30AM +0100, Yves-Alexis Perez wrote: > Thanks for the report. I totally agree on that, I added an AppArmor profile to > help hardening LightDM ecosystem behavior (following DSA-6633-1) but I > couldn't test every configuration. > > I'll try to fix uim support but it might be easier for you (as a real world > user) to tune the profile (the syntax should be more or less understandable > and https://gitlab.com/apparmor/apparmor/-/wikis/QuickProfileLanguage might > help) and provide a patch.
While I am not deeply familiar with lightdm-gtk-greeter, AppArmor, or GTK input
method modules, there appear to be two possible approaches to this issue: either
granting the necessary permissions via AppArmor, or disabling external GTK input
method modules within the greeter.
Regarding the former, it would make more sense from a maintainability
perspective
for each input method package to provide its own AppArmor abstraction.
However, I question how common the use case for requiring external input methods
within the greeter—prior to authentication—actually is.
Disabling external GTK input method modules by default would not only reduce the
attack surface but also eliminate the need to design, test, and maintain
individual
AppArmor rules for each input method.
Certainly, there may be use cases to consider from the perspective of i18n and
m17n
support; nonetheless, wouldn't it be worth considering disabling external input
method modules by default?
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
signature.asc
Description: PGP signature

