<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media = "http://search.yahoo.com/mrss/" version="2.0">
  <channel>
    <title>Posts on Limawi Blog</title>
    <link>https://blog.limawi.io/en-us/posts/</link>
    <image>
      <url>https://blog.limawi.io/logo.png</url>
      <title>Posts on Limawi Blog</title>
      <link>https://blog.limawi.io/en-us/posts/</link>
    </image>
    <description>Cloud, DevOps and tools for all of that.</description>
    <language>en-us</language>
    <lastBuildDate>Fri, 30 Apr 2021 10:20:21 +0000</lastBuildDate><atom:link href="https://blog.limawi.io/en-us/posts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>On git never store secrets</title>
      <link>https://blog.limawi.io/en-us/posts/on-git-never-store-secrets/</link>
      <pubDate>Fri, 30 Apr 2021 10:20:21 +0000</pubDate>
      <guid>https://blog.limawi.io/en-us/posts/on-git-never-store-secrets/</guid>
      <description>I see a bad use in the git world.</description>
      <content:encoded><![CDATA[<p>Even if some projects encourage this behaviour.
Be clear on that point: storing secrets on git always is a bad idea.</p>
<h2 id="remote-git-flow-breaking">Remote git flow breaking</h2>
<p>If you store a secret on git, you are supposed to store it encrypted (obviously).</p>
<p>To do a versioning you simply use a <em>commit</em>.
As the encryption algorithm is non-deterministic (as it should be, it is not a hash),
you end up with a blob of encrypted data which is entirely different from the previous <em>commit</em>.
It makes impossible to do a compare and the full file is uploaded everytime.</p>
<p>Now, more funny. You want to do a <em>git merge</em> because 2 branches received separate updates on their secrets.
As you have to compare 2 entirely different encrypted files, what advantages can offer any <em>merge</em> strategy from git.
You definitely will end up screwing up your file and loose the contained secrets.</p>
<h2 id="local-git-flow-breaking">Local git flow breaking</h2>
<p>You could say &ldquo;this way I manage my secrets with the same flow as my code&rdquo;. And I shall answer &ldquo;Really ? Are you really sure on that ?&rdquo;</p>
<p>So let&rsquo;s have a look at your local flow, as I already explained that your remote flow is definitely dead.</p>
<ul>
<li>You pull the repo</li>
<li>You integrate it into your VSCode or your terminal or any other IDE</li>
<li>You change something on the code</li>
<li>You <em>commit</em></li>
<li>You pull and push</li>
</ul>
<p>Okay, now for the secrets.</p>
<ul>
<li>You pull the repo</li>
<li>You integrate it into your VSCode or your terminal or any other IDE</li>
<li>So far so good</li>
<li>Hopefully you installed the tool to decrypt your secrets file</li>
<li>You decrypt it (hoping the tool is integrated in your IDE)</li>
<li>You change something on it</li>
<li>You encrypt it with the same tool or another</li>
<li>You double-triple check that you did not leave the unencrypted file somewhere on your workspace</li>
<li>you <em>commit</em> with a drop on your forehead and a pain on your stomach</li>
<li>you pull</li>
<li>you try to figure out how to solve the conflict between your 2 blobs of encrypted file because a new <em>commit</em> on remote already altered the file</li>
<li>you <em>commit</em> again hoping you did not screw everything up</li>
<li>you push</li>
<li>you see afterwards that you <em>commit</em> the unencrypted file as well and secrets are now freely available on the <em>remote</em></li>
<li>you desperately try to reset screwing up the git flow for the whole team</li>
<li>you cry</li>
</ul>
<p>I&rsquo;m not sure it is the same git flow.</p>
<p>As conclusion, store your secrets in storages made for that. For instance, Hashicorp Vault on your infrastructure and keepassXC locally.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Musics used</title>
      <link>https://blog.limawi.io/en-us/posts/musics-used/</link>
      <pubDate>Sat, 23 Jan 2021 19:28:37 +0000</pubDate>
      <guid>https://blog.limawi.io/en-us/posts/musics-used/</guid>
      <description>Here is the list of musics used in our contents with their associated license.</description>
      <content:encoded><![CDATA[<h2 id="current-playlists">Current playlists</h2>
<h3 id="ambiance-playlist">Ambiance playlist</h3>
<hr>
<p>﻿
Artist : Almusic34</p>
<p>Title : 432 Hz Space ambiant</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/432-hz-space-ambientmp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/432-hz-space-ambientmp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>Artist : Almusic34</p>
<p>Title : 432 Hz tuned Landscape 1</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/432hz-tuned-landscape-1mp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/432hz-tuned-landscape-1mp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Ov Moi Omm</p>
<p>Title : And Their Domain</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/ov-moi-omm/single/and-their-domain" target="_blank">https://freemusicarchive.org/music/ov-moi-omm/single/and-their-domain</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Almusic34</p>
<p>Title : Deep space travel</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/deep-space-travelmp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/deep-space-travelmp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Almusic34</p>
<p>Title : Harmony in the night</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/harmony-in-the-nightmp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/harmony-in-the-nightmp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Lex Villena</p>
<p>Title : Origins</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/lex-villena/single/origins" target="_blank">https://freemusicarchive.org/music/lex-villena/single/origins</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Almusic34</p>
<p>Title : Peace landscape 3</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/peace-landscape-3mp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/peace-landscape-3mp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Ov Moi Omm</p>
<p>Title : Somewhere Above South Eastern Oceans</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/ov-moi-omm/single/somewhere-above-south-eastern-oceans" target="_blank">https://freemusicarchive.org/music/ov-moi-omm/single/somewhere-above-south-eastern-oceans</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Almusic34</p>
<p>Title : Space ambiant mix4</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/space-ambient-mix4mp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/space-ambient-mix4mp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Ov Moi Omm</p>
<p>Title : The Sabian Star Worshippers</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/ov-moi-omm/single/the-sabian-star-worshippers" target="_blank">https://freemusicarchive.org/music/ov-moi-omm/single/the-sabian-star-worshippers</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Almusic34</p>
<p>Title : tranquility</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/tranquilitymp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/tranquilitymp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : Almusic34</p>
<p>Title : Voices and bells</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/almusic34/single/voices-and-bellsmp3" target="_blank">https://freemusicarchive.org/music/almusic34/single/voices-and-bellsmp3</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<h3 id="introduction-playlist">Introduction playlist</h3>
<hr>
<p>﻿Artist : Itsensäsyöjät</p>
<p>Title : Introduction beats</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/Itsenssyjt/Elektrique/01-Introduction_beats" target="_blank">https://freemusicarchive.org/music/Itsenssyjt/Elektrique/01-Introduction_beats</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<p>﻿Artist : ROZKOL</p>
<p>Title : Opening Credits</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/ROZKOL/Roadside_Picnic/ROZKOL_-_Roadside_Picnic_-_01_Opening_Credits" target="_blank">https://freemusicarchive.org/music/ROZKOL/Roadside_Picnic/ROZKOL_-_Roadside_Picnic_-_01_Opening_Credits</a></p>
<p>License : Creative Commons Attribution 4.0 International (CC BY 4.0) 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">https://creativecommons.org/licenses/by/4.0/</a></p>
<hr>
<h3 id="conclusion-playlist">Conclusion playlist</h3>
<hr>
<p>﻿Artist : TRG Banks</p>
<p>Title : Evening journey</p>
<p>Link : 
<a href="https://freemusicarchive.org/music/TRG_Banks/The_Rainbows_End/Evening_journey" target="_blank">https://freemusicarchive.org/music/TRG_Banks/The_Rainbows_End/Evening_journey</a></p>
<p>License : CC0 1.0 Universal (CC0 1.0) Public Domain Dedication 
<a href="https://creativecommons.org/publicdomain/zero/1.0/" target="_blank">https://creativecommons.org/publicdomain/zero/1.0/</a></p>
<hr>
<h2 id="old-playlist">Old playlist</h2>
<p>License: 
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">Creative Commons Attribution 4.0 International (CC BY 4.0)</a></p>
<ul>
<li>
<a href="https://www.chilloutmedia.com/who-i-want-to-be" target="_blank">https://www.chilloutmedia.com/who-i-want-to-be</a></li>
<li>
<a href="https://incompetech.filmmusic.io/song/6928-on-hold-for-you" target="_blank">https://incompetech.filmmusic.io/song/6928-on-hold-for-you</a></li>
<li>
<a href="https://incompetech.filmmusic.io/song/3454-bossa-antigua" target="_blank">https://incompetech.filmmusic.io/song/3454-bossa-antigua</a></li>
<li>
<a href="https://incompetech.filmmusic.io/song/4379-smooth-lovin" target="_blank">https://incompetech.filmmusic.io/song/4379-smooth-lovin</a></li>
<li>
<a href="https://incompetech.filmmusic.io/song/3918-inspired" target="_blank">https://incompetech.filmmusic.io/song/3918-inspired</a></li>
<li>
<a href="https://incompetech.filmmusic.io/song/3408-backbay-lounge" target="_blank">https://incompetech.filmmusic.io/song/3408-backbay-lounge</a></li>
<li>
<a href="https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/17-17" target="_blank">https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/17-17</a></li>
<li>
<a href="https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Call_Your_Grandma" target="_blank">https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Call_Your_Grandma</a></li>
<li>
<a href="https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Jax-Trax" target="_blank">https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Jax-Trax</a></li>
<li>
<a href="https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Ready" target="_blank">https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Ready</a></li>
<li>
<a href="https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Wants_To_Know" target="_blank">https://freemusicarchive.org/music/BODYSURFER/Digital_Prints/Wants_To_Know</a></li>
<li>
<a href="https://freemusicarchive.org/music/Andy_G_Cohen/prisma/hoist" target="_blank">https://freemusicarchive.org/music/Andy_G_Cohen/prisma/hoist</a></li>
<li>
<a href="https://freemusicarchive.org/music/Andy_G_Cohen/prisma/our-young-guts" target="_blank">https://freemusicarchive.org/music/Andy_G_Cohen/prisma/our-young-guts</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/Turtle_Warnings/Weirder" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/Turtle_Warnings/Weirder</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/Turtle_Warnings/Yodelling_Walmart_Kid" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/Turtle_Warnings/Yodelling_Walmart_Kid</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/ROLLA_-_DRAKE_STAFFORD" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/ROLLA_-_DRAKE_STAFFORD</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/CASETS_-_DRAKE_STAFFORD" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/CASETS_-_DRAKE_STAFFORD</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/Dolos" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/Dolos</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/FADED_-_DRAKE_STAFFORD" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/SUNDAY/FADED_-_DRAKE_STAFFORD</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/Drake_Stafford_-_Singles/Devil_Man" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/Drake_Stafford_-_Singles/Devil_Man</a></li>
<li>
<a href="https://freemusicarchive.org/music/Drake_Stafford/Drake_Stafford_-_Singles/Glimpse_1485" target="_blank">https://freemusicarchive.org/music/Drake_Stafford/Drake_Stafford_-_Singles/Glimpse_1485</a></li>
</ul>
<p>License : 
<a href="https://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons Attribution 3.0 Unported (CC BY 3.0)</a></p>
<ul>
<li>
<a href="https://escp-music.bandcamp.com/track/dreamwalking" target="_blank">https://escp-music.bandcamp.com/track/dreamwalking</a></li>
<li>
<a href="https://soundcloud.com/artificial-music/ythc?in=artificial-music/sets/waves" target="_blank">https://soundcloud.com/artificial-music/ythc?in=artificial-music/sets/waves</a></li>
<li>
<a href="https://soundcloud.com/artificial-music/tea" target="_blank">https://soundcloud.com/artificial-music/tea</a></li>
<li>
<a href="https://soundcloud.com/jas-productionz/lo-fi-type-beat-she-so-cold-rap-hip-hop-beat" target="_blank">https://soundcloud.com/jas-productionz/lo-fi-type-beat-she-so-cold-rap-hip-hop-beat</a></li>
<li>
<a href="https://soundcloud.com/jas-productionz/lo-fi-hip-hop-x-boom-bap-rap-type-beat-keeping-secrets" target="_blank">https://soundcloud.com/jas-productionz/lo-fi-hip-hop-x-boom-bap-rap-type-beat-keeping-secrets</a></li>
<li>
<a href="https://soundcloud.com/thisislegang/it-meant-everything-to-me" target="_blank">https://soundcloud.com/thisislegang/it-meant-everything-to-me</a></li>
<li>
<a href="https://soundcloud.com/thisislegang/ill-go-out-to-run-now" target="_blank">https://soundcloud.com/thisislegang/ill-go-out-to-run-now</a></li>
<li>
<a href="https://soundcloud.com/thisislegang/come-on-lets-go" target="_blank">https://soundcloud.com/thisislegang/come-on-lets-go</a></li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>How to fix the root flaw in MacOS High Sierra</title>
      <link>https://blog.limawi.io/en-us/posts/how-to-fix-the-root-flaw-in-macos-high-sierra/</link>
      <pubDate>Wed, 29 Nov 2017 11:46:22 +0000</pubDate>
      <guid>https://blog.limawi.io/en-us/posts/how-to-fix-the-root-flaw-in-macos-high-sierra/</guid>
      <description>A turkish researcher found a flaw allowing the access to root account without password on MacOS High Sierra.</description>
      <content:encoded><![CDATA[<p>This flaw is critical because easily executable. It can be used locally or remotely if the device has an active VNC protocol (screen sharing activated).
This flaw grants access to all device&rsquo;s permissions. The attacker can do whatever he wants.</p>
<h3 id="attack-surface">Attack surface</h3>
<p>The access to the authentication panel to tape the administrator password is the only thing needed.
This panel is available from any account on the device (locally or remotely via VNC protocol).</p>
<p>The flaw comes from the mistakenly activated root account on MacOS High Sierra.
This root account is an inheritance of the UNIX system from which MacOS is developed.
It is present and used in the Linux world but normally is deactivated (available but deactivated) on Mac, replaced with administrator accounts that cannot access system files.</p>
<h3 id="how-to-protect-yourself">How to protect yourself</h3>
<p>You just need to set a password for this root account. Never loose this password.</p>
<h4 id="in-command-lines-from-whatever-administrator-account-on-the-device">In command lines from whatever administrator account on the device</h4>
<ul>
<li>Open the terminal. The application is available in the folder <code>Applications &gt; Utilities</code>.</li>
<li>Enter the following command line then press <code>Enter</code>: <code>sudo passwd -u root</code></li>
<li>A password will be asked, enter the password of your root account then press <code>Enter</code>.</li>
<li>Enter the same password to confirm and press <code>Enter</code> again.</li>
<li>Your root account is configured with a password.</li>
</ul>
<h4 id="with-the-graphic-interface">With the graphic interface</h4>
<ul>
<li>Go to the menu <code> &gt; System Preferences</code>.</li>
<li>Click Users &amp; Groups (or Accounts).</li>
<li>Click the padlock, then enter an administrator name and password.</li>
<li>Click Login Options.</li>
<li>Click Join (or Edit).</li>
<li>Click Open Directory Utility.</li>
<li>Click the padlock in the Directory Utility window, then enter an administrator name and password.</li>
<li>From the menu bar in Directory Utility, choose <code>Edit &gt; Change Root Password...</code></li>
<li>Enter a root password when prompted.</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>SSL/TLS and HSTS, what is that ?</title>
      <link>https://blog.limawi.io/en-us/posts/ssltls-and-hsts-what-is-that/</link>
      <pubDate>Thu, 18 May 2017 13:07:01 +0000</pubDate>
      <guid>https://blog.limawi.io/en-us/posts/ssltls-and-hsts-what-is-that/</guid>
      <description>Our websites are made safe with https. That means that we use SSL/TLS. But what is that ? And what is the HSTS extension ?</description>
      <content:encoded><![CDATA[<h2 id="the-running-of-ssltls">The running of SSL/TLS</h2>
<p>SSL/TLS is a protocol that provides server identity verification (for instance a web server like 
<a href="https://limawi.io/en-us" target="_blank">Limawi</a>,
in that case we speak about https because the protocol to access a web server is called http).
This identity verification works with a certificate sent from the server.</p>
<p>Here is the protocol step by step (technical terms are present in the graphs):</p>
<ul>
<li>The client software asks the server its identity</li>
<li>The server sends a certificate signed by the certification authority trusted by both the client software and the server to the client software</li>
<li>The client software checks if the signature belongs to the certification authority it trusts</li>
<li>It sends a request to this certification authority to check if it ensures that the certificate is still valid</li>
<li>The client software and the server agree on a session key that will encrypt informations during a limited period (this time passed, another session key will take the place,
the details for 
<a href="https://limawi.io/en-us" target="_blank">Limawi</a> are explained in the graphs about the session key)</li>
<li>The client software and the server can communicate in a secure way</li>
</ul>
<div class="row">
<div class="col-lg-6 col-md-6">

<figure class="figure text-center">
  <img src="https://blog.limawi.io/en-us/posts/ssltls-and-hsts-what-is-that/images/ssltls-identity-server-protocol.png" class="figure-img img-fluid rounded" alt="Diagram displaying the SSL/TLS identity flow">
  <figcaption class="figure-caption"><p>SSL/TLS identity server protocol with Let’s Encrypt</p>
    <small>Diagram displaying the SSL/TLS identity flow</small>
  </figcaption>
</figure>

</div>

<div class="col-lg-6 col-md-6">

<figure class="figure text-center">
  <img src="https://blog.limawi.io/en-us/posts/ssltls-and-hsts-what-is-that/images/ssltls-server-session-protocol.png" class="figure-img img-fluid rounded" alt="Diagram displaying the SSL/TLS session flow">
  <figcaption class="figure-caption"><p>SSL/TLS server session protocol with Let’s Encrypt</p>
    <small>Diagram displaying the SSL/TLS session flow</small>
  </figcaption>
</figure>

</div>

</div>

<h2 id="the-hsts-extension">The HSTS extension</h2>
<p>The HSTS extension is a http protocol extension (the protocol that loads webpages) reinforcing the SSL/TLS use.</p>
<p>This extension forces the browser to load secure versions of a webpage and all the ressources this page holds (that is to say https versions) in a domain (the base address of a website) that implements it.</p>
<p>If the wanted webpage does not have any secure version, it is not loaded on the browser.</p>
<p>Once the browser accesses a website implementing this extension it keeps in memory that the next webpages wanted on that website must be secured. It can check it even before sending the first request to the website.</p>
<p>A HSTS extension is valid for a limited period and the browser must check at the end of this time if the website always uses this extension to start another period.</p>
<p>Domains (base address of a website) can be preloaded in a database available in your browser.
That way the browser knows even before sending the first request of its history to a webpage that it must be secure otherwise it does not load it.</p>
<p>This base is available here: 
<a href="https://hstspreload.org/" target="_blank">HSTS Preload</a></p>
<h2 id="with-limawi">With Limawi</h2>
<p>With 
<a href="https://limawi.io/en-us" target="_blank">Limawi</a>, the certification authority is 
<a href="https://letsencrypt.org/" target="_blank">Let&rsquo;s Encrypt</a>.</p>
<p>The session key exchange between the client software and the server is done with the Diffie-Helman protocol
that creates a symmetrical session key without exchanging secret elements.</p>
<p>
<a href="https://limawi.io/en-us" target="_blank">Limawi</a> uses HSTS. The HSTS validity period is 6 months.</p>
<h2 id="references">References</h2>
<ul>
<li>SSL/TLS: 
<a href="https://en.wikipedia.org/wiki/Transport_Layer_Security" target="_blank">Wikipedia</a></li>
<li>HSTS: 
<a href="https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security" target="_blank">Wikipedia</a></li>
<li>Diffie-Helman: 
<a href="https://en.wikipedia.org/wiki/Diffie%e2%80%93Hellman_key_exchange" target="_blank">Wikipedia</a></li>
<li>Preloading for Limawi: 
<a href="https://hstspreload.org/?domain=limawi.io" target="_blank">HSTS Preload</a></li>
</ul>]]></content:encoded>
    </item>
  </channel>
</rss>
