| |
| ▲ | commandersaki 12 hours ago | parent | next [-] | | This is not unique to 1Password but any password manager and the compromise does not have to emanate from the password manager software and could instead come from something like another infected version of Notepad++ that is a credential stealer that is password manager aware. Any software you haven't fully vetted yourself can compromise your password manager, including OS vendor updates. I know I would rather 1Password that puts all their eggs in one basket and watches that basket carefully than Keepass and its disparate ecosystem developed by multiple different authors with no consistency in its security. There's no doubt this incident, which I wouldn't say is a nothing burger, but something along the lines of milquetoast will see a surge of stricter security processes across the board as goodwill and confidence from users is the bottom line. | |
| ▲ | teiferer a day ago | parent | prev [-] | | 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 a day 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 a day 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? | | |
| ▲ | wzyboy a day ago | parent | next [-] | | I've used this kind of password generation in the past: nothing is stored, the tool just computes the password of a website by hash(master_key, website_domain). This works, until a website (or a corporate IT admin) requires to change your password. | | |
| ▲ | zahlman 21 hours ago | parent | next [-] | | There are dozens of us! > This works, until a website (or a corporate IT admin) requires to change your password. I save a list of "domains", and don't require them to be actually valid domain names or to correspond to the service. So I can just put a number on the value in the file, and the hash function computes something completely different. Of course, that does leak the information about what websites I have accounts on, but that sort of thing is probably easily guessed anyway. | | |
| ▲ | teiferer 14 hours ago | parent [-] | | And how is storing that list (together with the algorithm deriving the passwords from it) different from just storing randomly generated passwords? | | |
| ▲ | zahlman 8 hours ago | parent [-] | | Because the list doesn't contain secret information, even in encrypted form. The algorithm requires input that's only available from my own head. (To be clear, my threat model here doesn't include RATs, or specific malware that could read the process memory of my program and know how to interpret it, because I figure either of those would be game over regardless.) If I were to generate random data and encrypt it, and I lost that data somehow, I would have to worry about whether I implemented the encryption properly. But I can't really mess up the implementation of "hash an arbitrary amount of data with a standard algorithm". Even if it were a bad hash, the attacker would be missing information on both the input and output side. |
|
| |
| ▲ | hamburglar 16 hours ago | parent | prev [-] | | Yes and no. The metadata that is hashed per site includes an arbitrary serial number. SerialNumber++ rotates your password. It’s even reversible! |
| |
| ▲ | hamburglar 16 hours ago | parent | prev [-] | | If I don’t remember, I get a different, wrong, password. It’s that simple. Unforgiving UX but not fatal. |
|
| |
| ▲ | cobar a day 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. | | |
| ▲ | curun1r 21 hours ago | parent | next [-] | | When I’ve daydreamed of writing my own 1p replacement (from reading this thread, I guess I’m not as unique as I believed), my solution has been to replace cloud storage with cloud discovery. Syncthing does this. If the server on the internet is stateless and only serves to connect two clients who then talk to each other using encryption based on pre-shared keys, you get sync with a much smaller attack surface. Even if the server is hacked, the clients are responsible for authenticating each other, so there’s not much damage a compromised discovery server can do other than make the sync process fail. The trade-off is that sync only happens when both devices are online at the same time, so there’s no asynchronous replication. But between keeping my most sensitive data on a server somewhere, even if it’s encrypted, and forgoing asynchronous replication, the latter is far more preferable to me. | | |
| ▲ | lxgr 12 hours ago | parent [-] | | What does this scheme gain in security over one where vaults are client-side encrypted and servers store and synchronize vaults as opaque blobs, or mildly structured rows of blobs? | | |
| ▲ | curun1r 7 hours ago | parent [-] | | It mostly limits the data that is online and available to be hacked at any time. If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised, not the entire vault. If a hack is detected, a simple date range between when the hack occurred and when it was detected and fixed could be used by clients to enumerate all affected passwords that need to be changed. Also, clients wouldn’t have to use the same discovery servers each time, making it harder for attackers to target any specific user. If a nation state (the most likely entity capable of decrypting a full vault blob) is targeting a dissident, they’d have to compromise all discovery servers the clients might use rather than just a single server holding the entire vault. Then they’d have to wait while they capture data slowly over time. If a vault is online in its entirety, even if it’s encrypted, the hack only needs to last seconds before it’s detected for the attacker to get everything. | | |
| ▲ | lxgr 6 hours ago | parent [-] | | > If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised, not the entire vault. So there is no way to bootstrap a new client at all? > If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised Isn't the data in transit encrypted anyway? | | |
| ▲ | curun1r 6 hours ago | parent [-] | | Bootstrapping is done directly, usually by QR code. This is when encryption keys/certificates are shared. Needing to have both devices in the same location and, possibly, on the same LAN during bootstrapping is not an unreasonable requirement. Data is encrypted in transit, but even ephemeral, encrypted data can be captured for offline decryption later. So picture the NSA compromising a discovery server for a month and capturing all in-flight synchronization data. It may take them more months to actually decrypt it, but those passwords would still be considered compromised. |
|
|
|
| |
| ▲ | hamburglar 15 hours ago | parent | prev | next [-] | | I’ll comment here a similar thing I said elsewhere in the thread about “scoping the problem” — synchronization becomes quite easy and low stakes if the thing you are synchronizing isn’t sensitive. I send around a config file that describes what sites I care about. I email it, copy/paste it, check it into github. Easy enough. Technically this is PII but so is lots of stuff I handle with this level of care. The thing that matters is that absent my passphrase, it isn’t security sensitive authentication info. | |
| ▲ | teiferer a day ago | parent | prev [-] | | 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. | | |
| ▲ | x2tyfi 16 hours ago | parent [-] | | Using Git for vault backups hadn’t crossed my mind, that’s seems like a great middle-ground solution. I used to run the local version of BitWarden (VaultWarden), but I became paranoid about the backups in general. I should revisit it! |
|
| |
| ▲ | LPisGood a day ago | parent | prev [-] | | > But obviously an expert could I don’t know that they could. | | |
| ▲ | MobiusHorizons a day 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? | | |
| ▲ | LPisGood a day ago | parent | next [-] | | Rolling your own encryption (or cryptographic protocol in this case) is notoriously full of footguns. | | |
| ▲ | zahlman 21 hours ago | parent | next [-] | | You don't need to encrypt anything to create distinct, strong passwords from a master passphrase. | |
| ▲ | dahart 15 hours ago | parent | prev | next [-] | | Rolling your own password manager != rolling your own encryption. | |
| ▲ | teiferer 14 hours ago | parent | prev [-] | | Relying on a cloud service to store all your secrets is clearly not the obviously better alternative, thus my question. Nobody is asking to invent the next AES for this. |
| |
| ▲ | tempestn a day ago | parent | prev | next [-] | | > Am I missing something? Probably. As would I. | |
| ▲ | LtWorf a day ago | parent | prev [-] | | Why not use pass? https://www.passwordstore.org/ It's as simple as it gets… | | |
| ▲ | teiferer 14 hours ago | parent [-] | | The point of my question was that if a partiular tool/scheme becomes popular, it becomes a target. If everybody is rolling their own, that heterogenious structure makes it resiliant against broad attacks. As long as everybody puts some own thought into it and doesn't just accept the default solution which AI-agent-of-the-day produces. |
|
|
|
|
|