Make --enable-dsa2 the default?

Werner Koch wk at gnupg.org
Tue May 19 10:42:04 CEST 2009


On Mon, 18 May 2009 15:24, dshaw at jabberwocky.com said:

> I wonder if the ideal change would be to remove the --enable-dsa2
> block on new keys, but leave it in place in general.  That would mean

You mean, in ask_keysize:

  switch(algo)
    {
    case PUBKEY_ALGO_DSA:
      if(opt.flags.dsa2)
	{
	  def=2048;
	  max=3072;
	}
      else
	{
	  tty_printf(_("DSA keypair will have %u bits.\n"),1024);
	  return 1024;
	}
      break;

we simply remove the test and allow selection of the size?


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list