Public bug reported:

When running `pmbootstrap install --fde`, the user is prompted to input the 
password for the user of the phone/tablet that postmarketOS/Nura will be 
installed to.
After that, a sudo prompt appears. Then the user is prompted to provide the FDE 
password. 

What happens because of sudo-rs:

1. The password is shown in plain-text
2. The prompt does not react to Enter
3. The terminal freezes, CTRL+C to exit pmbootstrap does not work, one has to 
kill the terminal.

What should happen:

1. The password is not echoed.
2. Enter key is accepted.
3. pmbootstrap is exitable using CTRL+C

`lsb_release -rd`:
```
Description:    Ubuntu 26.04.1 LTS
Release:        26.04
```

`apt-cache policy sudo-rs`:
```
sudo-rs:
  Installed: 0.2.13-0ubuntu1.2
  Candidate: 0.2.13-0ubuntu1.2
  Version table:
 *** 0.2.13-0ubuntu1.2 500
        500 http://de.archive.ubuntu.com/ubuntu resolute-updates/main arm64 
Packages
        500 http://security.ubuntu.com/ubuntu resolute-security/main arm64 
Packages
        100 /var/lib/dpkg/status
     0.2.13-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu resolute/main arm64 Packages
```

Important note: this issue does NOT happen with sudo-rs_0.2.14-1ubuntu4
from Ubuntu 26.10 Stonking Stingray.

** Affects: rust-sudo-rs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: resolute

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

Title:
  pmbootstrap: sudo-rs causes FDE password in plain-text inacceptance of
  Enter key

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2173063/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to