News for hackers. Stuff that matters.
Re:Firefox Send: Free encrypted file transfer service by timvisee on Tuesday March 12, 2019 @09:45AM (#19368036)
I've been building a fully featured CLI tool for Firefox Send, supporting this new release.

For anyone that is interested: https://github.com/timvisee/ffsend

Re:Firefox Send: Free encrypted file transfer service by drewg123 on Tuesday March 12, 2019 @10:20AM (#19368345)
FWIW, I built and successfully ran it on FreeBSD-current. The only hiccup I ran into was that it puked building due to not having /usr/local/lib in its lib search path & not being able to find libxcb. I had to manually add -L/usr/local/lib to the cc args and manually link it. Not sure if that is a FreeBSD issue w/Rust, or something in your package.

At any rate, the tool works! Thanks so much.

Re:Firefox Send: Free encrypted file transfer service by timvisee on Tuesday March 12, 2019 @10:26AM (#19368411)
Thanks for sharing your solution! Not sure what is causing it (maybe it's OpenSSL binding related), and am currently not really targeting FreeBSD yet.

I wasn't fully ready with this tool for the Firefox Send release to be honest, would have loved to be able to provide better binaries and packages for more platforms, which are a work in progress.

If you believe you can improve the README with your solution, be sure to submit a [PR](https://gitlab.com/timvisee/ffsend/).

Happy to see it's working! :)

Re:Firefox Send: Free encrypted file transfer service by alxlaz on Tuesday March 12, 2019 @10:56AM (#19368727)
It's a BSD world thing :). Local (i.e. non-system) executables and libraries go under /usr/local around here (i.e. libraries under /usr/local/lib, binaries under /usr/local/bin and so on, the hierarchy under /usr/local has the same structure as that under /usr).
Re:Firefox Send: Free encrypted file transfer service by drewg123 on Tuesday March 12, 2019 @11:25AM (#19369032)
You can work around it by creating a cargo config with a wrapper. Eg:

cat ~/.cargo/config

  [target.x86_64-unknown-freebsd]
  linker = "/home/drewg123/bin/cargo-ld"
Where cargo-ld is just a wrapper:

  #!/bin/sh
  exec /usr/bin/ld -L/usr/local/lib $*
Re:Firefox Send: Free encrypted file transfer service by majewsky on Tuesday March 12, 2019 @12:31PM (#19369947)
For proper formatting of code snippets, indent the entire snippet with two spaces.
Re:Firefox Send: Free encrypted file transfer service by notamy on Tuesday March 12, 2019 @06:21PM (#19373693)
> the hierarchy under /usr/local has the same structure as that under /usr

So I can have /usr/local/local/local/local...? :)

Re:Firefox Send: Free encrypted file transfer service by inopinatus on Tuesday March 12, 2019 @08:40PM (#19374597)
Is there an autotools equivalent in Rust land?
Re:Firefox Send: Free encrypted file transfer service by steveklabnik on Tuesday March 12, 2019 @11:59PM (#19375605)
Depends on what you mean exactly.
Re:Firefox Send: Free encrypted file transfer service by Datenstrom on Tuesday March 12, 2019 @11:16AM (#19368948)
I just had the same issue with rust linking to a 1553 bus library in /usr/local/lib yesterday. Seems like this should be on the search path.
Re:Firefox Send: Free encrypted file transfer service by IcePic on Tuesday March 12, 2019 @01:55PM (#19371034)
At least on BSD, you want to be able to separate external 3rd party libs and system libs in case they overlap, so that is why BSDs don't automatically include things under /usr/local.
Re:Firefox Send: Free encrypted file transfer service by ycnews on Tuesday March 12, 2019 @10:37AM (#19368529)
Python cli version at https://github.com/ehuggett/send-cli

disclaimer: I haven't used either cli version.

Re:Firefox Send: Free encrypted file transfer service by timvisee on Tuesday March 12, 2019 @10:56AM (#19368720)
Cool. Sadly, I don't think the client supports the current Firefox Send version though. Method of encryption has been changed during the last few months.
Re:Firefox Send: Free encrypted file transfer service by nickpsecurity on Tuesday March 12, 2019 @01:50PM (#19370977)
Love the demonstration on the Github page!
Re:Firefox Send: Free encrypted file transfer service by tintintin on Tuesday March 12, 2019 @01:34PM (#19370764)
This is great, thanks :)

Mind if I port this to JS?

Re:Firefox Send: Free encrypted file transfer service by Sephr on Tuesday March 12, 2019 @06:29PM (#19373743)
You don't have to ask for permission to fork open source projects.

You are free to port the project to JS as long as you follow the applicable licenses: https://github.com/timvisee/ffsend/blob/master/LICENSE

Re:Firefox Send: Free encrypted file transfer service by harshitaneja on Tuesday March 12, 2019 @01:16PM (#19370552)
Thanks a lot. The first thought after seeing this was that I wish it had a CLI and I know I am lazy enough to never write one.
Re:Firefox Send: Free encrypted file transfer service by ausjke on Tuesday March 12, 2019 @12:42PM (#19370092)
do I need install firefox to use this tool? looks neat!
Re:Firefox Send: Free encrypted file transfer service by timvisee on Tuesday March 12, 2019 @12:48PM (#19370189)
No, see the requirements here: https://github.com/timvisee/ffsend#requirements

Along with ffsend, you can use any browser to upload/download files through https://send.firefox.com/ as well.

Re:Firefox Send: Free encrypted file transfer service by nicebill8 on Tuesday March 12, 2019 @12:46PM (#19370154)
Nope, you don't need Firefox to use the site anyway.
Re:Firefox Send: Free encrypted file transfer service by tomupom on Thursday March 14, 2019 @05:39AM (#19387677)
This is such a fantastic tool to have, thank you so much!
Re:Firefox Send: Free encrypted file transfer service by kevinherron on Tuesday March 12, 2019 @10:07AM (#19368211)
This is neat, thanks.