<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Larry Salibra on Medium]]></title>
        <description><![CDATA[Stories by Larry Salibra on Medium]]></description>
        <link>https://medium.com/@larrysalibra?source=rss-86a4607d659------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*A2y_X98agZwIMYBc.png</url>
            <title>Stories by Larry Salibra on Medium</title>
            <link>https://medium.com/@larrysalibra?source=rss-86a4607d659------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 02:19:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@larrysalibra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blockstack in Asia Meetup Marathon Recap]]></title>
            <link>https://medium.com/@larrysalibra/blockstack-in-asia-meetup-marathon-recap-71d8dfb55b03?source=rss-86a4607d659------2</link>
            <guid isPermaLink="false">https://medium.com/p/71d8dfb55b03</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockstack]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[meetup]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Larry Salibra]]></dc:creator>
            <pubDate>Thu, 21 Jul 2016 16:00:00 GMT</pubDate>
            <atom:updated>2016-07-24T12:05:05.914Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5jLfaAW_TQWH8slSN2emzg.jpeg" /></figure><p>From July 8th to 10th, I co-hosted <a href="https://www.larrysalibra.com/blockstack-meetups-come-to-asia/">Asia’s first three Blockstack meetups</a> with <a href="https://blockstack.com/">Blockstack Labs</a> co-founder <a href="https://onename.com/ryan">Ryan Shea</a> in Hong Kong, Shenzhen and Taipei.</p><p>At each meetup, Ryan presented an introduction to <a href="https://blockstack.org/">Blockstack</a> after which we moved into demos and discussion. Each meetup saw a demographically unique group of attendees with different backgrounds and interests. The meetups were a lot of fun and provided lots to think about. In this post, I’ll try to recap some of my thoughts and observations from each of the meetups and finish up with some lessons and ideas for the future.</p><h4><a href="http://www.meetup.com/Blockstack-HK/events/232194750/">Hong Kong Meetup, Friday, July 8, 2016</a></h4><p>Our meetup marathon kicked off in former British colony turned semi-autonomous Chinese territory Hong Kong on Friday night in the heart of the Causeway Bay shopping district. Armed with supermarket sushi and drinks, a mix of finance professionals, developers, Bitcoin &amp; Ethereum enthusiasts and local reporters intently listened to Ryan’s introduction to Blockstack. Several attendees were developers with long careers in the banking industry. Other attendees were non-technical individuals that have been struggling to understand the concept of blockchain. Still others were interested to learn about how Blockstack fits into the current blockchain hype.</p><figure><img alt="First Blockstack Meetup in Hong Kong." src="https://cdn-images-1.medium.com/max/1024/0*3BWcf07taro6ovT6.jpg" /><figcaption>First Blockstack Meetup in Hong Kong.</figcaption></figure><p>Ryan’s presentation differed from many of the other blockchain events we’ve seen in Hong Kong in that he was upfront and honest about the constraints and limitations of Blockstack that come from the constraints of the underlying public blockchain. This stood in stark contrast to other blockchain events where vague promises were made that the technology is applicable to anything and everything.</p><p>One attendee who has done <a href="https://github.com/joequant/bitquant/tree/master/smart-contracts">significant work on smart contracts</a>, <a href="https://bitquant.wordpress.com/">Joseph Wang</a>, wrote to us after the meetup that he has been frustrated with “the disconnect between hype and application in blockchain” and that he was “very pleasantly impressed” by what Blockstack has to offer.</p><h4><a href="http://www.meetup.com/Blockstack-Shenzhen/events/232194813/">Shenzhen Meetup: Saturday, July 9, 2016</a></h4><p>20 kilometers north across the China border, the second meetup was held deep in the heart of a suburban technology park near the world headquarters of technology giants Huawei and Tencent.</p><p>Unlike the Hong Kong event, we promoted the Shenzhen in both Chinese and English on multiple platform instead of on the meetup.com which isn’t widely used in the country. As a result, we didn’t have a clear idea of who would be attending or which languages they would be most comfortable speaking.</p><figure><img alt="First Blockstack Meetup in Shenzhen." src="https://cdn-images-1.medium.com/max/1024/0*lTq4SYBXWRpmxakj.jpg" /><figcaption>First Blockstack Meetup in Shenzhen.</figcaption></figure><p>We ended up with an enthusiastic group of mainly Chinese-speaking attendees with three or four bilingual people. Our Shenzhen was a diverse group of mechanical engineers, teachers, business people and lawyers. A large portion of the attendees had little prior exposure to blockchain and wanted to understand what it was all about. One enthusiastic attendee flew almost 3 hours from Shanghai to Shenzhen to attend our Blockstack Shenzhen Meetup.</p><p>Ryan started out his talk, which I translated to Chinese in real time, by making sure everyone in the room had a common understanding of blockchain. Building upon his experience from his earlier analogy of <a href="https://blog.blockstack.org/the-blockchain-as-a-journal-dc1715ffa8a1">blockchain as a journal</a>, he described blockchain as a set of public libraries with special characteristics. Anyone can start a public library and each public library has the same books in the same order. A book represents a block of transactions. Anytime a book is added to a library, all other libraries get a copy of the book in the same order. Anyone can add a page to a book by creating a transaction and paying the appropriate fee and an algorithm periodically appoints a person to create books out of all available pages. Once a page is included in a book and the book is published and accepted into the library, neither the page nor the book can be changed, removed or placed on a different place on the shelf.</p><figure><img alt="Ryan Shea delivering his intro to Blockstack talk" src="https://cdn-images-1.medium.com/max/1024/0*fHuSuwst2MZVbIzF.jpg" /><figcaption>Blockstack Labs co-founder Ryan Shea introducing Blockstack in Shenzhen, China.</figcaption></figure><p>This blockchain as a public library analogy translated very well into Chinese and was great for helping blockchain newbies get a basic idea of some of the unique properties and behaviors of blockchains. Most people don’t keep journals and aren’t accountants, however most educated people (over a certain age) have a used a public library at some point or another.</p><p>Our bilingual meetup ran overtime as each slide and question took twice as much time as usual and as such we were unable to dive much into demos and hands on.</p><h4><a href="http://www.meetup.com/Blockstack-Taipei/events/232194801/">Taipei Meetup: Sunday, July 10, 2016</a></h4><p>Two hours of flying and 800 kilometers to the northeast we finished off our series of meetups in Taipei which had just narrowly escaped the effects of super typhoon Nepartak two days earlier. We filled the office of Taiwanese blockchain startup <a href="https://dtco.co/">DTCO</a>…an amazing turnout for an event held on a rainy Sunday evening.</p><p>After our bilingual meetup in Shenzhen, it was a relief to find our Taipei audience was comfortable with an English only presentation. This also allowed us more time for demos and hands on installing the Blockstack client.</p><figure><img alt="First Blockstack Meetup in Taipei." src="https://cdn-images-1.medium.com/max/1024/0*ssPTL8KZe8jcZc4h.jpg" /><figcaption>First Blockstack Meetup in Taipei.</figcaption></figure><p>The Taipei audience was the most technical of the three meetups with technical cofounders of local blockchain startups and other developers in attendance. In comparison to the Hong Kong and Taipei meetups, attendees at the Blockstack Taipei were more interested in the practical application of Blockstack technology and how it could be used to solve the business needs of their clients. The local startups seemed particularly interested as to why Blockstack choses to use the Bitcoin blockchain over Ethereum for its production network.</p><figure><img alt="After the Taipei Meetup" src="https://cdn-images-1.medium.com/max/1024/0*gx-wBnvbLnvjrBze.jpg" /><figcaption>Several hardcore Taipei Blockstackers stayed late Sunday evening talking decentralization.</figcaption></figure><h4>Takeaways</h4><ul><li>Given the option, it probably makes more sense to have language specific meetups. (eg. separate English and Chinese meetups) Bilingual meetups take a lot of time, move slowly and are tiring for both attendees and those speaking.</li><li>When bilingual meetups are inevitable, asking different bilingual audience members to translate for their monolingual colleagues is a great way to give translators a rest and check to make sure the audience is understanding the content.</li><li>Ask meetup participants to explain concepts in their own words.</li><li>Two hours is a great amount of time to go through a detailed intro to Blockstack for a mixed (technical/non-technical) audience without a good handle on blockchain technology. It doesn’t leave time to do anything hands on or to talk much about specific attendee’s projects.</li><li>Follow up meetup ideas:</li><li>Hands on: Registering your own Blockstack ID</li><li>Hands on: Installing and Using the Blockstack CLI</li><li>Hands on: Set up your own Blockstack Node</li><li>Hands on: Building your first Blockstack app</li><li>Talk: How Blockstack’s Virtualchain works</li><li>Talk: How Blockstack can add decentralization to your app</li><li>Talk: Decentralized architecture: what to decentralize and why</li></ul><h4>Thanks</h4><p>Thanks to <a href="https://twitter.com/oveyyeung">Ovey Yeung</a>, Kristian Man and Karen Wan of <a href="https://tgnglobal.com/">Tuspark Global Network</a> for providing the meetup venues in Hong Kong and Shenzhen and their help in getting word out about the meetups!</p><p>Thanks to blockchain startup <a href="https://dtco.co/">DTCO</a>, <a href="https://twitter.com/jacobapo">DTCO CEO Jacob Lee</a> and DTCO CTO Brady Liu for opening their office to us for the Taipei meetup and keeping everyone fed with pizza and drinks. A special thanks to <a href="https://twitter.com/epoquehu">Thomas Hu</a> of <a href="http://www.kybercap.com/">Kyber Capital</a> for his help in arranging the Taipei event.</p><p>Thanks to <a href="https://onename.com/ryan">Ryan Shea</a> of <a href="https://blockstack.com/">Blockstack Labs</a> for making the long trip out from New York City to Asia.</p><h4>Get involved</h4><p>Want to be notified of the next Blockstack meetup in your area? <a href="http://www.meetup.com/topics/blockstack/all/">Join a Blockstack meetup group!</a></p><p>Ideas for a feature, suggestions for a future meetup or questions about why your code isn’t work? <a href="http://chat.blockstack.org/">Join the Blockstack Slack!</a></p><p><em>This article was originally published </em><a href="https://www.larrysalibra.com/blockstack-in-asia-meetup-marathon-recap/"><em>on my own site larrysalibra.com</em></a><em>.</em></p><p>☞ If you agree with what I’m saying Please tap or click “♥︎” to help to promote this article to others. If you disagree, please let me know why in the comments.</p><figure><img alt="Like this post" src="https://cdn-images-1.medium.com/max/640/0*p78XsDEyL09GDFy1.gif" /></figure><p>☞ To hear more of my thoughts in the future, <a href="https://twitter.com/larrysalibra/">follow me on Twitter</a> or <a href="https://www.larrysalibra.com/newsletter/">sign up for my newsletter.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71d8dfb55b03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockstack meetups come to Asia!]]></title>
            <link>https://medium.com/@larrysalibra/blockstack-meetups-come-to-asia-1df29454eb2c?source=rss-86a4607d659------2</link>
            <guid isPermaLink="false">https://medium.com/p/1df29454eb2c</guid>
            <category><![CDATA[meetup]]></category>
            <category><![CDATA[blockstack]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Larry Salibra]]></dc:creator>
            <pubDate>Thu, 07 Jul 2016 16:00:00 GMT</pubDate>
            <atom:updated>2016-07-26T17:15:16.989Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mV8NUKETz_R7vEFCiQuPXw.jpeg" /></figure><p>The great <a href="http://www.thehalvening.com/">Bitcoin halvening</a> is upon us in less than 2 short days. To celebrate, <a href="https://blockstack.org/">Blockstack</a> meetups are coming to Asia!</p><p>I’m delighted to be organizing three meetups in Hong Kong, Shenzhen and Taipei this coming weekend. <a href="https://onename.com/ryan">Ryan Shea</a>, co-founder of <a href="https://blockstack.com/">Blockstack Labs</a> will be in attendance and we’ll be talking about building applications with blockchains, decentralization and hearing about projects everyone is working on. We’ll also get a sneak peek at some things that are coming down the pipeline.</p><p>If you’re a developer, designer, or simply interested in learning more about Blockstack and building decentralized applications with blockchains and in Hong Kong, Shenzhen or Taipei this weekend, come by one of the meetups and say hi!</p><p><a href="http://www.meetup.com/Blockstack-HK/events/232194750/"><strong>Blockstack Hong Kong Meetup — Friday, July 8th</strong></a></p><p><a href="http://www.meetup.com/Blockstack-Shenzhen/events/232194813/"><strong>Blockstack Shenzhen Meetup — Saturday, July 9th</strong></a></p><p><a href="http://www.meetup.com/Blockstack-Taipei/events/232194801/"><strong>Blockstack Taipei Meetup — Sunday, July 10th</strong></a></p><p><em>This article was originally published </em><a href="https://www.larrysalibra.com/blockstack-meetups-come-to-asia/"><em>on my own site larrysalibra.com</em></a><em>.</em></p><p>☞ If you agree with what I’m saying Please tap or click “♥︎” to help to promote this article to others. If you disagree, please let me know why in the comments.</p><figure><img alt="Like this post" src="https://cdn-images-1.medium.com/max/640/0*mPRFg61SZF03HN2Q.gif" /></figure><p>☞ To hear more of my thoughts in the future, <a href="https://twitter.com/larrysalibra/">follow me on Twitter</a> or <a href="https://www.larrysalibra.com/newsletter/">sign up for my newsletter.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1df29454eb2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Live Photos on the Web]]></title>
            <link>https://medium.com/larry-salibra/live-photos-on-the-web-39f91a27324?source=rss-86a4607d659------2</link>
            <guid isPermaLink="false">https://medium.com/p/39f91a27324</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[mac]]></category>
            <dc:creator><![CDATA[Larry Salibra]]></dc:creator>
            <pubDate>Tue, 12 Apr 2016 11:56:08 GMT</pubDate>
            <atom:updated>2016-04-12T11:56:08.620Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>TL;DR:</em></strong><em> I made Live Photos work on the web and it brought my computer to a grinding halt. Just here for the demos? </em><a href="https://www.larrysalibra.com/live-photos/#safe-demo"><em>Skip ahead!</em></a></p><ul><li><a href="#what-are-live-photos">What are Live Photos?</a></li><li><a href="#dead-outside-of-the-apple-ecosystem">Dead outside of the Apple ecosystem</a></li><li><a href="#making-photos-live-on-the-web">Making photos live on the web</a></li><li><a href="#problem-web-components-only-work-in-chrome">Problem: Web Components only work in Chrome</a></li><li><a href="#problem-only-safari-on-mac-can-play-quicktime">Problem: Only Safari on Mac can play Quicktime</a></li><li><a href="#problem-iphone-cant-play-inline-videos">Problem: iPhone can’t play inline videos</a></li><li><a href="#problem-caching-videos-uses-up-a-lot-of-bandwidth-and-memory">Problem: Caching videos uses up a lot of bandwidth and memory</a></li><li><a href="#lessons">Lessons</a></li><li><a href="#enough-talk-i-want-to-see-live-photos">Enough talk, I want to see Live Photos!</a></li><li><a href="#safe-demo">Safe Demo</a></li><li><a href="#dangerous-demo">Dangerous Demo</a></li><li><a href="#how-can-i-get-this-on-my-site">How can I get this on my site?</a></li><li><a href="#ive-found-a-problem">I’ve found a problem</a></li></ul><h4>What are Live Photos?</h4><p>Live Photos, Apple’s flagship iPhone photo party trick arrived on the scene with the 6s in the fall of 2015. The concept is simple, each time you take a picture, you get a high quality photo and 1.5 seconds of less-than-high quality video before and after the moment you snapped the shutter.</p><figure><a href="https://www.larrysalibra.com/live-photos/disney/0203/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ulu2hQR7FOMn8d9DtuStsA.jpeg" /></a><figcaption>Click on the photo to see Live Photos brings this magical Disney fountain to life.</figcaption></figure><p>Apple implements this as a 12 megapixel, 4032 pixels wide by 3024 high JPEG image file and an up-to-three-seconds-long Quicktime MOV video file. As long as you stay within Live Photos approved areas of the Apple ecosystem, the technical details of this is all transparent to you. At the swipe of your wand…err…mouse, your Live Photos spring to life on command like they were straight off the front page of Harry Potter’s Daily Prophet.</p><h4>Dead outside of the Apple ecosystem</h4><p>As soon as you step out of these Live Photo friendly zones, by exporting your Live Photos from Photos, you’re left with two unwieldily source files and no way to recreate the Live Photo experience you know and love.</p><figure><img alt="Live Photo source files" src="https://cdn-images-1.medium.com/proxy/0*4CLTt0sk6U5K5D-H.png" /><figcaption>Each Live Photo is actually two files: an image and a video.</figcaption></figure><p>Half a year after launch, Live Photo support isn’t very widespread outside of the iOS apps of some large services. While some people can share Live Photos on Facebook (I’m not one of them), viewing them is limited to others on iOS.</p><p>Even within Apple’s Ecosystem, iCloud Photo Sharing’s public website and iCloud.com’s Photos app ignore remove the life from your Live Photos, showing only still images.</p><figure><img alt="iCloud Photos" src="https://cdn-images-1.medium.com/proxy/0*biUCWKsrTVM3iWKY.jpg" /><figcaption>iCloud.com Photos ignores Live Photos.</figcaption></figure><p>There’s also no good way to share your beautiful Live Photos with your Android or Windows using friends. You can either send them the still photo or convert the video to an animated GIF or a video clip. Either way, you lose the flavor that makes Live Photos magic.</p><h4>Making photos live on the web</h4><p>I decided to take a stab at recreating the Live Photos magic in a webpage. This webpage to be precise. After all, how hard could it be?</p><p>My approach would be to use a combination of the HTML img and video elements, displaying the still photo in the img tag and briefly displaying the video element over the img tag when the Live Photo is activated. I’d also make the code self-contained and reusable so that it could easily be used on any website, not just my own. Simple in theory…in practice not so simple.</p><h4>Problem: Web Components only work in Chrome</h4><p>The obvious approach was to use a technology called Web Components, which makes it easy to make self-contained reusable building blocks out of HTML and Javascript, to create a custom live-photo HTML tag. Unfortunately, as of April 2016, <a href="http://caniuse.com/#search=web%20components">Chrome is the only browser that supports the technology out of the box</a>. So I was stuck using slow, buggy, Javascript polyfills to emulate the functionality in other browsers. These polyfills have some negative side effects, including breaking Twitter javascript in Safari.</p><h4>Problem: Only Safari on Mac can play Quicktime</h4><p>The video container format used by Live Photos won’t play on most browsers and platforms. This means, the Quicktime MOV files we exported from Apple Photos need to be converted to a container format that works on most browsers, like MP4. To make matters more complicated, while the video format used by Live Photos will play in most browsers, the audio format, PCM, won’t. So besides changing video container formats, we also have to transcode the audio into a format that will play. No worries, our friend ffmpeg saves the day:</p><pre>$ ffmpeg -y -i IMG_0008.MOV -vcodec copy -acodec libfaac IMG_0008.mp4</pre><h4>Problem: iPhone can’t play inline videos</h4><p>The next problem I ran into is that the device that creates Live Photos, the iPhone, can’t play videos inline in its web browser. This restriction on iOS Safari on the iPhone and iPod (but not iPad), while ostensibly to save users from excessive battery and bandwidth usage, is really a holdover from the earlier days of the platform.</p><p>Our best option for iOS is to turn the video into an animated GIF. This loses a lot of quality and the audio, but will let us appear to play video in web page. It’s the best we can do.</p><h4>Problem: Caching videos uses up a lot of bandwidth and memory</h4><p>To get the magical effect of Live Photos, the photo needs to spring to life as soon as the user interacts with it. Achieving that magical “spring” means having the video downloaded and ready to play before the user interacts with it.</p><p>An average Live Photo takes up about 10 megabytes including the image, video and animated GIF. By conditionally loading both the animated GIF and video only on platforms where it was necessary, I was able to reduce that size down to about 6 or 7 megabytes. 7 megabytes for one asset is a lot even for a high speed connection.</p><p>However, put dozens of these on one page and it’s easy to create a web page that requires hundreds of megabytes to load and even more in memory to render. I learned this the hard way as Safari repeatedly made my Mac grind to a halt during development when I tried to load almost 200 Live Photos on one page.</p><figure><img alt="Safari using lots of ram" src="https://cdn-images-1.medium.com/proxy/0*nuFH_mbPOgxNRiFx.png" /><figcaption>Safari tries to display almost a gigabyte of Live Photos.</figcaption></figure><p>iPhone, with its limited RAM, fares even worse. A page with 60 or Live Photos is enough to bring iOS Safari to a halt as it maxes out memory on the latest iPhone 6s Plus hardware.</p><figure><img alt="Safari runs out of RAM on iOS" src="https://cdn-images-1.medium.com/proxy/0*BLPKEgPiB3wTRIyC.jpg" /><figcaption>Safari runs out of memory on my iPhone 6s Plus.</figcaption></figure><h4>Lessons</h4><p>It’s difficult to deliver a magical Live Photo experience in a web browser a way that is both simple and doesn’t put large demands on the user’s bandwidth and computing resources. A really robust Live Photos on the web solution (which this is not) requires a lot of processing, converting and rendering on both the server side and complicated client side logic to select the right combination of video and photo for the user’s situation.</p><h4>Enough talk, I want to see Live Photos!</h4><p>I thought you’d never ask! I’ve put together a collection of more than 150 of my favorite unedited, taken-with-my-phone Live Photos.</p><h4>Safe Demo</h4><p>These demos are relatively safe. You’ll see scaled down thumbnails of each Live Photo and need to click visit each photo’s page to load the Live Photo.</p><p><a href="https://www.larrysalibra.com/live-photos/people-lite/"><strong>people</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/food-lite/"><strong>food</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/transport-lite/"><strong>transport</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/lights-lite/"><strong>lights</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/disney-lite/"><strong>disney</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/water-lite/"><strong>water</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/bitcoin-lite/"><strong>bitcoin</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/nature-lite/"><strong>nature</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/dragons-lite/"><strong>dragons</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/blockstack-lite/"><strong>blockstack</strong></a></p><h4>Dangerous Demo</h4><p>Instead of scaled down thumbnails, this demo puts multiple real, living Live Photos on each category page. You’ll regret clicking on these links if you’re on a metered connection or something much slower than 100 megabit. Memory constrained devices might also crash. You have been warned!</p><p><a href="https://www.larrysalibra.com/live-photos/people/"><strong>people</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/food/"><strong>food</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/transport/"><strong>transport</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/lights/"><strong>lights</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/disney/"><strong>disney</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/water/"><strong>water</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/bitcoin/"><strong>bitcoin</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/nature/"><strong>nature</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/dragons/"><strong>dragons</strong></a><strong> </strong><a href="https://www.larrysalibra.com/live-photos/blockstack/"><strong>blockstack</strong></a></p><h4>How can I get this on my site?</h4><p>If you’re interested in using this commercially or have other questions about this, email me at <a href="/service/mailto:livephotos@larrysalibra.com">livephotos@larrysalibra.com</a>.</p><p>If you’d like to be notified if I publish the code and tools I used to enable Live Photos on my blog, <a href="http://eepurl.com/bXErpf">submit your email here</a>.</p><h4>I’ve found a problem</h4><p>Please accept my apologies! I’m not surprised! If you’re so inclined, <a href="https://github.com/larrysalibra/live-photos/issues">open an issue on Github describing the problem</a>. Thanks!</p><p><em>Found a better way to make Live Photos work on the web? </em><a href="https://twitter.com/larrysalibra/"><em>Tweet at me</em></a><em> or </em><a href="https://www.larrysalibra.com/invitation/"><em>get in touch</em></a><em>!</em></p><p><em>This article was originally published </em><a href="https://www.larrysalibra.com/live-photos/"><em>on my own site larrysalibra.com</em></a><em>.</em></p><p>☞ If you agree with what I’m saying Please tap or click “♥︎” to help to promote this article to others. If you disagree, please let me know why in the comments.</p><figure><img alt="Like this post" src="https://cdn-images-1.medium.com/proxy/0*xtgQGBirU0KILEQ1.gif" /></figure><p>☞ To hear more of my thoughts in the future, <a href="https://twitter.com/larrysalibra/">follow me on Twitter</a> or <a href="https://www.larrysalibra.com/newsletter/">sign up for my newsletter.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39f91a27324" width="1" height="1" alt=""><hr><p><a href="https://medium.com/larry-salibra/live-photos-on-the-web-39f91a27324">Live Photos on the Web</a> was originally published in <a href="https://medium.com/larry-salibra">Larry Salibra</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2015: The Year the Great Firewall went Global]]></title>
            <link>https://medium.com/larry-salibra/2015-the-year-the-great-firewall-went-global-3ebae5ec21dd?source=rss-86a4607d659------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ebae5ec21dd</guid>
            <category><![CDATA[china]]></category>
            <category><![CDATA[censorship]]></category>
            <category><![CDATA[internet-policy]]></category>
            <dc:creator><![CDATA[Larry Salibra]]></dc:creator>
            <pubDate>Sat, 26 Mar 2016 23:44:16 GMT</pubDate>
            <atom:updated>2016-03-26T23:44:16.555Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>TL;DR:</em></strong><em> 2015 marked a changing point in China’s relationship with the global Internet. This post takes a look back at 2015 and 16 events in which the effects of China’s Internet control and censorship regime started being felt outside of its borders.</em></p><ul><li><a href="#life-behind-the-great-firewall">Life behind the Great Firewall</a></li><li><a href="#january-2015">January 2015</a></li><li><a href="#february-2015">February 2015</a></li><li><a href="#march-2015">March 2015</a></li><li><a href="#april-2015">April 2015</a></li><li><a href="#june-2015">June 2015</a></li><li><a href="#september-2015">September 2015</a></li><li><a href="#october-2015">October 2015</a></li><li><a href="#november-2015">November 2015</a></li><li><a href="#december-2015">December 2015</a></li><li><a href="#january-2016">January 2016</a></li><li><a href="#questions-for-2016">Questions for 2016</a></li></ul><p>I spent much of the past week on holiday in Mainland China…my longest stint behind <a href="https://en.wikipedia.org/wiki/Great_Firewall">the Great Firewall (GFW)</a> in a couple years. Even after living behind the Great Firewall for the better part of a decade, I was surprised at how cut off the Chinese internet has become from the rest of the world compared to how it was just three years ago when I ended my residence in Guangzhou.</p><p>It used to be that you had to turn on your VPN to access certain websites. Now the censorship, website blocking, and deliberate interference with encrypted protocols has gotten to the point where a computer or phone normally configured for use outside of the country doesn’t really work properly in China.</p><h4>Life behind the Great Firewall</h4><p>Life online behind the Great Firewall is like life anywhere else, except:</p><ul><li>You can’t search for things.</li><li>Your email doesn’t arrive.</li><li>You can’t communicate with friends, family and business colleagues.</li><li>Your calendar and contacts won’t sync.</li><li>Your phone or computer won’t back up.</li><li>It’s slow, hard or impossible to download or update apps.</li><li>You won’t get any likes on your selfie because you can’t even share it.</li><li>You can’t even figure out where you are.</li></ul><p>You can’t really do much of anything unless you use services provided by local, government approved companies like Tencent, Baidu or Sina.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*9zfL2e9T9vx8yebm.jpg" /><figcaption>In China’s vision of the Internet, permits are always required.</figcaption></figure><p>Back in the good old days of Chinese internet censorship, you could leave your VPN always on and have a relatively “normal” uncensored Internet experience. These days, you can still try to use a VPN and it will sometimes work…for a while. But more than likely, you’ll connect just long enough to get started doing whatever you need to do only to have the connection die ten minutes or 20 megabytes into your session. Frustrating.</p><p>It used to be that leaving Mainland China let you escape the effects of China’s internet censorship and control policies. In 2015 that changed. China’s economic importance and global political ambitions have grown to the point that the effects of its Internet policy are now regularly felt outside of its geographic borders. No longer is China content to exercise its Internet sovereignty by controlling technology and its use within its own borders, but like our favorite red, white, blue superpower, China sees no problem in taking actions with extraterritorial consequences to achieve its goals. </p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*DhXLWaUib4nLJ730.jpg" /><figcaption>This short bridge across the Shenzhen River between Shenzhen and Hong Kong also spans the Internet chasm created by the Great Firewall.</figcaption></figure><p>Let’s take a look back at 2015 and 17 events that marked the year the Great Firewall went global.</p><h4>January 2015</h4><h4>1. <a href="http://www.slate.com/blogs/future_tense/2015/01/06/tencent_s_wechat_worldwide_internet_users_are_voluntarily_submitting_to.html">As WeChat gained traction overseas, users found themselves subject to Chinese censorship</a></h4><p>WeChat is a messaging that has the <em>de facto</em> monopoly on mobile messaging in China. It also happens to be very well designed and a lot of fun to use. Unsurprisingly, the friendly design and features that make it attractive to Chinese users are also appreciated in many non-Chinese communities. Since other messaging apps are blocked in China, it’s also the only choice for communities that span both sides of the Great Firewall. <a href="#fn:1">1</a></p><p>A well thought out user interface doesn’t help, however, when your posts are censored, blocked, deleted or silently not delivered because they’ve run afoul of the censor’s sensibilities.</p><p>It also doesn’t help activists, like those pushing for rights for women, whose WeChat messages are read by <a href="http://chinachange.org/2015/04/12/detention-of-five-chinese-feminist-activists-at-the-juncture-of-beijing20-an-interview-with-professor-wang-zheng/">Chinese authorities before ending up in jail</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*Csf3X5hH8860q3Qn.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*-fnYicYSpfyQy05j.jpg" /><figcaption>In the first post I thank Xi Dada for China Immigration’s kind birthday wishes. Notice how there are no comments or likes. The second post, a post of a screenshot of the first, censored post, asking if anyone saw the first post, has immediate engagement and everyone replies they can’t see the first post.</figcaption></figure><h4>2. <a href="http://qz.com/332059/apple-is-reportedly-giving-the-chinese-government-access-to-its-devices-for-a-security-assessment/">Apple gives Chinese government access to its source code</a></h4><p><a href="http://www.bjnews.com.cn/news/2015/01/21/350845.html">Chinese state media reported</a> that Apple agreed to let the Chinese government inspect its products for 3rd party backdoors and to make sure it protects user data. Many media sources interpreted this to mean that Apple was providing China with access to its source code.</p><h4>3. <a href="https://en.greatfire.org/blog/2015/jan/gfw-upgrade-fail-visitors-blocked-sites-redirected-porn">GFW upgrade fail causes attack on Korean Government website and porn sites</a></h4><p><a href="https://en.wikipedia.org/wiki/DNS_spoofing">DNS poisoning</a> is a censorship technique used by the Great Firewall where visitors to blocked domain names are sent to the wrong servers. For a period of time, the GFW was sending users trying to visit blocked sites like Facebook to a site owned by the Korean government causing a distributed denial of service attack (DDOS attack) .</p><p>I had a first hand view of these attacks in action here in Hong Kong when a <a href="https://thenanfang.com/">popular, independent English language news site</a> targeted by the GFW came to me for assistance in mitigating the crippling GFW directed DDOS attack that they were experiencing.</p><h4>February 2015</h4><h4>4. <a href="http://www.ibtimes.com/china-cites-security-crackdown-western-tech-it-protectionism-or-prudence-1831180">China Considers Banning Western Tech from Banking</a></h4><p>As usual, the excuse for excluding Western firms is “security”, but the motivation appears to protectionism. Either way, foreign companies, their customers and shareholders pay the price.</p><h4>March 2015</h4><h4>5. <a href="https://en.greatfire.org/blog/2015/mar/evidence-shows-cnnic-and-cac-behind-mitm-attacks">CNNIC certificates found to be used for MITM attack on Google, Apple, Microsoft, others</a></h4><p>The China Internet Network Information Center (CNNIC), a Chinese government organization is also holder of a SSL root certificate that up until now was trusted by major web browsers and operating systems. This meant that they could create SSL certificates that let any website pretend it’s another website and these would be trusted by almost all phones and computers worldwide.</p><p>The temptation to use this power to impersonate popular sites like Google and Apple’s iCloud in order to spy on otherwise private communication was too much. <a href="https://googleonlinesecurity.blogspot.com/2015/03/maintaining-digital-certificate-security.html">Google caught CNNIC compromising security of customers worldwide and outed them.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*Ch7BUpkMy7gAwLXb.png" /><figcaption>You can configure your computer to never trust CNNIC.</figcaption></figure><h4>6. <a href="https://www.larrysalibra.com/why-baidu-was-hijacked-to-attack-github/">China’s Great Cannon attacks Github</a></h4><p>A new offensive set of capabilities in the Great Firewall came to light in an attack against Github. These capabilities became known as the <a href="https://en.wikipedia.org/wiki/Great_Cannon">Great Cannon</a>. In this attack, Baidu’s network was hijacked by the Great Firewall and malware was injected in their analytics code, which turned unsuspecting overseas visitors to Chinese sites into a giant bot network programmed to attack Github.</p><p>This wasn’t the first attack on Github, which is seen as largely unblockable by China because of its importance in the tech industry because many widely used open source projects and libraries are hosted on it. Because of its economic importance and unblockable status, dissidents have taken to hosting information China finds unacceptable on the site. The Great Cannon attack on Github can be interpreted as a way to put economic pressure on the site to stop hosting content China finds objectionable.</p><p>It’s important to note that this was <a href="https://news.ycombinator.com/item?id=5124784">not China’s first attempt to compromise Github</a> and it probably won’t be the last.</p><h4>April 2015</h4><h4>7. <a href="https://nakedsecurity.sophos.com/2015/04/29/great-firewall-of-china-blocks-facebooks-login-system/">Great Firewall blocks Login with Facebook</a></h4><p>Build your app or website so that users have to login with Facebook (or Google)? Congratulations! Your app doesn’t work in China! The future is decentralized — <a href="https://blockstack.org/">next time, better use the Blockchain!</a>.</p><h4>June 2015</h4><h4>8. <a href="https://en.greatfire.org/blog/2015/sep/apple-blocked-cnnic-ca-months-after-mitm-attacks">Google, Firefox, Apple block CNNIC certificate</a></h4><p>Google, Firefox, and Apple block CNNIC root certificate…but instruct their software to continue <a href="https://support.apple.com/en-us/HT204938">trusting a list of domain names that have SSL certificates signed by CNNIC</a>.</p><h4>September 2015</h4><h4>9. <a href="http://arstechnica.com/security/2015/09/apple-scrambles-after-40-malicious-xcodeghost-apps-haunt-app-store/">XCodeGhost malware infects popular Chinese iOS apps</a></h4><p>The Great Firewall makes downloading apps from outside of China a slow and frustrating experience. Apple’s developer tool XCode, required for creating and building iOS and Mac apps, is a very large download, with a size in the many gigabytes. It also is updated very frequently, with a new version appearing every time a Mac OS X or iOS beta version is released. Apple developers in China were quickly frustrated by the hours of time it would take to download each new version of XCode from Apple’s servers and searched for other domestic sources of the software.</p><p>It turned out that the versions of XCode downloaded by these developers in China were infected with code that inserted malware into the apps that they made and submitted to Apple’s App Store. This malware cause apps downloaded by users to connect to a command and control server — like one used in a bot net — and send back personal information.</p><p>Many apps used by people both inside and outside of China were affected including WeChat, Angry Birds 2 and Uber competitor Didi Kuaiche.</p><h4>October 2015</h4><h4>10. <a href="https://www.eff.org/deeplinks/2015/10/accepting-chinese-censorship-domains-registry-xyzcom-invites-more">XYZ Domain Registry to automatically censor domains for China</a></h4><p>The XYZ Domain Registry <a href="https://www.icann.org/en/system/files/files/request-2014154-multiple-09oct15-en.pdf">submitted a proposal to ICANN</a> that was interpreted by the EFF and others as being a statement that they will prohibit registration of words banned by China on top level domains that they control. The <a href="https://ceo.xyz/freedom/">CEO eventually denied the allegation</a> but that it seemed so plausible and would be technically trivial to implement, indicates how fragile current Internet infrastructure is to resisting censorship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*MfrPZKWbNIMCvzXp.jpg" /><figcaption>Proposal submitted to ICANN by XYZ for a Chinese gateway that would maintain compliance with Chinese law.</figcaption></figure><h4>November 2015</h4><h4>11. <a href="https://www.runwaygirlnetwork.com/2015/11/16/whats-the-wifi-use-case-for-non-chinese-flying-china-eastern/">China Eastern installs inflight Wifi that censors Internet outside of China</a></h4><p>If it wasn’t bad enough that US and other airlines disable inflight wifi while flying over Mainland China, now passengers on China Eastern flights outside of Mainland China will be able to enjoy the behind the Great Firewall experience without even needing a China Visa!</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*WiEo5Q6CIQToc8RB.jpg" /><figcaption>You can access all of the Internet from this China Eastern 777 except for most of sites and apps you want to use.</figcaption></figure><h4>12. <a href="https://www.larrysalibra.com/how-apple-censors-news-in-china/">Apple News censored in China</a></h4><p>I discovered that Apple includes code in iOS that disables Apple News whenever it detects a Chinese mobile network signal. This China Kill Switch also disables the global version of Apple Maps and replaces it with a version approved by the Chinese government. The China Kill Switch is present in versions of iOS included on all iPhones, iPod Touches and iPads, including those sold outside of China.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*q08GJbB6ZwDhWfb1.jpg" /><figcaption>No news is not good news. It’s censored news.</figcaption></figure><h4>December 2015</h4><h4>13. <a href="http://www.coindesk.com/chinas-miners-heat-up-blocksize-debate-at-scaling-bitcoin-hong-kong/">GFW makes Chinese Bitcoin miners unable to support large block sizes</a></h4><p>At Phase 2 of the <a href="https://scalingbitcoin.org/">Scaling Bitcoin conference in Hong Kong</a>, a major concern of the Chinese mining community was that larger block sizes would put them at a disadvantage because of how the Great Firewall slows down connections to the rest of the world. Empirical research was presented that showed that the Great Firewall quickly throttles encrypted data, like a Bitcoin block, when it is sent out of the country.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*sNH5kB2cwIXJQf82.jpg" /><figcaption>The technical constrains imposed by the Great Firewall present a problem even for stateless Bitcoin.</figcaption></figure><h4>14. <a href="http://www.nytimes.com/2015/12/28/world/asia/china-passes-antiterrorism-law-that-critics-fear-may-overreach.html">China Passes Antiterrorism Law That Critics Fear May Overreach</a></h4><p>Opponents who had seen a draft version said it grants broad new powers that could be abused to monitor peaceful citizens and steal commercial secrets. The US and UK governments want similar legislation and by doing so have given the Chinese government credibility in taking the same actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*QDx_0k2IErA7-QXe.jpg" /><figcaption>In recent years, counterterrorism police vehicles are a common sight outside Chinese railway stations and border crossings.</figcaption></figure><h4>15. <a href="http://www.reuters.com/article/us-microsoft-china-insight-idUSKBN0UE01Z20160101">Microsoft failed to warn victims of Chinese email hack: former employees</a></h4><p>Microsoft’s hotmail email service was hacked by purported Chinese state actors and the company decided not to tell the victims and allowed the hackers to continue their campaign.</p><p>Microsoft’s China business is far from what one would call “successful” since most of their products in Chinese are pirated, not purchased. One has to wonder how a large company that depends on China for much of their revenue and growth (perhaps a certain fruit company?) would behave under similar circumstances. Perhaps something like this has already happened to other large foreign tech companies and we just haven’t yet found out. </p><h4>January 2016</h4><p>Mere hours into the new year, the long arm of Great Firewall was already in action…this time affecting Microsoft’s search engine.</p><h4>16. <a href="https://thenanfang.com/search-engine-bing-com-featuring-skewed-results-china/">Bing Goes Full-on Censorship in English Search Results Within China</a></h4><p>Some internet users in China using Microsoft’s Bing search engine found skewed results that reflected only a positive perspective of China.</p><h4>Questions for 2016</h4><p>China under Xi Jinping has seen internal crackdowns on both corruption and dissent over the past few years. It has also been much more assertive in its foreign policy. China’s Internet policy of control and censorship will increasingly affect users outside in China as the country follows US lead in extraterritorial policy enforcement. As we’ve already seen with Apple products and <a href="http://www.thestar.com/news/world/2015/12/26/is-american-film-industry-pandering-to-chinese-censors.html">Hollywood movies</a>, design decisions for products, software, and services sold globally will be heavily influenced by a desire to maintain access to and succeed in the Chinese market.</p><p>How will this influence play out? Will companies take the Apple Maps approach and build with two versions of their product, a China and a global one? Will companies leave out functionality and content Beijing doesn’t approve, like Hollywood?</p><p>Will we see more offensive attacks like the Great Cannon attacks and hacking of consumer services? Will China play a larger roll in Internet regulatory agencies? Will <a href="https://blockstack.org/">decentralization and censorship resistant technologies like those built on the Bitcoin blockchain</a> gain traction? If so, how will the Chinese government react?</p><p>Now that <a href="http://www.theguardian.com/world/2016/jan/03/hong-kong-politicians-call-beijing-comment-lee-po-editor-abduction">Hong Kong booksellers have started disappearing</a> will owners of VPNs and creators of GFW circumvention technologies outside of Mainland China start to have <a href="https://news.ycombinator.com/item?id=10101469">the same pressure their Mainland counterparts already face</a>?</p><p><em>Want answers? You’ll have to wait until 2017! In the meantime, </em><a href="https://www.larrysalibra.com/newsletter/"><em>subscribe to my newsletter</em></a><em> or </em><a href="https://www.larrysalibra.com/invitation/"><em>get in touch</em></a><em>!</em></p><ol><li>For example, the Bitcoin community makes heavy use of WeChat despite its anti-establishment tilt since most Bitcoin mining and trading happens in Mainland China <a href="#fnref:1">↩</a></li></ol><p><em>This article was originally published </em><a href="https://www.larrysalibra.com/2015-the-year-the-great-firewall-went-global/"><em>on my own site larrysalibra.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ebae5ec21dd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/larry-salibra/2015-the-year-the-great-firewall-went-global-3ebae5ec21dd">2015: The Year the Great Firewall went Global</a> was originally published in <a href="https://medium.com/larry-salibra">Larry Salibra</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bitcoin exchanges’ SSL more secure than banks’]]></title>
            <link>https://medium.com/bitcoin-bytes/bitcoin-exchanges-ssl-more-secure-than-banks-4f7ea8a09070?source=rss-86a4607d659------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f7ea8a09070</guid>
            <dc:creator><![CDATA[Larry Salibra]]></dc:creator>
            <pubDate>Thu, 10 Apr 2014 10:10:13 GMT</pubDate>
            <atom:updated>2014-04-10T12:06:47.638Z</atom:updated>
            <content:encoded><![CDATA[<h4>Bitcoin exchanges are top of the class!</h4><p><em>This post was </em><a href="https://www.larrysalibra.com/2014/04/09/bitcoin-exchanges-ssl-more-secure-than-banks/"><em>originally posted on Larry Salibra’s blog.</em></a></p><p>In case you’ve been living in a cave, a major security flaw was found in the security software that powers more than two-thirds of the Internet’s secure websites. It’s been name “<a href="http://heartbleed.com/">Heartbleed</a>” and affects the open source OpenSSL library behind much of world’s secure software, including the widely used Apache and Nginx web servers.</p><p>It’s been interesting to watch how the industry has responded to this bug. Bitcoin exchanges have been on the ball — Hong Kong’s two major Bitcoin exchanges, <a href="https://www.anxbtc.com/">ANX</a> and <a href="https://www.bitfinex.com/">Bitfinex</a> reached out to customers and the community almost immediately to assure them that they either <a href="https://discuss.hkbitcoin.org/t/heartbleed-bitcoin-exchange-vulnerability/94/2">weren’t affect (ANX)</a> or had <a href="https://discuss.hkbitcoin.org/t/heartbleed-bitcoin-exchange-vulnerability/94">already taken steps to remedy the situation (Bitfinex)</a>.</p><p>What about the banking industry? We haven’t heard much from them beyond some smug comments along the lines of “big banks don’t use free open source software like OpenSSL so they weren’t affected.” Right.</p><p>Ok then. Let’s take a look at just how good the security of banks’ SSL is versus that of Hong Kong’s Bitcoin Exchanges to see if that smugness is really justified.</p><h3>Hong Kong’s Banks</h3><h4>Bank of China</h4><p><em>A-</em> on SSL, not bad for a website that auto-plays flash videos with audio on their homepage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o_e-6GPO8xU4up3OQHxy6Q.png" /></figure><h4>Citibank</h4><p><em>B</em> on SSL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdbhtjsWm7obL5S3kdyn3Q.png" /></figure><h4>HSBC</h4><p><em>B</em> on SSL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tJG0JIPZsVT-Vxcnf-LcDg.png" /></figure><h3>Hong Kong’s Bitcoin Exchanges</h3><h4>Bitfinex</h4><p><em>A-</em> on SSL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*27deBi6qZPC2oFoGYdX8SQ.png" /></figure><h4>ANX</h4><p><em>A</em> on SSL. Top of the class!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OXsIUF9UKusiywpaI0Cj3w.png" /></figure><h4>Bitcoin exchanges are overachievers</h4><p>Hong Kong’s Bitcoin exchanges are using much more secure SSL implementations than Hong Kong’s banks. It’s clear that after the trust issues the Bitcoin suffered from amateurs at Mt.Gox, that exchanges are going out of their way to make sure their customer’s coins are secure.</p><p>The difference between Hong Kong’s banks’ SSL and Bitcoin exchanges’ SSL is actually a lot more pronounced than the grades issued by the diagnostic site would seem to indicate.</p><p><strong><em>None</em></strong> of the three most famous banks in Hong Kong I tested supported <a href="https://en.wikipedia.org/wiki/Perfect_forward_secrecy">Perfect Forward Secrecy</a>. This means that if the private keys of any of the banks are ever compromised, by hackers, the NSA, a rogue employee leaving his unencrypted company laptop on the bus, etc., all historical traffic will be exposed. Imagine your loan history, payment details, banking passwords, credit card statements from months or years ago suddenly revealed to the world because your bank couldn’t be bothered to use best practice SSL security on their web sites.</p><p>But banks don’t have to worry. They’re licensed and regulated by the <a href="http://www.hkma.gov.hk/">HKMA</a> so if anything happens they can say “but we were compliant” and point their finger at the taxpayer and the government. After all, they’re the same people that use HKID numbers, home addresses and birthdays, which are <a href="http://www.businessweek.com/articles/2013-03-07/hong-kongs-corporate-directors-want-some-privacy">public record</a> and on Facebook, as the main security keys for customer accounts.</p><p>Is anyone really surprised that Hong Kong’s Bitcoin exchanges, operating in an intensely competitive global environment, without the comfort and plausible deniability offered by a government licensing scheme, are motivated to offer their customers better security than banks?</p><p><a href="https://www.larrysalibra.com/"><em>Larry Salibra</em></a><em> is the Founder &amp; CEO of the </em><a href="https://www.pay4bugs.com/"><em>crowdsourced software testing company Pay4Bugs</em></a><em>. Pay4Bugs finds problems with your product before your customers do! </em><a href="https://twitter.com/larrysalibra"><em>Follow Larry</em></a><em> on Twitter!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f7ea8a09070" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitcoin-bytes/bitcoin-exchanges-ssl-more-secure-than-banks-4f7ea8a09070">Bitcoin exchanges’ SSL more secure than banks’</a> was originally published in <a href="https://medium.com/bitcoin-bytes">Bitcoin Bytes</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Update Ubuntu to fix the Heartbleed SSL bug]]></title>
            <link>https://medium.com/@larrysalibra/how-to-update-ubuntu-to-fix-the-heartbleed-ssl-bug-e5f75e85d694?source=rss-86a4607d659------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5f75e85d694</guid>
            <dc:creator><![CDATA[Larry Salibra]]></dc:creator>
            <pubDate>Tue, 08 Apr 2014 15:03:05 GMT</pubDate>
            <atom:updated>2014-04-08T15:03:05.178Z</atom:updated>
            <content:encoded><![CDATA[<h4>Because you don’t want heartbroken servers!</h4><p><em>This post was </em><a href="https://blog.pay4bugs.com/2014/04/08/howto-update-ubuntu-to-fix-heartbleed-ssl-bug/"><em>originally posted on the Pay4Bugs Blog</em></a><em>.</em></p><p>In case you haven’t heard, a <a href="http://arstechnica.com/security/2014/04/critical-crypto-bug-in-openssl-opens-two-thirds-of-the-web-to-eavesdropping/">critical bug in the widely used OpenSSL library</a> was disclosed earlier today.</p><p>Despite the cool name and vector logo, <a href="http://heartbleed.com/">Heartbleed</a> is one of the scariest security bugs to hit the Internet in a long time.</p><p>We patched our servers here at <a href="https://www.pay4bugs.com/">Pay4Bugs</a> earlier today, so I thought I’d share with you how we went about it.</p><p>We run Ubuntu 12.04 LTS on our production servers. If you have automatic security updates enabled, your server will automatically update. But there’s no harm in checking to make sure the update has been applied.</p><h3>Step 1 — Check your current OpenSSL version</h3><p>Run <em>openssl version -a</em></p><blockquote>root@sin1:~# openssl version -a OpenSSL 1.0.1e 11 Feb 2013 built on: Mon Jul 15 12:44:45 UTC 2013 platform: debian-amd64 options: bn(64,64) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx) compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector —param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,—noexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=50 -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM OPENSSLDIR: “/usr/lib/ssl” root@sin1:~#</blockquote><p>The <em>built on</em> date is what we’re interested in. Make sure it’s on or after April 7, 2014. If it’s an earlier date like in the above example, your server is vulnerable.</p><h3>Step 2 — Install the latest security updates</h3><p>Run <em>apt-get update</em> followed by <em>apt-get dist-upgrade</em></p><blockquote>root@www:~# apt-get dist-upgrade Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages will be upgraded: file libmagic1 libssl-dev libssl-doc libssl1.0.0 openssh-client openssh-server openssl 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 5,697 kB of archives. After this operation, 2,048 B of additional disk space will be used. Do you want to continue [Y/n]? y</blockquote><blockquote>You might need to restart your server if prompted.</blockquote><h3>Step 3 — Check to make sure the patched version of OpenSSL successfully installed</h3><p>Run <em>openssl version -a</em></p><blockquote>root@discuss:~# openssl version -a OpenSSL 1.0.1 14 Mar 2012 built on: Mon Apr 7 20:33:29 UTC 2014 platform: debian-amd64 options: bn(64,64) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx) compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector —param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,—noexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=50 -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM OPENSSLDIR: “/usr/lib/ssl” root@discuss:~#</blockquote><p><a href="https://www.larrysalibra.com/"><em>Larry Salibra</em></a><em> is the Founder &amp; CEO of the </em><a href="https://www.pay4bugs.com/"><em>crowdsourced software testing company Pay4Bugs</em></a><em>. Pay4Bugs finds problems with your product before your customers do! </em><a href="https://twitter.com/larrysalibra"><em>Follow Larry</em></a><em> on Twitter!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5f75e85d694" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>