News for hackers. Stuff that matters.
Re:Sequoia-PGP – A new OpenPGP implementation in Rust by zx2c4 on Thursday August 02, 2018 @09:44AM (#17671288)
I wrote pass, originally just as just a dumb bash script that I was using privately, but then I put it on the Internet, and so all of the sudden there was a requirement to _not be awful_. The experience has been pretty frustrating, for precisely the reasons pointed out by GP: the gpg command line interface is atrocious. I'm required to parse things in a million crazy ways, buffer data myself, and work around all sorts of weird behaviors. All of that headache, and then in the end all I get is lame PGP crypto out of it? As I said, frustrating.

On the flip-side, at least we've (partially?) succeeded in taming the beast, and the end result is something moderately usable that you happily recommend to folks on HN. So that's good I suppose. :)

Re:Sequoia-PGP – A new OpenPGP implementation in Rust by pferde on Thursday August 02, 2018 @10:02AM (#17671415)
An alternative is to use the GPGME library, which does all the ugly gpg output parsing for you. I realize, though, that a C library is not a solution for everything, especially not for a shell script that you want to keep a shell script. :)
Re:Sequoia-PGP – A new OpenPGP implementation in Rust by zx2c4 on Thursday August 02, 2018 @10:47AM (#17671840)
Well... There's always https://github.com/taviso/ctypes.sh ...
Re:Sequoia-PGP – A new OpenPGP implementation in Rust by pferde on Thursday August 02, 2018 @03:57PM (#17674938)
Holy crap, that's so cool. :) Thanks!
Re:Sequoia-PGP – A new OpenPGP implementation in Rust by mike-cardwell on Thursday August 02, 2018 @09:52AM (#17671349)
I've been using pass for a year or two now. It's a great tool. Thank you for making it.
Re:Sequoia-PGP – A new OpenPGP implementation in Rust by wfleming on Thursday August 02, 2018 @02:57PM (#17674394)
I'll also chime in to say that `pass` is a fantastic tool, and I'm so glad I switched to it as my password manager. So the effort you went through to get there (which I can sympathize with since I've had to use the OpenPGP CLI directly plenty of times) is very much appreciated.
Re:Sequoia-PGP – A new OpenPGP implementation in Rust by tretiy3 on Saturday August 04, 2018 @03:53AM (#17685867)
Pass is amazing, thank you!