{"id":18698,"date":"2017-08-22T14:08:10","date_gmt":"2017-08-22T18:08:10","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=18698"},"modified":"2017-08-22T14:08:10","modified_gmt":"2017-08-22T18:08:10","slug":"what-you-can-learn-from-lockstate","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/08\/22\/what-you-can-learn-from-lockstate\/","title":{"rendered":"What You Can Learn From LockState"},"content":{"rendered":"<p><a href=\"http:\/\/codemines.blogspot.com\/2017\/08\/what-your-internet-of-things-startup.html\">Mark Bessey<\/a>:<\/p>\n<blockquote cite=\"http:\/\/codemines.blogspot.com\/2017\/08\/what-your-internet-of-things-startup.html\"><p>The root cause of this incident was apparently that LockState had produced an update intended for one model of their smart locks, and somehow managed to send that to a bunch of locks that were a different model. [&#8230;] It&rsquo;s trivially-easy to avoid this issue, using a variety of different techniques. Something as simple as using a different file name for firmware for different devices would suffice. If not that, you can have a &ldquo;magic number&rdquo; at a known offset in the file, or a digital signature that uses a key unique to the device model.<\/p><p>[&#8230;]<\/p><p>Every remote firmware update process should have the ability to be tested internally via the same process end-users would use, but from a staging environment.<\/p><p>[&#8230;]<\/p><p>Tying into the previous point, wouldn&rsquo;t it be great if you could measure the percentage of systems that were successfully updating, and automatically throttle the update process based on that feedback?<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Mark Bessey: The root cause of this incident was apparently that LockState had produced an update intended for one model of their smart locks, and somehow managed to send that to a bunch of locks that were a different model. [&#8230;] It&rsquo;s trivially-easy to avoid this issue, using a variety of different techniques. Something as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[131],"class_list":["post-18698","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bug"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=18698"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18698\/revisions"}],"predecessor-version":[{"id":18699,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18698\/revisions\/18699"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=18698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=18698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=18698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}