<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cryptography on nagg.eu</title><link>https://nagg.eu/tags/cryptography/</link><description>Recent content in Cryptography on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 10 Aug 2018 14:42:19 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/cryptography/index.xml" rel="self" type="application/rss+xml"/><item><title>Generate a secure SSH key</title><link>https://nagg.eu/generate-a-secure-ssh-key/</link><pubDate>Fri, 10 Aug 2018 14:42:19 +0000</pubDate><guid>https://nagg.eu/generate-a-secure-ssh-key/</guid><description>&lt;p&gt;In Fedora, CentOS and probably many other Linux distros &lt;code&gt;ssh-keygen&lt;/code&gt;; still defaults to RSA 2048.&lt;br&gt;
People have not yet realized that the newer, and also faster, elliptic curve cryptography is available; even between my peers I still see that many of them are using old and insecure RSA based keys. Since SSH clients support multiple keys transitioning to newer keys can be painless:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;create a new elliptic curve key;&lt;/li&gt;
&lt;li&gt;do not delete the old RSA key;&lt;/li&gt;
&lt;li&gt;once you login into a server swap the old key with the new one.&lt;br&gt;
Generating a new secure SSH key is pretty simple, just open a terminal and run:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;ssh-keygen -o -a 256 -t ed25519
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>