Longer default PKCS keys
authorPekka Riikonen <priikone@silcnet.org>
Tue, 22 Apr 2014 12:25:37 +0000 (15:25 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 22 Apr 2014 12:25:37 +0000 (15:25 +0300)
commit40df0fe9d2a0a7648a111ca03de16f7a740cf5ad
treeeb70ae955281ad1d498ffdabc3f1437439b3a4ff
parentd4ead7075692a4abdc487fcb422cb9fd5b41a596
Longer default PKCS keys

This commit changes the default PKCS key length from 2048 bits to 4096
bits.  It adds warnings to both SILC client and SILC server in start up
in case the existing key is shorter than 4096 to encourage people to
generate new key longer key pair.

This commit also changes the default SKE DH group from 1024 to 1536 bits.
The old group is still supported.
18 files changed:
apps/irssi/src/silc/core/clientutil.c
apps/irssi/src/silc/core/silc-core.h
apps/silcd/server_query.c
apps/silcd/serverconfig.c
apps/silcd/silcd.c
lib/silcapputil/silcapputil.c
lib/silcapputil/silcapputil.h
lib/silcclient/client_attrs.c
lib/silcclient/tests/test_silcclient.c
lib/silccore/silcauth.c
lib/silccore/silcmessage.c
lib/silccore/tests/test_silcmessage.c
lib/silccrypt/silcpk.h
lib/silccrypt/silcpkcs1.c
lib/silccrypt/tests/test_silcpkcs.c
lib/silcserver/tests/test_silcserver.c
lib/silcske/groups.c
lib/silcske/silcske.c