<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Credential Management on Blog</title>
    <link>https://kazuf3.nicheapplab.com/categories/credential-management/</link>
    <description>Recent content in Credential Management on Blog</description>
    <image>
      <title>Blog</title>
      <url>https://kazuf3.nicheapplab.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://kazuf3.nicheapplab.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 06 May 2026 10:04:41 -0700</lastBuildDate>
    <atom:link href="https://kazuf3.nicheapplab.com/categories/credential-management/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Secure WSL2 Credentials with pass, GnuPG, and Kleopatra</title>
      <link>https://kazuf3.nicheapplab.com/posts/use-of-pass-and-kleopatra/</link>
      <pubDate>Wed, 06 May 2026 10:04:41 -0700</pubDate>
      <guid>https://kazuf3.nicheapplab.com/posts/use-of-pass-and-kleopatra/</guid>
      <description>&lt;p&gt;Here is the complete Markdown article for your setup. It includes the updated
path logic and the switch to pipx for better tool isolation.&lt;/p&gt;
&lt;p&gt;This guide walks you through a &amp;ldquo;hardened&amp;rdquo; credential setup: storing secrets in
the Linux-native pass utility within WSL2, while leveraging Gpg4win/Kleopatra on
Windows to handle secure graphical passphrase prompts.&lt;/p&gt;
&lt;h2 id=&#34;why-this-setup&#34;&gt;Why this setup?&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Safety: Secrets are encrypted at rest with GnuPG.&lt;/li&gt;
&lt;li&gt;Convenience: Uses the Windows GUI (Kleopatra) for passphrase entry.&lt;/li&gt;
&lt;li&gt;More robust than other pinentry setup, especially when you use pgp keys for
different applications, such as magit on &lt;code&gt;emacs -nw&lt;/code&gt; or &lt;code&gt;sbt publishSigned&lt;/code&gt;,
that asks passphrases in an async interactive session of a shell.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&#34;1-prerequisites&#34;&gt;1. Prerequisites&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Windows: &lt;a href=&#34;https://www.gpg4win.org/&#34;&gt;Gpg4win&lt;/a&gt; installed (includes Kleopatra).&lt;/li&gt;
&lt;li&gt;WSL2: A Linux distro (e.g., Ubuntu) installed.&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id=&#34;2-generate-your-gpg-key-pair&#34;&gt;2. Generate Your GPG Key Pair&lt;/h2&gt;
&lt;p&gt;Before using pass, you need a GPG key pair to encrypt your secrets. Generate the key:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
