<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dmitry</title>
    <description>The latest articles on DEV Community by Dmitry (@sumtas).</description>
    <link>https://dev.to/sumtas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4253569%2F8a5d5a43-a932-4bf2-83c9-c56c64f56913.jpg</url>
      <title>DEV Community: Dmitry</title>
      <link>https://dev.to/sumtas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sumtas"/>
    <language>en</language>
    <item>
      <title>A Rust terminal password manager for the accounts I create in a day</title>
      <dc:creator>Dmitry</dc:creator>
      <pubDate>Tue, 24 Nov 2026 12:52:38 +0000</pubDate>
      <link>https://dev.to/sumtas/a-rust-terminal-password-manager-for-the-accounts-i-create-in-a-day-2gno</link>
      <guid>https://dev.to/sumtas/a-rust-terminal-password-manager-for-the-accounts-i-create-in-a-day-2gno</guid>
      <description>&lt;p&gt;On a normal day I create a few accounts and log into a few I have not touched in months. Opening a Qt window for that got old. &lt;code&gt;pass&lt;/code&gt; was the other option, and I did not want GPG or a command for every field.&lt;/p&gt;

&lt;p&gt;So I built cretopass, an offline terminal password manager. It is a TUI, written in Rust, over one age-encrypted file. I group accounts into branches, generate the login and the password there, and search when I need one back.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2FDmitrytuk%2Fcretopass%2Fmaster%2Fdocs%2Fdemo.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2FDmitrytuk%2Fcretopass%2Fmaster%2Fdocs%2Fdemo.gif" alt="Opening a recent file, searching, copying a field, and adding a node that is not a password" width="800" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A node has a name and whatever fields it needs: a login, a password, a note, a token, or something else.&lt;/p&gt;

&lt;p&gt;The loop is the same most days. I open a recent file, search, copy one field, and leave. While I am creating the account, &lt;code&gt;Ctrl+G&lt;/code&gt; on a password field opens the generator. On a login field it writes a word, and a second press replaces it. &lt;code&gt;c&lt;/code&gt; or &lt;code&gt;y&lt;/code&gt; on a field is the only way a value reaches the system clipboard. Looking at a field does not copy it.&lt;/p&gt;

&lt;h2&gt;
  
  
  One age-encrypted file
&lt;/h2&gt;

&lt;p&gt;I pick the path of the file. A backup is a copy of that file. It is &lt;a href="https://age-encryption.org" rel="noopener noreferrer"&gt;age&lt;/a&gt; in passphrase mode (scrypt). Without the passphrase it is ciphertext, and if I forget the passphrase there is no recovery. There is no account and no cloud.&lt;/p&gt;

&lt;p&gt;There is no browser autofill and no phone app. Two machines must not write the same file. There is no change tracking, so a second writer is not a merge, it is a lost save. An encrypted share-bundle exists (&lt;code&gt;Ctrl+E&lt;/code&gt;, then &lt;code&gt;s&lt;/code&gt;): I hand someone a still-encrypted folder, and they open it with a passphrase typed at share time. That is not sync, and it is not a shared login.&lt;/p&gt;

&lt;p&gt;KeePassXC is the better tool if you want the browser. &lt;code&gt;pass&lt;/code&gt; is the better tool if you want GPG and a file per secret. cretopass does not read the &lt;code&gt;pass&lt;/code&gt; format. The code has not been independently audited.&lt;/p&gt;

&lt;h2&gt;
  
  
  No network calls
&lt;/h2&gt;

&lt;p&gt;The current binary makes no network calls.&lt;/p&gt;

&lt;p&gt;For a while the binary could update itself. &lt;code&gt;cretopass update&lt;/code&gt; downloaded an install script from GitHub Releases and ran it. The updater did not unlock the file, but it was the same program that holds decrypted secrets, fetching a script and executing it with my privileges. The hash check lived in that script, fetched over the same channel, and on a mismatch it asked whether to continue anyway. That is not a signature. I deleted the command. To update I re-run the installer, or I use the package manager.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo install cretopass
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The release binary and its checksum are on the &lt;a href="https://github.com/Dmitrytuk/cretopass/releases/latest" rel="noopener noreferrer"&gt;latest release&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://cretopass.app" rel="noopener noreferrer"&gt;https://cretopass.app&lt;/a&gt;&lt;br&gt;
Repo: &lt;a href="https://github.com/Dmitrytuk/cretopass" rel="noopener noreferrer"&gt;https://github.com/Dmitrytuk/cretopass&lt;/a&gt;&lt;/p&gt;

</description>
      <category>rust</category>
      <category>security</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
