Re: Debug build of silc toolkit fails to connect (Incorrect Signature)
Pekka Riikonen <[email protected]> Thu, 11 Dec 2008 09:18:00 +0100 (CET)
| Newsgroups | gmane.network.silc.devel |
|---|---|
| Message-ID | <[email protected]> |
: I have attached the debug output from both the client and server to this : email. I assumed it would also be useful to have the server's hexdump, : so when I debugged it,I included that. Thanks for your time. : Thanks. The difference is shown in the logs: Server: silc_ske_make_hash:778: HASH_i 00000000 7F 70 5F 04 74 67 E6 D4 AD 31 BF EB 2B E8 E5 4B .p_.tg...1..+..K 00000010 30 1A 82 4A 5E C8 68 7D A2 56 4F 40 1C FF 55 3E 0..J^.h}[email protected]> Client: silc_ske_make_hash:774: HASH_i 00000000 66 AD 8F 5E 9B 00 73 90 90 B5 40 9A 2D 97 49 87 f..^[email protected]. 00000010 F9 B6 D3 1F F0 C1 47 7F 66 3E 1D 4F B2 F8 E2 E2 ......G.f>.O.... These values should be identical. It is this value that is then digitally signed and verified. The buffers that are hashed are identical in both logs so only thing I can think of is that the hash function produces wrong result. The hash function seems to be sha256... Quickly looking I can't find a reason why SILC_DEBUG would affect anything here... 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/