Activity log for bug #1862948

Date Who What changed Old value New value Message
2020-02-12 13:43:52 Dan Streetman bug added bug
2020-02-12 14:57:23 Dan Streetman description when logging into LP, python-keyring will be used (by default) to store the oauth credentials locally. However, when running under sudo, keyring will store the credentials in the root keyring, not the calling user's keyring. This is unlikely to be useful, since the root keyring is most likely does not exist, and the sudo session may not be able to connect to the normal keyring provider (e.g. gnome keyring). The result may be the user will see a prompt to create a new keyring, without indicating it's for the root user. Additionally, if multiple users have sudo on the same system, if user A creates a new root keyring (with new password), then user B will be prompted to enter that password which they do not know, instead of a prompt to create a new keyring, leading to user B being unable to successfully login to LP under sudo, without manually removing user A's keyring. when logging into LP, python-keyring will be used (by default) to store the oauth credentials locally. However, when running under sudo, keyring will store the credentials in the root keyring, not the calling user's keyring. This is unlikely to be useful, since the root keyring is most likely does not exist, and the sudo session may not be able to connect to the normal keyring provider (e.g. gnome keyring). The result may be the user will see a prompt to create a new keyring, without indicating it's for the root user. Additionally, if multiple users have sudo on the same system, if user A creates a new root keyring (with new password), then user B will be prompted to enter that password which they do not know, instead of a prompt to create a new keyring, leading to user B being unable to successfully login to LP under sudo, without manually removing user A's keyring. [other info] this is specifically important for bug 645404; after add-apt-repository is updated to use python-launchpadlib to login, since it also (currently) requires being called as root, it makes using the script under sudo difficult or impossible.
2020-02-22 18:53:47 Dan Streetman branch linked lp:~ddstreet/launchpadlib/nosudo
2020-02-23 07:01:58 Shuduo Sang bug added subscriber Shuduo Sang
2020-04-14 11:34:39 Colin Watson launchpadlib: importance Undecided High
2020-04-14 11:34:39 Colin Watson launchpadlib: status New Fix Released
2020-04-14 11:34:39 Colin Watson launchpadlib: milestone 1.10.11
2020-04-14 11:34:39 Colin Watson launchpadlib: assignee Dan Streetman (ddstreet)