Emails send with TorBirdy installed are currently leaking local timestamp information via the Date header field.
Sukhbir is preparing a patch for Thunderbird that will allow us to send emails without Date header field.
The Date header will then be inserted by the mail server as described in chapter 4.2.3: http://bit.ly/qDZm7C
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
I appreciate the need to avoid leaking location info by masking the local timezone, but it appears this build of torbirdy is going too far. Specifically, I'm seeing that mailnews.reply_header_authorwrote is getting changed from "%s wrote" to "%s", and mailnews.reply_header_ondate is getting changed from "On %s" to null.
Perhaps the above behavior is by design, but that would be a bit odd. What I would expect instead is that the formatting for _ondate is simply changed to use UTC rather than local time (perhaps using some other preference(s)). I see no reason to change _authorwrote at all.
I'm not 100% sure this is due to torbirdy, but from this ticket (and also #6315 (closed)) it seems the most likely culprit. I am not much of a coder, but would be happy to test a patched version and report back.
Thanks for the excellent extension -- I'm finally able to use TB via Tor, which I've been wanting to do for a very long time.
However, I do share mikeperry's view as expressed in that thread: plugging the timezone leak by setting everything to UTC is good, but other than that I think the best way not to stick out is to use the default TB headers (in the default language). Notwithstanding the arguments made in "Towards a Tor-safe Mozilla Thunderbird," the changes made by Torbirdy to TB's default reply headers make subsequent emails more distinctive, not less.
@sukhbir How married are you to the idea of removing dates entirely? Thunderbird doesn't parse dateless emails very well, as a rule, and even if patched there are other clients that could respond poorly. Could reasonably lead to people thinking that they haven't received a message just by virtue of it being at the bottom of their mail queue.
A better / less-problematic option might be to allow users to override time on a per-message basis (in the compose window).
@sukhbir How married are you to the idea of removing dates entirely? Thunderbird doesn't parse dateless emails very well, as a rule, and even if patched there are other clients that could respond poorly. Could reasonably lead to people thinking that they haven't received a message just by virtue of it being at the bottom of their mail queue.
I also personally think that removing the date entirely is not a good idea -- it will likely break things and even if it doesn't for the cases we test with, getting such a patch accepted is going to be very difficult. If you see the ticket on Bugzilla, I think the best option is:
Keep the Date header and ensure it is in UTC (eg: allow some clock disclosure but not time zone to
... and set hh:mm:ss to 00:00:00 or randomize it. Something along those lines is better than removing the date completely.
BTW, just to publicize it, we have now proposed working on these patches as a GSoC project. See make TorBirdy better :)
I also personally think that removing the date entirely is not a good idea -- it will likely break things and even if it doesn't for the cases we test with, getting such a patch accepted is going to be very difficult.
Yes, it seems like this option is holding up patch acceptance. I read the bug reports after hearing it referenced as a GSoC project. =)
... and set hh:mm:ss to 00:00:00 or randomize it.
These are both decent options for enhancing location anonymity, but have negative effects on conversations since it affects email sequence.
Perhaps detect local time and adjust to UTC? e.g. it's 11:45 EST my time, but the sent message would read as 4:45 UTC. Or defer to a server for time information (tlsdate style)?
Here's a JS torbirdy patch that allows us to round the Date header down to the nearest minute. It uses a custom Date header emitter that overrides Thunderbird's default Date header emitter.
(Alternatively, we could use the custom emitter to cause the Date header to be blank, randomized, rounded to the nearest hour, day, etc.)
This torbirdy patch should mean we won't need a patch for https://bugzil.la/980573. Thanks to jcranmer for helping me understand the Thunderbird logic.
Update: I found a way to simplify the patch considerably. Same github URL.
Trac: Sponsor: N/AtoN/A Status: new to needs_review Severity: N/Ato Normal
Both (1) and (2) would potentially allow us to leave Thunderbird's default timezone unchanged, so users can see times displayed in the UI in their local timezone.
(2) Leaks no clock offset information at all in the Date header. But it may risk causing problems to some mail servers or clients. Of course, clock offsets may leak via other channels.
To clarify: neither of the patches in comment:19 should necessarily land. We are already sanitizing the Date header because of the patch merged in comment:18. But because of the tradeoffs I am not sure which is the best approach, so I posted the two additional patches here for consideration.