惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
罗磊的独立博客
月光博客
月光博客
IT之家
IT之家
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
小众软件
小众软件
C
Check Point Blog
B
Blog RSS Feed
H
Help Net Security
博客园 - 司徒正美
L
LangChain Blog
MongoDB | Blog
MongoDB | Blog
B
Blog
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built a local-only credential vault because every dev t...
Shivsai Anantwar · 2026-06-24 · via DEV Community

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:

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: