Menu

A Rust terminal password manager for the accounts I create in a day
📰

A Rust terminal password manager for the accounts I create in a day

DEV Community: rust·Dmitry·7 days ago
#3eQKR6FE
#devtorust#devto#dev#file#field
Long article (458 words) — no AI summary yet.
Reading 0:00
15s threshold

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. pass was the other option, and I did not want GPG or a command for every field.

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.

A node has a name and whatever fields it needs: a login, a password, a note, a token, or something else.

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

One age-encrypted file

I pick the path of the file. A backup is a copy of that file. It is age in passphrase mode (scrypt).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.