From: Davide Brini Date: Fri, 23 Apr 2010 09:56:55 +0100 References: <20100422111337.7ABB521DCF7@...1353...> <201004222153.28610.dave_br@...1278...> <20100422233438.15109.qmail@...1287...> In-Reply-To: <20100422233438.15109.qmail@...1287...> MIME-Version: 1.0 Message-Id: <201004230956.55137.dave_br@...1278...> Subject: Re: [Openvpn-devel] [PATCH] revocation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net On Friday 23 Apr 2010 00:34:38 Peter Stuge wrote: > Davide Brini wrote: > > the serial number is just an (almost) arbitrarily large number. Why > > would a CA choose such a serial number? > > In order to avoid a chosen-prefix collision that works among other > things by predicting the serial number of certificates generated by > the CA. > > http://www.win.tue.nl/hashclash/rogue-ca/ > https://documents.epfl.ch/users/l/le/lenstra/public/papers/lat.pdf Ah, that is interesting. I haven't seen an MD5 certificate in a long time, but I guess being safe doesn't hurt, as sooner or later SHA might become vulnerable as well (and people should start using the newer, longer SHA-256,etc. hashes anyway - not just for certificates). Thanks! -- D.