Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83797 - net-mail/{uw-imap|vimap} ebuild disables part of security with ssl
Summary: net-mail/{uw-imap|vimap} ebuild disables part of security with ssl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Default Configs (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: [stable] jaervosz
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 03:30 UTC by Tero Pelander
Modified: 2005-06-26 06:16 UTC (History)
1 user (show)

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


Attachments
"lowsecurity" local flag (2004c-r2.diff,767 bytes, patch)
2005-03-02 03:33 UTC, Tero Pelander
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tero Pelander 2005-03-02 03:30:50 UTC
When compiling uw-imap with ssl the ebuild specifically turns on support for clear text passwords in nonsecure transports. For real servers this is not a good thing.

I propose using local useflag to allow compiling with relaxed security. This way I can enjoy the uw-imap updates without always first fixing the ebuild to original security level.
Comment 1 Tero Pelander 2005-03-02 03:33:06 UTC
Created attachment 52443 [details, diff]
"lowsecurity" local flag
Comment 2 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-03-02 14:13:19 UTC
net-mail please advise.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-03-02 18:16:05 UTC
I'm all for it, with disabling cleartext passwords usage by default.

There's already a suitable local USE flag for this - "clearpasswd" - used by two other packages.
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2005-03-02 18:42:15 UTC
uw-imap-2004c-r3.ebuild is in CVS portage, with added "clearpasswd" USE flag and an ewarn message for users in pkg_setup(). Thanks for suggesting this, it's a good idea.

security@, feel free to close this bug, as it's yours.
Comment 5 Tero Pelander 2005-03-02 23:22:38 UTC
The clearpasswd notification should only be display if "use ssl" is true. That is the requirement for any sort of secure transport. Otherwise the uw-imap-2004c-r3.ebuild is excellent.
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2005-03-03 01:58:18 UTC
Ah, sorry about that omission. Fixed in CVS now.
Comment 7 Tero Pelander 2005-03-03 03:16:16 UTC
The warning for USE="-ssl -clearpassword" case contains a typo.

Current..: Either enable "ssl" USE flag, or disable "clearpasswd" USE flag.
Should be: Either enable "ssl" or "clearpasswd" USE flag.
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2005-03-03 04:16:15 UTC
Hm, I shouldn't commit after sleep deprivation. Sorry everyone.
Comment 9 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-03 04:33:02 UTC
I guess this one also affects to vimap, doesn't it?

Cheers,
Ferdy
Comment 10 Andrej Kacian (RETIRED) gentoo-dev 2005-03-03 05:56:07 UTC
Yup, vimap too. Fixed in 2002c-r3.
Comment 11 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-03-03 06:01:01 UTC
Arches please test and mark uw-imap-2004c-r3 and vimap-2002c-r3 stable.
Comment 12 Andrej Kacian (RETIRED) gentoo-dev 2005-03-03 09:02:00 UTC
Both ebuilds stable on x86.
Comment 13 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-03-03 14:09:53 UTC
Stable on ppc.
Comment 14 Gustavo Zacarias (RETIRED) gentoo-dev 2005-03-04 12:13:43 UTC
sparc stable.
Comment 15 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-03-05 06:39:44 UTC
uw-imap-2004c-r3 stable on amd64, vimap is all ~amd64 and has not yet had much testing.
Comment 16 Bryan Østergaard (RETIRED) gentoo-dev 2005-03-06 00:03:24 UTC
Stable on alpha.
Comment 17 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-03-09 12:31:35 UTC
Thx everyone. Default Config issue -> closing.

hppa please remember to mark stable.
Comment 18 René Nussbaumer (RETIRED) gentoo-dev 2005-06-26 06:16:08 UTC
Already stable on hppa