Updating password from authd does not work

Bug #2068080 reported by Marco Trevisan (Treviño)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)
Noble
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

If an authd broker requires updating the password on login, GNOME shell doesn't handle the request properly, even though it exposes such feature as supported to brokers.

[ Test case ]

- Install authd (https://github.com/ubuntu/authd) with the example broker
- Start authd authentication
- Login with the user-needs-reset user
- You are requested to change password and you are required to change
  the password
- Once the password is changed, login can proceed

[ Regression potential ]

Authd authentication doesn't work anymore, user is requested to change the password even if not required.

Note that authd is not yet available in noble, thus wrong behaviors when logging in with it can't be considered really "regressions".

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 46.2-1ubuntu3

---------------
gnome-shell (46.2-1ubuntu3) oracular; urgency=medium

  * d/p/ubuntu-authd: Revert unwanted change causing ibus not to launch
    (LP: #2069381)

gnome-shell (46.2-1ubuntu2) oracular; urgency=medium

  * debian/patches/ubuntu-authd: Properly handle new-password messages requests
    (LP: #2068080)
  * d/p/ubuntu-authd: Add translatable js files to POTFILES.in (LP: #2068912)
  * d/p: Do not call unsafe functions when spawning new processes (LP: #2019776)
  * d/p: Resize tray icon windows to respect their actor representation
    (LP: #2012388)
  * d/p: Do not make tray icons to take any input event directly (LP: #2012388)
  * debian/patches/ubuntu-authd: Properly handle new-password messages requests
    (LP: #2068080)
  * d/p/ubuntu-authd: Add translatable js files to POTFILES.in (LP: #2068912)
  * d/p: Do not call unsafe functions when spawning new processes (LP: #2019776)
  * d/p: Resize tray icon windows to respect their actor representation
    (LP: #2012388)
  * d/p: Do not make tray icons to take any input event directly (LP: #2012388)

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 14 Jun 2024 06:45:11 +0200

Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Marco, or anyone else affected,

Accepted gnome-shell into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/46.0-0ubuntu6~24.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-shell (Ubuntu Noble):
status: New → Fix Committed
tags: added: verification-needed verification-needed-noble
description: updated
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote (last edit ):

$ apt-cache policy gnome-shell
gnome-shell:
  Installato: 46.0-0ubuntu6~24.04.1
  Candidato: 46.2-1ubuntu1~24.04.1
  Tabella versione:
 *** 46.0-0ubuntu6~24.04.1 400
        400 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     46.0-0ubuntu5.1 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
     46.0-0ubuntu5 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages

Changing password in authd users works as expected. Password mis-matches are also reported and passwords are requested again if this happens or if the broker refuses a password.

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 46.0-0ubuntu6~24.04.1

---------------
gnome-shell (46.0-0ubuntu6~24.04.1) noble; urgency=medium

  * debian: Prepare for noble branching
  * d/p/ubuntu-authd: Revert unwanted change causing ibus not to launch
    (LP: #2069381)
  * d/p: Do not allocate memory or call async-signal-unsafe code on spawn
  * d/p/ubuntu-authd: Properly draw qr-codes for longer URIs (LP: #2067610)
  * d/p/ubuntu-authd: Fix dialog text color when using light theme
    (LP: #2067661)
  * d/p/ubuntu-authd: Use right colors to draw the qr code in light mode
    (LP: #2067661)
  * d/p/ubuntu-authd: Properly handle new-password messages requests
    (LP: #2068080)
  * d/p/ubuntu-authd: Add translatable js files to POTFILES.in (LP: #2068912)
  * d/p: Resize tray icon windows to respect their actor representation
    (LP: #2012388)
  * d/p: Do not make tray icons to take any input event directly.
    This is all handled through their actor proxy representation (LP: #2012388)

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 14 Jun 2024 08:04:48 +0200

Changed in gnome-shell (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for gnome-shell has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Robie Basak (racb) wrote : Proposed package upload rejected

An upload of gnome-shell to noble-proposed has been rejected from the upload queue for the following reason: "GNOME MRE not valid for gnome-shell as discussed in bug".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.