Pressing cancel on gaskpass dialog should return non-zero error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gstm (Ubuntu) |
Fix Released
|
Low
|
Ryan Niebur |
Bug Description
Binary package hint: gstm
gaskpass (the utility within the gstm distribution) does not return non-zero error code when the user presses cancel.
A user presented with a gaskpass prompt might expect that pressing cancel would deny access. from x11-ssh-askpass(1x) [note especially the final sentence]:
> Pressing the ‘OK’ button accepts the pass-phrase (even if it is empty), which is printed on the standard output,
> and the dialog exits with a status of zero (success). Pressing the ‘Cancel’ button discards the pass-phrase,
> and the dialog exits with non-zero status.
The failure to exit with non-zero status is a serious problem, because dialogs (e.g. the session-
Related branches
Changed in gstm: | |
importance: | Undecided → Low |
related bug: https:/ /bugs.launchpad .net/ubuntu/ +source/ gstm/+bug/ 276534
suggests a drop-in patch that would resolve this issue for security concerns as well.