<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>OpenSSL on datahacker</title>
		<link>https://datahacker.blog/tags/openssl/</link>
		<description>Recent content in OpenSSL on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Wed, 07 Sep 2022 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/tags/openssl/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Clear as Mud: OpenSSL and Ubuntu&#39;s Versioning System</title>
				<link>https://datahacker.blog/reference/linux-systems/ubuntu/clear-as-mud-openssl-and-ubuntu-versioning-system/</link>
				<pubDate>Mon, 07 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/ubuntu/clear-as-mud-openssl-and-ubuntu-versioning-system/</guid>
				<description>&lt;p&gt;In &lt;a href=&#34;https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/&#34;&gt;False Version Reporting in Ubuntu 16.04&lt;/a&gt;, I used OpenSSL to show why a program&amp;rsquo;s version banner can be misleading on its own. An Ubuntu build can retain the upstream base version and still contain fixes from later work. To find out what is installed, start with the binary and the package, then check the relevant security notice.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Verifying Ubuntu&amp;rsquo;s Version of OpenSSL&lt;/h2&gt;&#xA;&lt;p&gt;These commands answer different questions:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;command&lt;/span&gt; -v openssl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;openssl version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;openssl version -a&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;dpkg-query -W -f&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;${Package}\t${Version}\n&amp;#39;&lt;/span&gt; openssl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;apt-cache policy openssl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;command -v&lt;/code&gt; shows what your shell would run. The short version string identifies the OpenSSL build&amp;rsquo;s upstream version label. In the historical banner &lt;code&gt;OpenSSL 1.0.2g  1 Mar 2016&lt;/code&gt;, the date belongs to the upstream release label; it is not the date the Ubuntu binary was built. The &lt;a href=&#34;https://manpages.ubuntu.com/manpages/xenial/man1/version.1ssl.html&#34;&gt;version command documentation&lt;/a&gt; distinguishes that output from the build-date option (&lt;code&gt;-b&lt;/code&gt;), which is included in the more detailed &lt;code&gt;-a&lt;/code&gt; output.&lt;/p&gt;</description>
			</item>
			<item>
				<title>False Version Reporting in Ubuntu 16.04</title>
				<link>https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/</link>
				<pubDate>Tue, 01 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/</guid>
				<description>&lt;p&gt;An OpenSSL version check on Ubuntu 16.04 could print the same &lt;code&gt;1.0.2g&lt;/code&gt; banner before and after a security update. The package did change. The short banner identifies the upstream base, not the full Ubuntu build or its patch history. That distinction matters when a version check guides an upgrade or a dependency decision.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-tip&#34; aria-label=&#34;Tip&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Tip&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;&lt;p&gt;This is a sister article to &lt;a href=&#34;https://datahacker.blog/reference/linux-systems/ubuntu/clear-as-mud-openssl-and-ubuntu-versioning-system/&#34;&gt;Clear as Mud: OpenSSL and Ubuntu&amp;rsquo;s Versioning System&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
