Re: [WEB REQ] silc-gaim causes \"Malformed block\" during public key auth - silc-gaim

Pekka Riikonen <[email protected]>
Newsgroups gmane.network.silc.user
Message-ID <[email protected]>
: Software: silc-gaim
: Operating System: Linux
: Installation: binary
: 
: 
: I\'m running the latest versions of everything and public key auth works 
: with the default silc client but not with silc-gaim. Both clients are 
: using the same key.
: 
: When I run silcd with -D 30, here\'s the relevant part of the output:
: 
: [Logging] [Info] Performing authentication protocol for x.x.x.x (x.x.x.x)
: silc_server_protocol_connection_auth:947: Remote connection type 1
: silc_server_get_authentication:842: Public key authentication
: silc_server_find_public_key:1202: Find remote public key (1 keys in local cache)
: silc_server_find_public_key:1213: Found public key
: silc_pkcs_alloc:179: Allocating new PKCS object
: silc_pkcs1_decode:108: PKCS#1 decoding, bt 1
: silc_pkcs1_decode:113: Malformed block
: silc_server_get_authentication:855: Authentication failed
: 
I find it almost impossible that different client versions would have to 
do anything with this.  This looks like server side problem and as long as 
you are sure that both clients are using the same key, and both clients go 
to that Client {} block (ie. they have the same IP address) the 
authentication process for both clients would be identical and the problem 
would appear with both clients.  As far as the code goes the public key 
that causes the problem is the one read from the disc.  What is the 
architecture you are using (Linux on what?)?  It looks like the problem 
might be in the public key.  When the server is booted it does not do 
PKCS#1 decoding checks to see whether it is correctly formatted (it is 
assumed naturally if it otherwise looks normal SILC public key).

	Pekka
________________________________________________________________________
 Pekka Riikonen                                 priikone at silcnet.org
 Secure Internet Live Conferencing (SILC)       http://silcnet.org/

_______________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-users
Archive: https://lists.silcnet.org/pipermail/silc-users
FAQ:     http://silcnet.org/support/faq/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.