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

publicKey should be nullable #255

Closed
mehmetfarhan opened this issue Aug 16, 2018 · 1 comment
Closed

publicKey should be nullable #255

mehmetfarhan opened this issue Aug 16, 2018 · 1 comment

Comments

@mehmetfarhan
Copy link

When i try to authenticate the session by private key,
and sent the public key as empty string i got error .

publicKey should sent as nil to fix this issue.

Before:

  • (BOOL)authenticateByPublicKey:(nullable NSString *)publicKey
    privateKey:(nonnull NSString *)privateKey
    andPassword:(nullable NSString *)password;

After:

  • (BOOL)authenticateByPublicKey:(nonnull NSString *)publicKey
    privateKey:(nonnull NSString *)privateKey
    andPassword:(nullable NSString *)password;
@Frugghi
Copy link
Member

Frugghi commented Aug 17, 2018

Thanks!

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

2 participants