Re: rsa-sha2-256 interop/debugging help, anyone?

Peter Gutmann <[email protected]> Thu, 22 Sep 2022 15:05:56 +0000
Newsgroups gmane.ietf.secsh
Message-ID <SY4PR01MB6251107CEE18A55225812AF9EE4E9@SY4PR01MB6251.ausprd01.prod.outlook.com>
Mouse <[email protected]> writes:

>Does anyone happen to know of any way to coax useful info out of OpenSSH, or,
>alternatively, does anyone have a different implementation that _does_ give
>detailed failure info they'd be willing to do some interop tests with me with?

You could build cryptlib in debug mode and use that, it'll give a fairly
detailed packet dump and diagnostics.  Just add:

testSessionSSHServerPubkeyAuth();
cleanupAndExit( EXIT_SUCCESS );

to the start of test/testlib.c:testKludge() and 'make debug', 'make testlib',
then './testlib' to run it, it'll dump output to stdout.

Peter.