cloak user PII when making commits etc, and let cloaked PII be used in banned_users
authorJoey Hess <joeyh@joeyh.name>
Thu, 14 May 2015 15:37:47 +0000 (11:37 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 14 May 2015 15:58:21 +0000 (11:58 -0400)
commitab1bba9daba5500e1b154579518369974cc6041a
treee4684113a149c92ba09fd7217c6a85d6f040d6d6
parent2a64eea0f51a431abe9c0a7c73a61f3177977790
cloak user PII when making commits etc, and let cloaked PII be used in banned_users

This was needed due to emailauth, but I've also wrapped all IP address
exposure in cloak(), although the function doesn't yet cloak IP addresses.

(One IP address I didn't cloak is the one that appears on the password
reset email template. That is expected to be the user's own IP address,
so ok to show it to them.)

Thanks to smcv for the pointer to
http://xmlns.com/foaf/spec/#term_mbox_sha1sum
14 files changed:
IkiWiki.pm
IkiWiki/CGI.pm
IkiWiki/Plugin/bzr.pm
IkiWiki/Plugin/comments.pm
IkiWiki/Plugin/cvs.pm
IkiWiki/Plugin/darcs.pm
IkiWiki/Plugin/git.pm
IkiWiki/Plugin/mercurial.pm
IkiWiki/Plugin/monotone.pm
IkiWiki/Plugin/svn.pm
IkiWiki/Plugin/tla.pm
doc/banned_users.mdwn
doc/plugins/emailauth.mdwn
doc/todo/emailauth.mdwn