<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>decrypt &#8211; SMsoft &#8211; informatica e dintorni</title>
	<atom:link href="https://blog.smsoft.it/tag/decrypt/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.smsoft.it</link>
	<description>consigli settimanali su MacOS, GNU/Linux ed Open Source</description>
	<lastBuildDate>Mon, 10 Oct 2022 10:34:35 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=67006</generator>
	<item>
		<title>Encrypt e Decrypt usando Tar ed OpenSSL</title>
		<link>https://blog.smsoft.it/2022/06/21/encrypt-e-decrypt-usando-tar-ed-openssl/</link>
					<comments>https://blog.smsoft.it/2022/06/21/encrypt-e-decrypt-usando-tar-ed-openssl/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 21 Jun 2022 08:30:00 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[decrypt]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[openssl]]></category>
		<guid isPermaLink="false">https://blog.smsoft.it/?p=5548</guid>

					<description><![CDATA[Quando si dispone di dati sensibili importanti, è fondamentale disporre di un ulteriore livello di sicurezza per i file e le directory, specialmente quando è necessario trasmettere i dati ad altri. Una soluzione veloce è combinare tar con OpenSSL. Per cifrare: dove: *: indica che facciamo riferimento a tutti i file nella cartella correnteenc: comando ... <a title="Encrypt e Decrypt usando Tar ed OpenSSL" class="read-more" href="https://blog.smsoft.it/2022/06/21/encrypt-e-decrypt-usando-tar-ed-openssl/" aria-label="Per saperne di più su Encrypt e Decrypt usando Tar ed OpenSSL">Leggi tutto</a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Quando si dispone di dati sensibili importanti, è fondamentale disporre di un ulteriore livello di sicurezza per i file e le directory, specialmente quando è necessario trasmettere i dati ad altri.</p>



<p class="wp-block-paragraph">Una soluzione veloce è combinare tar con OpenSSL.</p>



<p class="wp-block-paragraph">Per cifrare:</p>



<pre class="wp-block-code"><code>tar -czf - * | openssl enc -e -aes256 -out secured.tar.gz</code></pre>



<p class="wp-block-paragraph">dove:</p>



<p class="wp-block-paragraph">*: indica che facciamo riferimento a tutti i file nella cartella corrente<br><code>enc</code>: comando openssl per attivare la cifratura<br><code>-e</code>: l&#8217;opzione per cifrare il file di input, che in questo caso è l&#8217;output del tar<br><code>-aes256</code>: modalità di cifratura<br><code>-out</code>: l&#8217;opzione per indicare il nome da associare, es. secured.tar.gz</p>



<p class="wp-block-paragraph">Per decifrare:</p>



<pre class="wp-block-code"><code>openssl enc -d -aes256 -in secured.tar.gz | tar xz</code></pre>



<p class="wp-block-paragraph">dove:</p>



<p class="wp-block-paragraph"><code>-d</code>: usato per decifrare file</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">enjoy!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.smsoft.it/2022/06/21/encrypt-e-decrypt-usando-tar-ed-openssl/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
