<?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 jviide on Medium]]></title>
        <description><![CDATA[Stories by jviide on Medium]]></description>
        <link>https://medium.com/@jviide?source=rss-87af33604e25------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wJ0gjYnKh93k5P3H46utBg.png</url>
            <title>Stories by jviide on Medium</title>
            <link>https://medium.com/@jviide?source=rss-87af33604e25------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:32:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jviide/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[URI:telegram]]></title>
            <link>https://medium.com/hownetworks/uri-telegram-b71b843ce196?source=rss-87af33604e25------2</link>
            <guid isPermaLink="false">https://medium.com/p/b71b843ce196</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[messaging]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[telegram]]></category>
            <dc:creator><![CDATA[jviide]]></dc:creator>
            <pubDate>Mon, 21 Nov 2016 16:05:38 GMT</pubDate>
            <atom:updated>2016-11-22T13:29:27.276Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>TL;DR:</strong> Update Telegram’s macOS clients to version 2.28 or newer. Earlier versions leak URLs from secret chats. NCSC-FI has released an <a href="https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2016/haavoittuvuus-2016-135.html">advisory in English</a>.</p><p><strong><em>Updated 2016–11–22:</em></strong><em> Added a link to the English language advisory.</em></p><p>The <a href="https://medium.com/hownetworks/uri-teller-a-call-for-the-curious-20694617db1c">previous</a> blog post describes the reasons why we created <a href="https://uriteller.io/">URI:teller</a>. Around October 26 our very own Jani Kenttälä (<a href="https://medium.com/u/cb820947f08e">janikenttala</a>) was putting URI:teller through its paces by testing the bajillion different messengers he has installed on his Mac. One of those apps was <a href="https://telegram.org/">Telegram’s</a> macOS client. That particular client fetched link previews via an external Telegram server, even for <a href="https://telegram.org/faq#secret-chats">secret chats</a> which are supposed to be end-to-end encrypted. Uh-oh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ULK9CqcGnHjKIMKNfBMGRw.gif" /><figcaption>Jani and Ossi demonstrating the effect with Telegram macOS 2.27.51100.</figcaption></figure><p>We promply reported this to Juhani Eronen of <a href="https://www.viestintavirasto.fi/en/cybersecurity.html">NCSC-FI</a>. Based on NCSC-FI’s additional testing the macOS client was alone in leaking URLs from secure chats, other official Telegram mobile/desktop clients did not do so. NCSC-FI in turn contacted Telegram, who issued a fix in the client version 2.28. The update is now available from <a href="https://macos.telegram.org/">Telegram’s website</a> and the <a href="https://telegram.org/dl/macos/store">Mac App Store</a>.</p><p>Check NCSC-FI’s <a href="https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2016/haavoittuvuus-2016-135.html">advisory in English</a>. We thank both NCSC-FI and Telegram for their quick actions on this issue. And of course Jani will get a magnificent bonus for his heroic effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oi--TZUl11tWBZNPR_wXcQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b71b843ce196" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hownetworks/uri-telegram-b71b843ce196">URI:telegram</a> was originally published in <a href="https://medium.com/hownetworks">HowNetWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[URI:teller & a Call for the Curious]]></title>
            <link>https://medium.com/hownetworks/uri-teller-a-call-for-the-curious-20694617db1c?source=rss-87af33604e25------2</link>
            <guid isPermaLink="false">https://medium.com/p/20694617db1c</guid>
            <category><![CDATA[messaging]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[jviide]]></dc:creator>
            <pubDate>Thu, 03 Nov 2016 09:29:33 GMT</pubDate>
            <atom:updated>2016-11-03T09:36:11.799Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUhaWO1v1Sr5b09RfYY7yw.png" /></figure><p>Last friday we quietly rolled out a new service called <a href="https://uriteller.io/">URI:teller</a>. When I say “quietly” I don’t count our friends whom we immediately spammed with links to <a href="https://uriteller.io/">uriteller.io</a>. Sorry about that, friends! #notsorry</p><h3>URI:what?</h3><p>We built URI:teller to scratch a specific itch: Verifying that end-to-end encrypted messaging apps don’t leak links we exchange via chats.</p><p>A major selling point of end-to-end encrypted (<a href="https://en.wikipedia.org/wiki/End-to-end_encryption">E2EE</a>) chat apps is that only the intended recipient can decrypt the data. No outsider, indeed not even those controlling the app’s central servers, should be able to read your messages. One could reasonably assume that absolutely nothing sent over the private pipeline leaks out. <a href="https://whispersystems.org/">Signal</a>, <a href="https://www.whatsapp.com/">WhatsApp</a> and <a href="https://wire.com/">Wire</a> are well known examples, with new contenders springing up all the time.</p><p>On the other hand most of these apps offer link previews. Enter a URL and up pops a sneak peek of its contents. How <em>do</em> secure chats achieve this without inadvertently revealing parts of the messages — the links — to a third party?</p><p>And this is what URI:teller can help to figure out. By clicking the big blue button on the front page you create a pair of unique URLs, a <strong>trap</strong> and a <strong>monitor</strong>. The monitor URL leads to a page showing a live-updating list of who’s visited the trap URL. Copy and paste the trap to your E2EE messenger of choice and follow the monitor to see who’s calling back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*_uR9n6xbOAunq2mHAEYS9Q.gif" /><figcaption>Demoing URI:teller with <a href="https://bitly.com/">bitly</a>. Yeah, bitly’s a URL shortener and not an E2EE messenger. Sorry. As a result our animated GIF department has been fired.</figcaption></figure><h3>Pick Your Battles</h3><p>Thus far our main focus has been in instant messaging. It’s a huge part of our daily lives as JavaScript-writing, latte-sipping digital monad nomads who are just totally <em>with it</em>.</p><p>There are other delicious uses for URI:teller. Some URL shorteners follow passed links, as do social media sites. How enterprise messengers such as Skype or Cisco deal with links is also worth looking into — there’s some <a href="http://arstechnica.com/security/2013/05/think-your-skype-messages-get-end-to-end-encryption-think-again/">historical precedent</a> there. Oh, and don’t forget <a href="https://en.wikipedia.org/wiki/Data_loss_prevention_software">DLP</a>, another fan favorite in enterprise contexts.</p><p>Still, secure messaging is a topical target for scrutiny. E2EE communication is getting attention in the mainstream. Just now, while writing this blog post, Time featured Signal in their <a href="http://time.com/4549647/best-apps-year-2016/">list</a> of 50 best apps of the year. Electronic Frontier Foundation is also about to redo their <a href="https://www.eff.org/secure-messaging-scorecard">secure messaging scorecard</a>. Amnesty International recently came out with an <a href="https://www.amnesty.org/en/latest/campaigns/2016/10/which-messaging-apps-best-protect-your-privacy/">article</a> scoring chat apps based on their privacy… ness.</p><p>URI:teller presents one angle for such evaluation. Someone who needs to pick or recommend a messaging option can use the service to make a slightly more educated choice.</p><h3>A Plea for Help</h3><p>Now we need help. We have checked the apps we are personally interested in, and are ready to move on to new adventures. These artisanal lattes don’t pay for themselves! But the matter of the fact is that the world is full of systems which URI:teller could be applied to.</p><p>We ask of you, brave net warriors, go forth and pit URI:teller against the multitude of chat apps, enterprise messaging platforms, DLPs, you name it. If you find anything interesting do tell us and the world about it — tweets with the hashtag <a href="https://twitter.com/hashtag/uriteller">#uriteller</a> are a great avenue for that. You have no obligation to inform us, though.</p><p>Another way to contribute is to take a gander at the repository at <a href="https://github.com/HowNetWorks/uriteller">https://github.com/HowNetWorks/uriteller</a>. The service is developed in the open and the code is MIT licensed. Learn from our mistakes, maybe even fix them! Our aim has also been to make it relatively simple to spin up your own URI:teller instance. Who knows, maybe someone will run with this idea and take it even further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uMwaPS7mF6tDe81AJOxdBQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20694617db1c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hownetworks/uri-teller-a-call-for-the-curious-20694617db1c">URI:teller &amp; a Call for the Curious</a> was originally published in <a href="https://medium.com/hownetworks">HowNetWorks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Tests They are A-Changin’]]></title>
            <link>https://medium.com/%C3%A4%C3%A4kk%C3%B6set/the-tests-they-are-a-changin-893bf46a814b?source=rss-87af33604e25------2</link>
            <guid isPermaLink="false">https://medium.com/p/893bf46a814b</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tls]]></category>
            <category><![CDATA[rust]]></category>
            <dc:creator><![CDATA[jviide]]></dc:creator>
            <pubDate>Tue, 13 Sep 2016 13:08:35 GMT</pubDate>
            <atom:updated>2016-09-13T13:08:35.935Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>An update to “A Trainy Rain Trip with Rustls and TryTLS”. Rustls now passes all current TryTLS tests. Still having fun.</h4><p>About a week ago I <a href="https://medium.com/%C3%A4%C3%A4kk%C3%B6set/a-rainy-train-trip-with-rustls-and-trytls-9de3d89581fe">posted</a> a about my experiences testing <a href="https://github.com/ctz/rustls">Rustls</a> with<br><a href="https://github.com/ouspg/trytls">TryTLS</a>. A quick recap: Rustls is a TLS library written in the programming languare Rust. TryTLS is a tool for testing TLS library implementations. The aim was to offer both perfectly cromulent TLS connections as well as some ungood ones to Rustls and observe how the library reacts. Rustls survived like a champ. Indeed, it turned out that the <em>tests</em> themselves needed some fine-tuning.</p><p>Today I’m happy to tell that some very fine tuning has taken place and Rustls passes all the current TryTLS tests:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*pis_8_jsKYEqTAI4SaK_zQ.gif" /></figure><p>What changed? Well, for one, there’s a new TryTLS version 0.3.6 that adds subjectAltNames to the certificates it generates on the fly. Furthermore, <a href="https://github.com/wbond/badtls.io">badtls.io</a> (a totally separate and most excellent project which TryTLS shamelessly piggybacks) added subjectAltNames to all of its pre-existing test certs. Shout out to <a href="https://github.com/wbond">wbond</a>, the creator of not only badtls.io but <a href="https://github.com/wbond/oscrypto">oscrypto</a> and <a href="https://github.com/wbond/certbuilder">certbuilder</a> libraries which TryTLS also uses!</p><p>So, there we go. Even if this time TryTLS could not inform Rustls’s development, Rustls <em>did</em> inform TryTLS’s development. Now TryTLS can better help other TLS library developers push their implementation quality further. And round and round it goes. It’s pretty cool, really.</p><p>The used software versions were Rust 1.11.0, Rustls 0.1.2 and TryTLS 0.3.6.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=893bf46a814b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/%C3%A4%C3%A4kk%C3%B6set/the-tests-they-are-a-changin-893bf46a814b">The Tests They are A-Changin’</a> was originally published in <a href="https://medium.com/%C3%A4%C3%A4kk%C3%B6set">Ääkköset</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Rainy Train Trip with Rustls and TryTLS]]></title>
            <link>https://medium.com/%C3%A4%C3%A4kk%C3%B6set/a-rainy-train-trip-with-rustls-and-trytls-9de3d89581fe?source=rss-87af33604e25------2</link>
            <guid isPermaLink="false">https://medium.com/p/9de3d89581fe</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tls]]></category>
            <category><![CDATA[rust]]></category>
            <dc:creator><![CDATA[jviide]]></dc:creator>
            <pubDate>Mon, 05 Sep 2016 17:56:27 GMT</pubDate>
            <atom:updated>2016-09-13T13:24:06.181Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>Wrote my first Rust program. It was for testing Rustls with TryTLS. Rustls did well. Had fun.</h4><p><strong>Update:</strong> There’s a <a href="https://medium.com/%C3%A4%C3%A4kk%C3%B6set/the-tests-they-are-a-changin-893bf46a814b">sequel</a> to this post. Spoilers: The tests themselves needed fixing, and now Rustls passes all of them.</p><p>During the past summer I got to work on a tool called <a href="https://github.com/ouspg/trytls">TryTLS</a>, a tool for testing how libraries use TLS. The idea is to use your language/library-combo of choice to write a tiny program, a <em>stub</em>, which TryTLS runs repeatedly against different settings for an overview how good or bad the stub’s TLS implementation is.</p><p>While all that was going on a new Rust-based TLS library, <a href="https://github.com/ctz/rustls">Rustls</a>, entered the scene. Aiming to provide a good level of cryptographic security by default without unsafe features or obsolete cryptography, it looks like a great project. Special kudos for <em>not</em> offering any way to disable certificate verification!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yYmY38OmxFcPSSdJNIhvSA.jpeg" /></figure><p>I’ve been eagerly following the development of <a href="https://www.rust-lang.org/">Rust</a> (the programming language, not the game) for a couple of years or so. Along with the project’s goals I appreciate the general groove of the community and have yearned to actually implement something Any Day Soon Now™. Through Rustls a perfect opportunity revealed itself.</p><p>Now, one autumny Oulu-Helsinki train trip later, there’s a rudimentary Rustls stub available at the <a href="https://github.com/HowNetWorks/trytls-rustls-stub">HowNetWorks/trytls-rustls-stub</a> GitHub repository. Yes, I am very proud of my imaginative repo names. Running <strong>cargo build</strong> churns out a compiled (and unoptimized) binary, however in the instructions I went with <strong>cargo run -​-quiet </strong>just to minimize the needed steps. The whole TryTLS incantation then becomes <strong>trytls https cargo run -​-quiet</strong> and prints out the following results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*ODUTQIXLwDe3KfCBie11Dg.gif" /></figure><p>All in all looking good. There <em>are</em> 4 fails, but just because those tests offer certificates with no subjectAltNames, only with Common Names. Rustls depends on the <a href="https://github.com/briansmith/webpki">webpki</a> library for certificate validation and webpki <a href="https://github.com/briansmith/webpki/issues/11">very consciously</a> doesn’t support such scenarios. In fact I think TryTLS probably, maybe, <em>perhaps</em> shouldn’t require passing those tests either. There’s now <a href="https://github.com/ouspg/trytls/issues/280">an issue</a> about that.</p><p>I must say that getting the ball rolling on this little experiment was quite effortless: Install the Rust toolchain; Run <strong>cargo new -​-bin</strong> to initialize a new project; <em>Bibbidi-bobbidi-boo</em>, off you go. The <a href="https://atom.io/packages/linter-rust">linter-rust</a> package for Atom also smoothed out the learning curve considerably. I’m kinda liking this.</p><p>The relevant software versions were Rust 1.11.0, Rustls 0.1.2, webpki 0.3.0 and TryTLS 0.3.5.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9de3d89581fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/%C3%A4%C3%A4kk%C3%B6set/a-rainy-train-trip-with-rustls-and-trytls-9de3d89581fe">A Rainy Train Trip with Rustls and TryTLS</a> was originally published in <a href="https://medium.com/%C3%A4%C3%A4kk%C3%B6set">Ääkköset</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>