<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Tor on Queer Soy Code</title>
		<link>https://code.queer.soy/blog/tor/</link>
		<description>Recent content in Tor on Queer Soy Code</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Thu, 18 Jun 2026 12:11:29 +0200</lastBuildDate>
		
			<atom:link href="https://code.queer.soy/blog/tor/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Migrating an onion service key from arti to C tor</title>
				<link>https://code.queer.soy/migrating-an-onion-service-key-from-arti-to-c-tor/</link>
				<pubDate>Thu, 18 Jun 2026 12:11:29 +0200</pubDate>
				<guid>https://code.queer.soy/migrating-an-onion-service-key-from-arti-to-c-tor/</guid>
				<description>&lt;p&gt;I started an onion service &lt;a href=&#34;https://onionservices.torproject.org/apps/base/containers/howto/#docker-compose-or-podman-compose&#34;&gt;using arti&lt;/a&gt; and exposed it, but then I realized that arti is too experimental and wanted to move to C tor. According to &lt;a href=&#34;https://onionservices.torproject.org/dev/implementations/#from-arti-to-c-tor&#34;&gt;this page&lt;/a&gt; they don&amp;rsquo;t plan to offer support to migrate from arti keys to C tor ones, so I had to do it manually.&lt;/p&gt;&#xA;&lt;p&gt;Extract the key:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&lt;/span&gt;&lt;span&gt;docker compose exec arti cat /home/arti/.local/share/arti/keystore/hss/onimages/ks_hs_id.ed25519_expanded_private &amp;gt; hs&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Decode it:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&lt;/span&gt;&lt;span&gt;grep -v &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;^-&amp;#39;&lt;/span&gt; hs | tr -d &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;\n&amp;#39;&lt;/span&gt; | base64 -d &amp;gt; hs_decoded&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Hex it for a manual split:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
