/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2015-03-10 18:52:09 UTC
  • Revision ID: teddy@recompile.se-20150310185209-lxuovbu09zwyk9bx
Automatically determine the number of DH bits in the TLS handshake.

Instead of using a default value of 1024, check the OpenPGP key and
determine an appropriate number of DH bits to use, (using GnuTLS
functions made for this).  Document this new default behavior.

* plugins.d/mandos-client.c (safe_string): New function.
  (init_gnutls_global): If not specified, determine the number of DH
                        bits to use, based on the OpenPGP key.
* plugins.d/mandos-client.xml (OPTIONS): Document this new default of
                                         the --dh-bits option.

Thanks to Andreas Fischer <af@bantuX.org> for reporting this issue.
Filename Latest Rev Last Changed Committer Comment Size
..
askpass-fifo.c 731 9 years ago Teddy Hogeborn askpass-fifo: Lower privileges after opening FIFO. 5.1 KB Diff Download File
askpass-fifo.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 4.9 KB Diff Download File
mandos-client.c 743 9 years ago Teddy Hogeborn Automatically determine the number of DH bits in t 71.1 KB Diff Download File
mandos-client.xml 743 9 years ago Teddy Hogeborn Automatically determine the number of DH bits in t 29.1 KB Diff Download File
password-prompt.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 13.9 KB Diff Download File
password-prompt.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 9.5 KB Diff Download File
plymouth.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 12.5 KB Diff Download File
plymouth.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.1 KB Diff Download File
splashy.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 11.6 KB Diff Download File
splashy.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.2 KB Diff Download File
usplash.c 679 10 years ago Teddy Hogeborn Update copyright year. * mandos-keygen: Update co 16.2 KB Diff Download File
usplash.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 10.8 KB Diff Download File