Public bug reported:

[ Impact ]

GNOME Shell in ubuntu is also used to show custom user verifiers, but
since version 46 extensions providing this are not working anymore.

This is due to the fact that it's not possible anymore to override the
shell verifier.

[ Test case ]

To verify that the the function can be overridden, a new symbol has to
be exported.

Use the gnome shell looking glass (Alt+F2 -> 'lg' -> Enter) and paste
this code:

import('../gdm/authPrompt.js').then(m => Main.notify("Found",
`${m.AuthPrompt.prototype._createUserVerifier ?? false}`))

A notification should be shown with the function code, while it should
not contain the word "false" only.

This can also be verified installing the extension
https://github.com/aws/dcv-gnome-shell-extension/tree/wip/abono/gnome-45
and it should load without errors in the journal

[ Regression potential ]

It's just a simple abstraction of few lines of code, so potential is
very low, but potentially the GDM user verifier (and so the user list)
may not be loaded.

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Released

** Affects: gnome-shell (Ubuntu Noble)
     Importance: Undecided
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Committed

** Also affects: gnome-shell (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: gnome-shell (Ubuntu Noble)
       Status: New => Fix Committed

** Changed in: gnome-shell (Ubuntu Noble)
     Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2084306

Title:
  Impossible to patch gnome shell to set a custom ShellUserVerifier

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2084306/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to