diff --git a/FAQ.md b/FAQ.md index 1974c0d..64ca524 100644 --- a/FAQ.md +++ b/FAQ.md @@ -24,6 +24,10 @@ Please run `ssh -Tv git@github.com` in your terminal and paste the output in a [ ![Apple Watch Prompt](.github/readme/apple_watch_auth_mac.png) ![Apple Watch Prompt](.github/readme/apple_watch_auth_watch.png) +### How do I tell SSH to use a specific key? + +You can create a `mykey.pub` (where `mykey` is the name of your key) in your `~/.ssh/` directory with the contents of your public key, and specify that you want to use that key in your `~/.ssh/config`. [This ServerFault answer](https://serverfault.com/a/295771) has more details on setting that up + ### Why should I trust you? You shouldn't, for a piece of software like this. Secretive, by design, has an auditable build process. Each build has a fully auditable build log, showing the source it was built from and a SHA of the build product. You can check the SHA of the zip you download against the SHA output in the build log (which is linked in the About window). diff --git a/Secretive/Controllers/ApplicationDirectoryController.swift b/Secretive/Controllers/ApplicationDirectoryController.swift index 1b41227..0f41b98 100644 --- a/Secretive/Controllers/ApplicationDirectoryController.swift +++ b/Secretive/Controllers/ApplicationDirectoryController.swift @@ -7,7 +7,7 @@ extension ApplicationDirectoryController { var isInApplicationsDirectory: Bool { let bundlePath = Bundle.main.bundlePath - for directory in NSSearchPathForDirectoriesInDomains(.applicationDirectory, .allDomainsMask, true) { + for directory in NSSearchPathForDirectoriesInDomains(.allApplicationsDirectory, .allDomainsMask, true) { if bundlePath.hasPrefix(directory) { return true }