Re: [libtorrent] SSL Torrents
Brought to you by:
arvidn
|
From: arvid <ar...@cs...> - 2013-07-24 15:40:57
|
On 2013-07-23 09:35, Alexander Luetjen wrote:
>>> You may want to verify that the .torrent file was created
>>> correctly,
> with your cert in it.
>
> After I load the torrent in the seeder, I can see that it has a key
> "ssl-cert" with a value ("--- BEGIN RSA\n.... base64 ....")
>
>>> Are you the only one seeding the torrent?
>
> Yes, I created a test torrent.
>
> I also enabled all alerts and dump them to the console. I cannot see
> any
> SSL related alert.
>
> I noticed in the code that the TORRENT_USE_OPENSSL is required to use
> SSL
> torrents. Is that defined in the builds that I downloaded from the
> libtorrent web site?
Right. SSL is not enabled in the binary distributions of the python
bindings.
This is because that would require the openssl DLLs which don't come by
default with windows, and add an extra hurdle to start using those
builds.
looking at the setup.py.in, it should be fairly straigh-forward how to
build with ssl though. There is a bjam command line in there, just add
encryption=openssl to it.
--
Arvid Norberg
|