RE: SILC client connection issue

Skywing <[email protected]> Tue, 31 Mar 2009 12:48:50 -0500
Newsgroups gmane.network.silc.devel
Message-ID <982D8D05B6407A49AD506E6C3AC8E7D6E5092CE642@caralain.haven.nynaeve.net>
It would be nice to maintain support for reading old-style keys.

- S

-----Original Message-----
From: Pekka Riikonen <[email protected]>
Sent: Tuesday, March 31, 2009 10:43
To: Ivo Clarysse <[email protected]>
Cc: silc-devel-cR8azDVoa3JZ/hxrHI3Fm9i2O/[email protected] <silc-devel-cR8azDVoa3JZ/hxrHI3Fm9i2O/[email protected]>; Hansa <[email protected]>
Subject: Re: SILC client connection issue


: I had similar problems with silc-toolkit 1.1.9.
:
: I would suggest to look at the version of the private key you imported.
:
: silcpk.c:silc_pkcs_silc_export_private_key(..)
:
: will always save a private key in with version SILC_PRIVATE_KEY_VERSION_1,
: but
:
: silcpk.c:silc_pkcs_silc_export_public_key(...)
:
: will include an identifier with the actual version.
:
: So, when you create a version 2 key pair, and save those keys using the
: above mentioned silcpk.c functions, you end up with a private key in version
: 1, and a public key in version 2.
:
This happens if you create the keypair without using the utility function
silc_create_key_pair and specify the version to the identifier.  If I
remember correctly I left this "bug" in on purpose because I wanted the
software support for the version 2 public keys and private keys to
populate before the software actually starts to create version 2 keys, so
as to avoid interoperability problems when the switch is made, since none
of the older versions supported versioning.

I think now would be a fine time to enable the version 2 keys by default.
Anyone who is still using version of SILC that doesn't support versioned
keys is just going to have to upgrade.

        Pekka
________________________________________________________________________
 Pekka Riikonen                                 priikone at silcnet.org
 Secure Internet Live Conferencing (SILC)       http://silcnet.org/
_______________________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ:     http://silcnet.org/support/faq/
_______________________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ:     http://silcnet.org/support/faq/