aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-06-05 00:32:42 +0000
committerrowanbeentje <rowan@beent.je>2009-06-05 00:32:42 +0000
commit4e6c8e557f6dd132e159ff4841900d1b72331eea (patch)
treebd972c23c05f09be246f436b3bd511c4f5dbf23e /Source/SPSSHTunnel.h
parent905dd61bd91f3dce22655bf942302739544dd86c (diff)
downloadsequelpro-4e6c8e557f6dd132e159ff4841900d1b72331eea.tar.gz
sequelpro-4e6c8e557f6dd132e159ff4841900d1b72331eea.tar.bz2
sequelpro-4e6c8e557f6dd132e159ff4841900d1b72331eea.zip
Further SSH tunnel improvements:
- SSH Public/private keys are now supported, even if they are password-protected. The user and password fields can be left blank where appropriate. - SSH yes/no queries (ie host key mismatch) and password requests (eg key passphrases) dialogs now automatically resize to match the content from the SSH process.
Diffstat (limited to 'Source/SPSSHTunnel.h')
-rw-r--r--Source/SPSSHTunnel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPSSHTunnel.h b/Source/SPSSHTunnel.h
index 612ef595..4486685a 100644
--- a/Source/SPSSHTunnel.h
+++ b/Source/SPSSHTunnel.h
@@ -19,6 +19,9 @@ enum spsshtunnel_password_modes
{
IBOutlet NSWindow *sshQuestionDialog;
IBOutlet NSTextField *sshQuestionText;
+ IBOutlet NSWindow *sshPasswordDialog;
+ IBOutlet NSTextField *sshPasswordText;
+ IBOutlet NSSecureTextField *sshPasswordField;
NSWindow *parentWindow;
NSTask *task;
@@ -56,6 +59,7 @@ enum spsshtunnel_password_modes
- (void) standardErrorHandler:(NSNotification*)aNotification;
- (NSString *) getPasswordWithVerificationHash:(NSString *)theHash;
- (BOOL) getResponseForQuestion:(NSString *)theQuestion;
+- (NSString *) getPasswordForQuery:(NSString *)theQuery verificationHash:(NSString *)theHash;
- (IBAction) closeSheet:(id)sender;
@end