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.
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.
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?
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.
> 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
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.
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.
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.
Security vulnerabilities should have an accelerated review pipeline that's more (or completely) automated. However, normal development work has no such need to move so quickly.
We'll inevitably move towards AI defense as we see agents discovering zero days and launching social engineering attacks.
In the near term, it seems (to me) dangerous to completely automate review of security fixes, or of any kind of PR, in a product as security-critical as 1password. Supplementing human review with automated review of course makes sense, as long as the automated review can be trusted not to e.g. leak the vulnerability early.
Security fixes are often urgent, and it may be worth having a shorter manual review of urgent fixes simply because reviewing takes time. On the other hand, security fixes are often short, so it might not be difficult to thoroughly manually review them (in addition to automated review).
I mean there's nothing stopping anyone from doing so already (and it is happening at large scales). The actual question to ask is "who takes ownership" of a change.
If an AI accepts and merges a merge request automatically that contains malicious code, who takes responsibility? And are you willing to bet your (hypothetical) company and customers' data, privacy and finances on it?
Is there any debate about whose responsibility it is? If I’m the approver for something and I use technology as part of the review, I am still responsible.
For some reason, Okular doesn't render tables with any kind of borders. Not sure what else it's missing, but that alone has made me it a poor solution as a viewer. So I end up loading the files on the command line or in zed, which is sort of the author's point.
Break down the changes into smaller units. I try to create discrete units that can exist independently from each other and then limit PRs to only one module or subsystem. The sequence of PRs ends up being something like requirements, API docs for the module, tests, implementation per module, integration between modules. This limits the size of any fix and reduces the churn.
Ahh, ^H brings back memories. We had Solaris x86 machines in the computer lab at UC Santa Barbara when I was there from 97 to 02. They were deathly slow never mind that CDE was miserable too. I made it slightly less painful by loading the BSD versions of the utilities and using those. Pretty much gave up and ran FreeBSD on the desktop with Window Maker.
Sun got by because they had faster and more reliable hardware than what was available in the x86 space at the time. eBay's services ran on a handful of 64 CPU Starfire servers. And proprietary UNIX workstations had a bunch of specialized apps that weren't available on Linux at that point.
If you have an extra NVME slot you could look at picking up an Optane 800P drive. Extremely low latency reads and writes, which makes it ideal for swap. They're available for ~$100 on eBay.
Same problem I've had. On a 24GB MacBook Air, I can have a VMWare VM, Lima and an IDE and a bunch of Chrome tabs loaded and the system is fluid.
Meanwhile if I try something similar on a 32GB Linux system, it will sputter or outright freeze. Suspend the system at 16GB used and on wakeup it takes 15 seconds to get back to full responsiveness.
Yes, some of this can be addressed with swappiness settings, however that behavior isn't partically clear and doesn't take into account that depending on your workflow on a given day (e.g. coding then video editing) different swap behaviors may be more optimal. Nor does it help for people who are trying to get good productivity out of a 16GB or lower system.
The one thing that has helped is moving to Brave Origin. Whether that's loading less JS ad SDKs or general optimization, it does seem to use a lot less ram than Edge/Chrome.
Overall experience is very good with AMD graphics. Most games run on Steam out of the box. There are also emulators for all the systems I've wanted to use. I use Faugus Launcher for other stores like BattleNet and Epic Games (Magic Arena).
For the most part the games just work, it's more system issues that I've run into where Linux suspend mode and the audio stack can be a little flaky and required Claude to diagnose and sort out.
Nvidia has gotten a lot better over the last 2 years as well. There are still driver bugs that are somewhat annoying. It's also annoying that the driver is out of kernel. But otherwise, the open source nvidia by nvivia works just fine.
Nvidia for me on Linux (Fedora 43 - KDE Plasma) for about half of the titles I play works flawlessly, although the other half of the games seemingly have issues.
I encounter a few games with frame pacing issues, otherwise not present on Windows. Shader compile time is longer than on Windows. Occasional crash in some games, etc.
Windows has issues too. It's not perfect, although they are different issues to Linux.
Do Epic titles even work on Linux? I thought I read somewhere that Tim Sweeney hated Linux and does whatever possible to make sure Epic's games like Fortnite don't run on it.
I've had better luck since the switch to Wayland. I don't play many FPS games but mouse input & overall smoothness for strategy games has been great. Check your mouse settings, you might need to set a higher USB sample rate. Piper is a frontend for adjusting them.
reply