aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-07-21 23:21:51 +0000
committerrowanbeentje <rowan@beent.je>2009-07-21 23:21:51 +0000
commit40dc17254dc86699d0c4e9f9eea235c5a7f5f6b9 (patch)
tree50c5bb5a2389644a5cbffdf9a3431b74a37a55af /Source
parent3c902c7e677ec36035a730aec01038fcebbd1ee0 (diff)
downloadsequelpro-40dc17254dc86699d0c4e9f9eea235c5a7f5f6b9.tar.gz
sequelpro-40dc17254dc86699d0c4e9f9eea235c5a7f5f6b9.tar.bz2
sequelpro-40dc17254dc86699d0c4e9f9eea235c5a7f5f6b9.zip
- Rename "TunnelPassphraseRequester" to "SequelProTunnelAssistant" for clarity (sorry nightly testers)
- Improve assistant copy from being in a script to resources copy phase
Diffstat (limited to 'Source')
-rw-r--r--Source/KeyChain.m2
-rw-r--r--Source/SPSSHTunnel.m4
-rw-r--r--Source/SequelProTunnelAssistant.m (renamed from Source/TunnelPassphraseRequester.m)2
3 files changed, 4 insertions, 4 deletions
diff --git a/Source/KeyChain.m b/Source/KeyChain.m
index 58dc2451..483eeceb 100644
--- a/Source/KeyChain.m
+++ b/Source/KeyChain.m
@@ -53,7 +53,7 @@
if (![self passwordExistsForName:name account:account]) {
// Create a trusted access list with two items - ourselves and the SSH pass app.
- NSString *helperPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"TunnelPassphraseRequester"];
+ NSString *helperPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"SequelProTunnelAssistant"];
if ((SecTrustedApplicationCreateFromPath(NULL, &sequelProRef) == noErr) &&
(SecTrustedApplicationCreateFromPath([helperPath UTF8String], &sequelProHelperRef) == noErr)) {
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m
index 5b765525..60260f8d 100644
--- a/Source/SPSSHTunnel.m
+++ b/Source/SPSSHTunnel.m
@@ -274,7 +274,7 @@
[task setArguments:taskArguments];
// Set up the environment for the task
- authenticationAppPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"TunnelPassphraseRequester"];
+ authenticationAppPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"SequelProTunnelAssistant"];
taskEnvironment = [[NSMutableDictionary alloc] initWithDictionary:[[NSProcessInfo processInfo] environment]];
[taskEnvironment removeObjectForKey: @"SSH_AGENT_PID"];
[taskEnvironment removeObjectForKey: @"SSH_AUTH_SOCK"];
@@ -433,7 +433,7 @@
}
/*
- * Method to request the password for the current connection, as used by TunnelPassphraseRequester;
+ * Method to request the password for the current connection, as used by SequelProTunnelAssistant;
* called with a verification hash to check against the stored hash, to provide basic security. Note
* that this is easily bypassed, but if bypassed the password can already easily be retrieved in the same way.
*/
diff --git a/Source/TunnelPassphraseRequester.m b/Source/SequelProTunnelAssistant.m
index 11665449..7859eaf7 100644
--- a/Source/TunnelPassphraseRequester.m
+++ b/Source/SequelProTunnelAssistant.m
@@ -1,5 +1,5 @@
//
-// TunnelPassphraseRequester.m
+// SequelProTunnelAssistant.m
// sequel-pro
//
// Created by Rowan Beentje on May 4, 2009.