keybase / saltpack

a modern crypto messaging format
https://saltpack.org/
BSD 3-Clause "New" or "Revised" License
989 stars 62 forks source link

Binary executable #69

Closed Fastidious closed 5 years ago

Fastidious commented 5 years ago

Using go get github.com/keybase/saltpack doesn't generate an executable (at least, not under macOS). How to accomplish this?

maxtaco commented 5 years ago

I think we originally had a standalone binary, but it became really complicated really quickly. Take for instance a simple decryption in which the sender wants to remain anonymous. Then, the binary would have to look up the sender's public key halfway through the decryption operation. So almost immediately you need the concept of a "keyring" that the library can call out to. Etc. It's doable but it would be rather complicated. What use cases were you considering, maybe we can put something together for some simple use cases.

Fastidious commented 5 years ago

@maxtaco recently on Hacker News there was a post about modern alternatives to PGP. Somewhere in the post, and the comments it generated, Saltpack was mentioned. Thus my quest to gain access to a binary of it.

maxtaco commented 5 years ago

Thanks, I saw that tweet going around, maybe it morphed into a post? Yeah, well it's the same answer either way. We have tests, etc, but nothing in a simple binary because there are lots of moving pieces and more important the interface is just quite wide. We might consider some work in the future here, but we're not there yet.

Fastidious commented 5 years ago

@maxtaco, fair. Thanks!