Subject: Re: release time?

Re: release time?

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Fri, 15 Jan 2010 11:26:39 +0000

2010/1/15 Peter Stuge <peter_at_stuge.se>:
> So the problem we are facing is that we should actually rename
> LIBSSH2_ERROR_PUBLICKEY_UNRECOGNIZED to something like
> LIBSSH2_ERROR_AUTHENTICATION_FAILED and use that error code for
> all failed authentication attempts, regardless of the method used.
>
> Can we do this rename? It means changing the API. We could keep a
> backwards-compatible alias define and mark _PUBLICKEY_UNRECOGNIZED
> as deprecated, I guess that is as good as it gets?

As long as we do the backwards-compatibility alias, it doesn't even
change the API. The other authentication functions didn't specify
error values.

... Which brings me to libssh2_userauth_keyboard_interactive_ex. This
needs to be given the same treatment as
libssh2_userauth_password_ex().

Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-15