Remix.run Logo
▲ teiferer 2 hours ago

In that spirit, I wonder at which skill level "rolling your own" is the more secure choice. Obvioisly mom and dad can't, since even if they ask an AI to do it, it would use a standard architecture with standard libraries and standard flaws that standard attacks (other AIs) could easily exploit. But obviously an expert could. With AI help for the boring chores but they are in charge. Don't open source it, just run it locally, away from the spotlight. How expert does one need to be to have a resulting security that is higher than the constant worry that the widely used tool might be compromised at any single day?

▲hamburglar an hour ago | parent | next [-]

It's not actually that big a deal if you scope the problem properly. For example, not having anything online to attack is a great start. My passwords are generated by a tool I wrote that I use locally and there is no sensitive information saved. In order to get anywhere you'd have to compromise my local tool to steal my master passphrase, or you'd have to be able to brute force my derived passwords because of a flaw in my scheme, which involves a sha256 of the metadata about a site plus the master passphrase.

The effect is that there's no vault and my password security is based on information that's entirely in my head. I'm trusting in the strength of some fairly mundane cryptography, but also: it's just passwords for online services (the most important of which have 2fa).

▲teiferer 21 minutes ago | parent [-]

I hope you don't mind me asking .. so your tool doesn't actually save anything, you are only inputting a seed essentially which is the name of the service? How do you ensure that you enter it the same way every time? Normalization goes only so far (force case, remove whitespace, ...) and can't account for things like spelling differences. How do you deal with potentially not remembering?

▲cobar an hour ago | parent | prev | next [-]

To match what you get with a password service, you need synchronization between devices and backups. That adds an attack vector for the server and backend APIs that power it. I'm hesitant to be believe that I can reliably match the reliability and security of a company that is actively monitoring for attacks and maintains multiple tiers of online & offline backups. Similar to why I wouldn't want to replicate Google Drive or especially Gmail.

▲teiferer 18 minutes ago | parent [-]

Maybe it depends a little on the features you would need and the convenience factor. You could for example do the sync only when you are at home, not opening anything up. And if you leverage sth like git you wouldn't need to re-implement that. And you would get replicas for free, essentially providing you with continuous backups.

> reliably match the reliability and security of a company that is actively monitoring for attacks

Well with the flurry of incidents recently, and unclear future, that's the detail that could be tipping the scale. See original article.

▲LPisGood an hour ago | parent | prev [-]

> But obviously an expert could

I don’t know that they could.

▲MobiusHorizons 30 minutes ago | parent [-]

Why could someone not roll their own password manager? Doing it securely with sync is definitely not trivial, but it’s also not rocket science. Like maybe store entries in a SQLite db on Dropbox, encrypt everything you care about keeping secret with the master password, and decrypt on client. I suppose you are still vulnerable to anything that can read the process memory, I guess you would use Secure Enclave or something similar to mitigate that. None of this seems out of reach or a reasonably competent developer. Am I missing something?

▲LtWorf a few seconds ago | parent [-]

Why not use pass? https://www.passwordstore.org/

It's as simple as it gets…