Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YGVpj-00084K-BB for bitcoin-development@lists.sourceforge.net; Wed, 28 Jan 2015 16:51:15 +0000 X-ACL-Warn: Received: from resqmta-ch2-06v.sys.comcast.net ([69.252.207.38]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1YGVpi-0003gG-GJ for bitcoin-development@lists.sourceforge.net; Wed, 28 Jan 2015 16:51:15 +0000 Received: from resomta-ch2-01v.sys.comcast.net ([69.252.207.97]) by resqmta-ch2-06v.sys.comcast.net with comcast id lUqT1p00726dK1R01UrAM3; Wed, 28 Jan 2015 16:51:10 +0000 Received: from crushinator.localnet ([IPv6:2601:6:4800:47f:1e4e:1f4d:332c:3bf6]) by resomta-ch2-01v.sys.comcast.net with comcast id lUr71p00i2JF60R01Ur92y; Wed, 28 Jan 2015 16:51:09 +0000 From: Matt Whitlock To: Giuseppe Mazzotta Date: Wed, 28 Jan 2015 11:51:06 -0500 Message-ID: <2225268.rOb4P6uJX2@crushinator> User-Agent: KMail/4.14.3 (Linux/3.16.5-gentoo; KDE/4.14.3; x86_64; ; ) In-Reply-To: <54C90C2B.3090708@bitonic.nl> References: <54C90C2B.3090708@bitonic.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [69.252.207.38 listed in list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1YGVpi-0003gG-GJ Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] BIP70: why Google Protocol Buffers for encoding? X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2015 16:51:15 -0000 On Wednesday, 28 January 2015, at 5:19 pm, Giuseppe Mazzotta wrote: > On 28-01-15 16:42, Mike Hearn wrote: > > Just as a reminder, there is no obligation to use the OS root > > store. You can (and quite possibly should) take a snapshot of the > > Mozilla/Apple/MSFT etc stores and load it in your app. We do this > > in bitcoinj by default to avoid cases where BIP70 requests work on > > some platforms and not others, although the developer can easily > > override this and use the OS root store instead. > > > Except that Mozilla/Apple/MSFT will update these certificate stores - > second their policies - and your snapshot/collection might get > outdated at a different pace than the OS-provided certificates, > depending on how you (or the package maintainer) are rolling out updates. I'm frankly _horrified_ to learn that BitcoinJ ships its own root CA certificates bundle. This means that, if a root CA gets breached and a certificate gets revoked, all BitcoinJ-using software will be vulnerable until BitcoinJ ships an update *and* the software in question pulls in the new BitcoinJ update and releases its own update. That might never happen.