Thread (18 messages) flat view 18 messages, 3 authors, 2016-06-15

Re: [PATCH/RFC 5/7] imap-send: provide fall-back random-source

From: Jeff King <hidden>
Date: 2016-06-15 22:47:28

On Sat, Oct 03, 2009 at 12:39:43AM +0000, Erik Faye-Lund wrote:
Since some systems (at least Windows) does not have
/dev/random nor friends, we need another random-source.

This patch uses the C-runtime's rand()-function as a
poor-mans random-source.
Hmm. It looks like this arc4 RNG is used just for generating a unique
"X-TUID" header. Which seems to be used in isync (from which imap-send
is derived) to be to avoid duplicates in synchronization. But imap-send
doesn't actually use it for anything, as it just blindly pushes the
messages.

In other words, should all of this TUID code (and the arc4 code) simply
be ripped out?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help