News for hackers. Stuff that matters.
Re:Show HN: Bt – BitTorrent library in Java 8 by atomashpolskiy on Wednesday August 02, 2017 @01:51PM (#14912931)
Thank you! Make sure to install http://www.oracle.com/technetwork/java/javase/downloads/jce8... to allow 160-bit cryptography and use -e flag to be completely safe!

I also have a simple shell script locally, that wraps the java command, so I have to just type `btmagnet AF0D9AA01A9AE123A73802CFA58CCAF355EB19F8` to download to a pre-determined location (hardcoded in the script). I wonder if I should share it on the CLI README page

Re:Show HN: Bt – BitTorrent library in Java 8 by sarnowski on Wednesday August 02, 2017 @02:32PM (#14913301)
> Make sure to install http://www.oracle.com/technetwork/java/javase/downloads/jce8.... to allow 160-bit cryptography

Or don't use the Oracle proprietary distribution but the OpenJDK of your operating system which normally doesn't exclude proper crypto algorithms.

(be aware that the JDKs downgrade silently if certain libraries are missing in your host)

Re:Show HN: Bt – BitTorrent library in Java 8 by atomashpolskiy on Wednesday August 02, 2017 @03:23PM (#14913751)
That's some really useful information, thanks! Need to add this to the readme
Re:Show HN: Bt – BitTorrent library in Java 8 by gigatexal on Wednesday August 02, 2017 @01:57PM (#14912996)
do it! that'd be my use case more or less.
Re:Show HN: Bt – BitTorrent library in Java 8 by atomashpolskiy on Wednesday August 02, 2017 @02:14PM (#14913170)
Re:Show HN: Bt – BitTorrent library in Java 8 by rena-anju on Thursday August 03, 2017 @01:53PM (#14921955)
Or add something like this to your .bashrc

function bt() { java -jar /path/to/bt-launcher.jar -m "magnet:xt=urn:btih:$1" -d /$HOME/Downloads }