rockdaboot / mget

Multithreaded metalink/file/website downloader (like Wget) and C library
GNU Lesser General Public License v3.0
114 stars 19 forks source link

add --gnutls-ciphers=<priority string> #2

Closed rockdaboot closed 10 years ago

rockdaboot commented 11 years ago

To have more control over the GnuTLS SSL layer, it would be nice to an option to directly specify the so called 'priority string', e.g. 'SECURE128:-RSA'.

Putting it into /etc/mgetrc or ~/.mgetrc gives a default that can be overriden by --gnutls-ciphers.

It would not combine with --secure-protocol (mutual exclusive). Maybe it is a good idea to warn if both options are specified.

rockdaboot commented 10 years ago

I called it --gnutls-options and it overrides --secure-protocol (develop branch).