Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239844 - emerge --info should not output passwords and potential emails
Summary: emerge --info should not output passwords and potential emails
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 06:34 UTC by Luke-Jr
Modified: 2008-10-06 00:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2008-10-05 06:34:32 UTC
It would be nice if Portage didn't output PORTAGE_ELOG_JABBERFROM (contains a password!), PORTAGE_ELOG_JABBERTO, PORTAGE_ELOG_MAILFROM, and PORTAGE_ELOG_MAILURI in emerge --info

Perhaps PORTAGE_ELOG_* should be omitted-- is there any reason to include them?
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2008-10-05 08:01:12 UTC
Less special casing? :)

It just dumps the config.  Are you worried about the actual output or are you worried about users pasting the output into bugzilla?  Arguably they are separate problems.

If we didn't tell users to paste emerge --info into the bug then I doubt this would be a problem; if only we had a bug submitting tool :/

"submit emerge --info | grep -v 'PORTAGE_ELOG'" ? :)

-Alec
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2008-10-05 23:19:11 UTC
The normal `emerge --info` doesn't contain any ELOG* variables. I assume you're referring to `emerge --verbose --info` which simply dumps the whole configuration environment, and I'm reluctant to add special filtering there, esp. for variables that aren't actually used by portage (only by 3rd party plugins).
Comment 3 Luke-Jr 2008-10-06 00:05:49 UTC
Ah, I have --verbose as an automatic option. Can I disable that only for --info?
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-10-06 00:14:29 UTC
emerge --ignore-default-opts --info