1pass: OPVault support (Patreon)
Content
I've written a little command line tool, written in C, that decrypts and dumps OPVault keychains now:
https://hg.icculus.org/icculus/1pass/file/1390348facc7/opvault.c
This will eventually migrate into 1pass proper and then we're future-proof again (or at least, caught up to modern times).
Building this tool taught me a few things:
- OpenSSL is not as hard to use as you'd think, which makes me wonder why I'm using all these tiny pieces of public domain crypto code.
- You don't need much C code to parse and manage JSON data, which makes me wonder if I really need the Lua code.
And don't forget the lesson I've already learned:
- The existing UI isn't minimal so much as bare-minimum, and needs to be completely replaced if this is going to be a "serious" app.
Which leads to one conclusion: everything must go. Almost all of the existing code can probably be thrown away and built again quickly but in a better way.
One can consider that realization--which all programmers arrive at from time to time--as depressing or incredibly freeing. I personally see it as a good thing.
I'm going to experiment with it and see what happens. It's revision-controlled; if it turns out to be a massive mistake, I can just revert, after all. :)
Stay tuned!