🔧 Programmierung 🕛 vor 2 Monaten 3 Min Lesezeit
0

I built a local-only credential vault because every dev team I worked with stored PATs in Notepad

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




The Problem I Kept Seeing



Over the past year working across multiple client teams on

DevOps and pipeline work, I kept noticing the same thing.



Developers storing GitHub PATs in Notepad.

QA engineers keeping API keys in a text file on the desktop.

DevOps folks with database passwords in a sticky note app.



During screen shares — sprint reviews, debugging sessions,

pair programming, recorded demos — those credentials were

just sitting there. Visible to everyone in the call.



Nobody said anything. It just kept happening.







Why Existing Tools Didn't Fit



I looked for something simple that solved this. Here's what

I found and why none of it quite worked:



Password managers (1Password, Bitwarden)

Good tools. But they're built around cloud sync, browser

extensions, and team sharing. For an individual developer

who just wants somewhere safe to keep a PAT — overkill.

Also: corporate IT policies often block installation of

cloud-synced password managers on work machines.



Secret managers (HashiCorp Vault, AWS Secrets Manager)

These are infrastructure tools, not personal workflow tools.

Setting up Vault for an individual developer's PAT collection

is like using a forklift to move a chair.



OS keystores (Windows Credential Manager, macOS Keychain)

Actually decent for storage. But no UI built for this

workflow, no copy-to-clipboard, and they don't solve the

screen-exposure problem at all.



The gap: Something simple, local, and designed around

the moment of use — not just storage.







So I Built Tokenly



Tokenly is a local-only desktop credential vault. The core

design principle is simple:



Credential values are never shown on screen.



You copy them to clipboard. That's the only way to use them.

The clipboard auto-clears after 30 seconds.



If you need to visually verify a value — press and hold a

button. Release it, the value hides immediately. Not a

toggle — a hold. Toggles get forgotten. Holds don't.







Technical Decisions Worth Explaining





Why Tauri over Electron



Tauri uses the operating system's existing WebView (Edge

WebView2 on Windows, WKWebView on macOS) rather than

bundling an entire Chromium browser. The result:




  • Installer under 10MB vs 150MB+ for Electron apps

  • Rust backend with explicit permissions — nothing the
    React frontend can do reaches the system without a
    registered Tauri command

  • Memory-safe backend by design



For a security tool, the permission model matters. Electron's

Node.js backend has broad filesystem access by default.

That's the wrong posture for a vault application.





Why AES-256-GCM specifically



AES-256-GCM is authenticated encryption — it doesn't just

encrypt, it detects tampering. Every encrypted blob includes

a 128-bit authentication tag. Wrong password or modified

file, the tag fails before any data is returned.



This means:




CODE
let plaintext = cipher
.decrypt(nonce, ciphertext)
.map_err(|_| "Wrong password or corrupted vault".to_string())?;






If decryption succeeds — the password was correct. If it

fails — wrong password or tampered file. No password

comparison ever happens. The encrypted data itself is

the verification mechanism.






Why Argon2id for key derivation



The master password is never stored anywhere. Instead,

Argon2id derives a 256-bit encryption key from the

password + a random salt:

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
6 Quellen
CVE-2022-44255 | TOTOLINK LR350 9.3.5u.6369_B20220309 buffer overflow (EUVD-2022-47204)
2 Quellen
CVE-2026-68426 | Linux Kernel up to 6.18.41/7.1.5/7.2-rc3 xfrm validate_xmit_skb_list use after free (Nessus ID 346426)
1 Quelle
Windows 11 Probleme mit gültiger Domänenanmeldung nach September-Update [Workaround]
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I built a local-only credential vault because every dev team I worked with stored PATs in Notepad

Thematisch verwandte Begriffe: built, localonly, credential, vault · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...