<p>This is a pretty bad habit and is unnecessary, even in debug mode.</p>
<p>This would avoid people getting their credentials being posted on the net when wanting to help (cf: <a href="https://github.com/OfflineIMAP/offlineimap/issues/198" class="issue-link" title='downloading junk messages raise socket error with "copy message list.remove(x): x not in list" '>#198</a> ). Nor people catching on your screen the password as you span through your log, or prevent you from storing full imap logs on log period for whatever rare bug you are chasing... etc ... If there is a need to show this content for debugging, I guess it should be activated manually by decommenting a line in the code, to show that you know exactly what you want to see.</p>
<p>The whole security of a system is lowered to the weakest link. Please don't let <code>offlineimap</code> be this link here.</p>
<p>I generally assume that logs SHOULD NOT contain plain text passwords.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/issues/266">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEITfgKo9LwqQ06EAx6SZOTcwWMmKks5pCD2jgaJpZM4GaqqJ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/issues/266"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>