Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong server signature - another case #434

Open
mkrueger opened this issue Dec 27, 2024 · 0 comments
Open

Wrong server signature - another case #434

mkrueger opened this issue Dec 27, 2024 · 0 comments

Comments

@mkrueger
Copy link

mkrueger commented Dec 27, 2024

toolazy.synchro.net:22

Another wrong server signature error:

2024-12-27T10:31:49.813877848+01:00 DEBUG russh::ssh_read - read_ssh_id: reading
2024-12-27T10:31:49.951658926+01:00 DEBUG russh::ssh_read - read 256
2024-12-27T10:31:49.951947136+01:00 DEBUG russh::ssh_read - Err(Utf8Error { valid_up_to: 30, error_len: Some(1) })
2024-12-27T10:31:49.952511092+01:00 DEBUG russh::cipher - writing, seqn = 0
2024-12-27T10:31:49.952571773+01:00 DEBUG russh::cipher - padding length 9
2024-12-27T10:31:49.952620468+01:00 DEBUG russh::cipher - packet_length 956
2024-12-27T10:31:49.953144811+01:00 DEBUG russh::client - writing 960 bytes
2024-12-27T10:31:49.953720887+01:00 DEBUG russh::ssh_read - id 256 24
2024-12-27T10:31:49.953903814+01:00 DEBUG russh::cipher - reading, len = [0, 0, 1, 124]
2024-12-27T10:31:49.954144727+01:00 DEBUG russh::cipher - reading, seqn = 0
2024-12-27T10:31:49.954259311+01:00 DEBUG russh::cipher - reading, clear len = 380
2024-12-27T10:31:49.954409625+01:00 DEBUG russh::cipher - read_exact 384
2024-12-27T10:31:49.954504653+01:00 DEBUG russh::ssh_read - id 256 28
2024-12-27T10:31:49.954615632+01:00 DEBUG russh::ssh_read - id 256 256
2024-12-27T10:31:49.954785325+01:00 DEBUG russh::cipher - read_exact done
2024-12-27T10:31:49.954920770+01:00 DEBUG russh::cipher - reading, padding_length 10
2024-12-27T10:31:49.955035662+01:00 DEBUG russh::client::kex - extending []
2024-12-27T10:31:49.955317319+01:00 DEBUG russh::negotiation - kex 243
2024-12-27T10:31:49.955547996+01:00 DEBUG russh::negotiation - kex 280
2024-12-27T10:31:49.955666142+01:00 DEBUG russh::negotiation - kex 291
2024-12-27T10:31:49.955775535+01:00 DEBUG russh::negotiation - client_compression = None
2024-12-27T10:31:49.955937479+01:00 DEBUG russh::client::kex - algo = Names { kex: Name("diffie-hellman-group14-sha1"), key: Rsa { hash: Some(Sha256) }, cipher: Name("aes128-ctr"), client_mac: Name("hmac-sha2-256"), server_mac: Name("hmac-sha2-256"), server_compression: None, client_compression: None, ignore_guessed: false, strict_kex: false }
2024-12-27T10:31:49.956334738+01:00 DEBUG russh::client::kex - write = []
2024-12-27T10:31:49.956424484+01:00 DEBUG russh::client::kex - i0 = 946
2024-12-27T10:31:50.013856369+01:00 DEBUG russh::cipher - writing, seqn = 1
2024-12-27T10:31:50.013883447+01:00 DEBUG russh::cipher - padding length 6
2024-12-27T10:31:50.013892321+01:00 DEBUG russh::cipher - packet_length 268
2024-12-27T10:31:50.013907671+01:00 DEBUG russh::client::kex - moving to kexdhdone, exchange = Exchange { client_id: CryptoVec { p: 0x78c7700211b0, size: 27, capacity: 32 }, server_id: CryptoVec { p: 0x78c770021180, size: 22, capacity: 32 }, client_kex_init: CryptoVec { p: 0x78c730004170, size: 946, capacity: 2048 }, server_kex_init: CryptoVec { p: 0x78c7300021f0, size: 369, capacity: 512 }, client_ephemeral: CryptoVec { p: 0x78c730003330, size: 256, capacity: 256 }, server_ephemeral: CryptoVec { p: 0x1, size: 0, capacity: 0 } }
2024-12-27T10:31:50.240784630+01:00 DEBUG russh::cipher - reading, len = [0, 0, 2, 252]
2024-12-27T10:31:50.241078942+01:00 DEBUG russh::cipher - reading, seqn = 1
2024-12-27T10:31:50.241133381+01:00 DEBUG russh::cipher - reading, clear len = 764
2024-12-27T10:31:50.241207035+01:00 DEBUG russh::cipher - read_exact 768
2024-12-27T10:31:50.241250992+01:00 DEBUG russh::cipher - read_exact done
2024-12-27T10:31:50.241287705+01:00 DEBUG russh::cipher - reading, padding_length 66
2024-12-27T10:31:50.241420045+01:00 DEBUG russh::client - server_public_Key: PublicKey { key_data: Rsa(RsaPublicKey { e: Mpint(010001), n: Mpint(00CE9C3E6DBB2B50757F5CE7F70A529D17B23DEBAFC91341E6F93FB66CBF154B01BB804222E4C409F552F03FD3C3C7A74CE174B6CCF1FC8075CD11DA7427F1B7DC740977B9A81863214B58CFCF2A3200ABDBB02788E36EEB3BDA6F2388D02ABA1606FA263AC9ACF085851CAD261F9A2DB5DE6DD838AC4D2E94DC1FD5D060BCB2EE638A46BD6FDA5A30A76379D6F7CDA95D6B73EC581F81D4997D7DBF1F1BCFA4D4135ABFBCF8FECD266CB9511C48A03CE995C8100109EC0F0D8832842D02D91B3B) }), comment: "" }
2024-12-27T10:31:50.305691825+01:00 DEBUG russh::client - kexdhdone.exchange = Exchange { client_id: CryptoVec { p: 0x78c7700211b0, size: 27, capacity: 32 }, server_id: CryptoVec { p: 0x78c770021180, size: 22, capacity: 32 }, client_kex_init: CryptoVec { p: 0x78c730004170, size: 946, capacity: 2048 }, server_kex_init: CryptoVec { p: 0x78c7300021f0, size: 369, capacity: 512 }, client_ephemeral: CryptoVec { p: 0x78c730003330, size: 256, capacity: 256 }, server_ephemeral: CryptoVec { p: 0x78c7240024d0, size: 257, capacity: 512 } }
2024-12-27T10:31:50.305831357+01:00 DEBUG russh::client - exchange hash: CryptoVec { p: 0x78c7240027c0, size: 20, capacity: 32 }
2024-12-27T10:31:50.305846765+01:00 DEBUG russh::client - sig_type: "rsa-sha2-256"
2024-12-27T10:31:50.305870761+01:00 DEBUG russh::client - signature: b"\x9e\xca\xa1\xb8\xc2\xbe\x19\x88\xa3=\xe2\x829\x971\xe7\x94\xb4\xfc\xa0\xdaW5\xadN\xd7\x9d\x89\xe5\xd7\xf7X\xc3\xbb\xf9\xff\x99-J\x16Z#\xb4Y\x98[\xf8\x1bW*\xd2\xd8\x12\xe2\xa6\xf7V\x01\xc4\xcf\x84\xae\x02r\x8e\xe2\x05\x848\0\x96w\x82\xea\x99\0\xd1*\xcc\x9a\xd3\x99\x14\xaeB\x94\xa0/\xbanb\x94\xdd\xbe\xaa\xa5l\xa5\x84,\xd6Q|\xe0\xd3\x07W\xa9\xd6\xfc\xda\rl\xc1\x9e\x8c\x80\0\x93\x97\x8d\xee\xd1'\x9d>1\xd3F\xf6\x94\x163\x01H\xc8\x9bT\x15^\x0bC\xe9\x0f\xa7.R\x96\xd6\xdf\xbe\xc10,g\r\xfb\x98\xe2\xbeq\x0b\xae\xa0g\x02\xa0'\x7f\xda}\x07\xc1\x06\x058\x1dS}\x8b\xfa\xe1\xc9\x07\x9b\x06H&%\xf2\xbdR"
2024-12-27T10:31:50.306067138+01:00 DEBUG russh::client - wrong server sig: signature::Error { source: Some(cryptographic error) }
2024-12-27T10:31:50.306161271+01:00 DEBUG russh::client - drop session

But connecting now to mystic bbs systems works :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant