Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
chuckwolber
5 months agoNew Contributor
CLI Slow Performance
I have the 1Password desktop app installed and up to date on my macBook Pro, the `op` CLI is also installed, up to date, and working properly. All expected CLI queries work but they are surprisingly ...
jeremyschlatter
1 month agoNew Contributor
I've been playing with a workaround for the performance issues: building my own `op`-like CLI. It's working pretty well!
As discussed in this thread, one reason for slowness in the official CLI is that it makes network roundtrips. But for a lot of functions, particularly reading vault items, these network calls are not needed. All of the data in your vaults is available (in encrypted form) on the local disk. All you need is your secret key and master password to decrypt it.
I tried this out (using the miracle of modern coding LLMs to quickly figure out all the details of the encryption scheme and the database layout) and it works! I'm able to read a vault item in about 30ms.
My CLI is missing a lot of `op` features and it's read-only and macOS-only right now. But it's already a good proof of concept and useful enough that I'm starting to actually use 1Password in my terminal now.
You're all welcome to take a look at my approach. It's on github: https://github.com/jeremyschlatter/opcli
- chuckwolber1 month agoNew Contributor
This is fantastic, thanks jeremyschlatter​ ! I created my own fork and will start digging in to it.