I'm building a password manager. Now I know what I got myself into.
In the first post in this #BuildInPublic series, I explained how a plan to sell a few things online turned into building Palladin. I also promised to come back and explain more of what I’m actually building. Well, here I am.
Six months later, I’ve learned that “password manager” has a surprising number of unprintable synonyms.
I started with the idea of a password manager for AI agents. As I built it, storing credentials turned out to be only the beginning. You also need to decide which agent can use them, when, and under what conditions. Today, the vision for Palladin is broader: a platform for managing AI agents’ access. The credential vault, also available to human users, remains one of its foundations.
This post is about that foundation: why a simple password list stops being simple when the server must never see its contents. And how much work sits between “make it secure” and “I just want to log in.”
TL;DR - the article in 30 seconds
- I'm building Palladin to manage access for AI agents. A credential vault that humans can use too is the starting point.
- The server stores encrypted entries. Decryption, search, and some business logic therefore belong on the client device.
- Security and convenience can get in each other's way. Pairing tools, unlocking a vault, and changing access require separate decisions, not one “secure” setting.
- I'm building an ecosystem, not a single interface: a web panel, a mobile app, an extension, and CLI/MCP tools.
- Cryptography includes the key lifecycle and preparing for future changes. And working code is no substitute for trust in a product.
- I regularly wonder what I've got myself into. Yet each problem I solve gives me a little more confidence in the project.
1. The backend can’t do everything for me
When you build business applications, you get used to a certain setup. The client sends a request, the backend fetches data, runs the logic, and returns a result. Need another detail? Fetch it from the API.
Here, the starting point is different: the server does not know the plaintext contents of credential entries. Not just the password, but also the entry name, its stored URL, and the other protected fields. This is about privacy as much as security: even knowing which services I have accounts with tells you something about me. That’s the zero-knowledge model as it applies to the vault’s contents: the backend stores encrypted data, and only a client with the appropriate keys decrypts it. To me, privacy first means starting with the question of what information the server should never receive, rather than collecting everything just in case.
Searching entries on the server and handling every key operation there would be more convenient. It would also defeat the data protection model I chose.
What changes in practice?
- Fetching data: I synchronize the encrypted state the client needs instead of treating every use of an entry as a separate API fetch.
- Search and retrieval: the client opens a local index and decrypts the data it needs on the device.
- Cryptographic operations: parts of the process, such as preparing new key material during rotation, require an authorized client.
- Joining data: I assemble a readable activity history on the frontend, not the backend. I combine technical events and identifiers with information about who performed the action and locally decrypted entry names. The user sees who changed what, without the server needing to know the vault’s protected contents.
This doesn’t mean I always fetch everything at once. History or attachments can still be loaded separately. What changes most is which side can work with plaintext data.
The server still enforces permissions and handles synchronization, but some business logic has to run on the client. Longer processes require coordination: what happens when an operation is interrupted, and where does it resume? A key rotation saga doesn’t become simpler just because some of its steps run in a browser.
I can’t believe I’m writing this, but… the frontend doesn’t have to be dumb, and the backend doesn’t need a monopoly on business logic. Context matters. If an operation requires decrypted data, the client may be the right place for it. That doesn’t let the server off the hook for enforcing permissions. It changes the division of work.
2. Secure. Private. Convenient. Now make all three work together.
My agent and I want to log in without jumping through hoops. I still need to verify the site and process, and make sure access can be locked down.
For the user, pairing the CLI with the extension means: start, confirm, done. For me: verify the other side, define the scope of consent, and allow the connection to be revoked. An unknown process saying “it’s me” isn’t enough.
That “remove access” button involves rotating shared keys and distributing new ones to the remaining members. The server doesn’t know those keys in plaintext, so clients have to participate. The operation must be resumable after a lost connection, and the interface can’t announce success halfway through. Rotation won’t take back a copy of the data someone already saved, either.
A simple interface doesn’t remove that complexity. It hands it to me.
Codex and Claude can add restrictions of their own by overinterpreting requirements. Then I fix the bugs those restrictions caused. The safeguard works. The product? Not necessarily.
So I ask: what does this rule protect against, and does it block legitimate behavior? Adding “security” to the explanation doesn’t settle the question.
3. A password manager isn’t one app. And Palladin goes further.
So far, I’ve mostly described what happens between client and server. The problem is that “client” doesn’t mean a single application here. Using credentials on my phone, using them in a browser, and making them available to an agent’s tool are different workflows.
Storage is only part of it. There are also access decisions: who can use an entry, for what purpose, and under which conditions? Each workflow needs its own interface, but all of them have to respect the same rules.
In Palladin, I’m developing:
- a web panel for managing data and access;
- a mobile app for using passwords and approving requests;
- a browser extension for working with login forms;
- CLI and MCP tools that connect the product to scripts and AI agents’ tools;
- a backend that ties together state, permissions, and synchronization.
These aren’t just different sizes of the same screen. A mobile app can be backgrounded. An extension has to work within the browser’s constraints. The CLI has to cooperate with another process. Meanwhile, the user just wants to get into their account.
One product decision can cut across several repositories. Even the way login options are presented needs to be thought through separately for desktop and mobile.
4. Encryption: picking an algorithm isn’t enough
A Caesar cipher is out. Choosing a solid algorithm isn’t the end of the job either. I used to think of encryption as just a function: data goes in, an encrypted result comes out.
But in a product like this, I have to account for the entire key lifecycle:
- where keys are created and who can use them;
- how they’re protected when not in use;
- how another device or person gets access;
- how to change them without leaving the user with data they can no longer open.
The algorithm is one piece. The whole mechanism still has to work correctly.
Then there’s the prospect of quantum computers. Sufficiently powerful quantum computers would threaten today’s public-key cryptographic mechanisms, such as RSA and ECC. That’s not the same as saying every kind of encryption faces an identical problem.
NIST published its first three post-quantum cryptography standards in 2024. They cover a key-establishment mechanism and digital signatures. For me, that’s a reminder that designing data protection doesn’t end with today’s version of a library. You need to be able to make changes later, too.
This isn’t a distant theoretical problem for me. In Palladin, I’m working on moving from key envelopes based solely on X25519 to X-Wing, a hybrid of X25519 and the post-quantum ML-KEM-768. The change protects keys shared with recipients; it doesn’t replace the encryption of the entries themselves. The concern is “harvest now, decrypt later”: someone collecting ciphertext today to decrypt it once sufficiently powerful quantum computers arrive. Alongside that, I’m adding a Secret Key: a random account secret that participates in key derivation together with the password and never reaches the server. That’s a separate layer of protection against password guessing after a database breach. The crypto library changes have been merged, but app integration and migration are still in progress. Changing the algorithm’s name in the documentation would have been considerably easier.
5. Why should I trust you and pay you for it?
I can connect all the components, work on encryption and usability, and still hear exactly that question. Fair enough. I’m asking someone to entrust their data to a tool I’m building.
“Don’t worry, I wrote it myself” isn’t a particularly strong argument. “Trust me, I’m an engineer” doesn’t help much either.
That’s one reason I’m developing Palladin as open source. I want people to be able to inspect the code, examine the decisions, and point out mistakes instead of relying solely on my assurances. The public repositories make that possible.
I don’t expect every user to read the code. What matters is that someone can check whether it actually backs up my claims.
Making the code public doesn’t make the market any easier, though. One person already has credentials saved in Chrome or Android; another has used 1Password for years. Those brands have spent years establishing themselves and earning trust. And here I am, building a product after hours that aims to make the world a little safer. Apparently, ambition isn’t my problem.
Then the economics kick in. Several apps, synchronization, cryptography, maintenance, and responsibility for other people’s data. On the other side: a few euros a month, compared with something the user can get at no extra charge.
6. I still believe it’s worth building. And I want to keep going.
I’m not planning to beat other password managers by building another one just like them after hours. My idea for Palladin is different: more of an access control layer for agent tools than a traditional password manager.
I want granting an agent access to a specific resource, under specific rules, to be quick and straightforward. Fine-grained permissions shouldn’t mean clicking through twenty screens, and “give it access to everything” shouldn’t be the most convenient option. Built for agents, but friendly to the people who need to stay in charge of them.
That’s where I see my chance. I don’t have the budget or name recognition of brands that have spent years establishing themselves. I have a clear direction and the willingness to keep showing up and doing the work. Hard work alone doesn’t guarantee a win. But at least I know what I’m aiming for.
Six months in, I can’t claim to have conquered the market. What I can point to is fewer roadblocks and more pieces working together.
I want agents to do things for us safely, with their actions monitored. We should know what access they’re using and what they’re actually doing. For now, we approach this in --yolo mode far too often. I want to help us move past that stage.
I see AI changing the world and agents making everyday tasks easier. I want to be part of that revolution and contribute something of my own. I did mention I have a bit of an artist in me, didn’t I?
Part engineering, part romanticism. Without the latter, I’d probably have stuck to listing things for sale online.
Tags
