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

keybase folders don't work #11763

Open
stephthegeek opened this issue May 10, 2018 · 16 comments
Open

keybase folders don't work #11763

stephthegeek opened this issue May 10, 2018 · 16 comments
Labels

Comments

@stephthegeek
Copy link

screen shot 2018-05-10 at 9 09 00 am

my log id: 732a5e1a9a73fc0ee8c2001c

@jzila
Copy link
Contributor

jzila commented May 10, 2018

@stephthegeek did you enable Filesystem access via the UI? You can do that via [Gear icon] -> Files -> Enable Keybase in Finder

@jzila
Copy link
Contributor

jzila commented May 10, 2018

Once it's enabled, it should look like this:
screen shot 2018-05-10 at 10 26 03 am

@strib strib added the acked label May 11, 2018
@rekomat
Copy link

rekomat commented Aug 3, 2018

Same here. If I enable filesystem acces via the UI I see the Label "Action needed!". I followed the instructions (open System Preferences / Security & Privacy, unlock by clicking the padlock and click the "Allow" button. But still no success… Any ideas?

@strib
Copy link
Contributor

strib commented Aug 3, 2018

@rekomat are you using an enterprise distribution of macOS (i..e, one provided by your workplace)? It might have locked down external kernel modules even more.

@rekomat
Copy link

rekomat commented Aug 3, 2018

@strib Nope… just "normal" macOS High Sierra v.10.13.6 as downloaded/updated from the App Store.

@strib
Copy link
Contributor

strib commented Aug 3, 2018

@rekomat maybe try restarting Keybase, and/or restarting your computer, to see if that helps. If not, please do a keybase log send and post the log ID here, and we can take a look.

@rekomat
Copy link

rekomat commented Aug 4, 2018

@strib Thanks for your help! I restarted the computer twice — no success. The log ID is e219f2238d4ff35cf83b001c

@strib
Copy link
Contributor

strib commented Aug 4, 2018

@rekomat do any of these troubleshooting steps apply to you? https://github.com/keybase/client/wiki/Troubleshooting

@rekomat
Copy link

rekomat commented Aug 4, 2018

@strib Nope… no success.

  • I have Parallels Desktop installed but not running.
  • VMWare or VirtualBox are not installed on the device.
[rek@mbp ~]$ sudo kextunload -b com.apple.filesystems.smbfs
Password:
[rek@mbp ~]$ sudo kextunload -b com.intel.kext.intelhaxm
(kernel) Kext com.intel.kext.intelhaxm not found for unload request.
Failed to unload com.intel.kext.intelhaxm - (libkern/kext) not found.
[rek@mbp ~]$ sudo touch /System/Library/Extensions

@strib
Copy link
Contributor

strib commented Aug 4, 2018

Ok, please try keybase --debug install -c fuse from the command line and paste all the output here, maybe it will have more info about what's failing.

@rekomat
Copy link

rekomat commented Aug 4, 2018

Thanks for your patience, Jeremy! — Here the console output (error in last line):

[rek@mbp ~]$ keybase --debug install -c fuse
2018-08-04T16:44:17.086766+02:00 ▶ [DEBU keybase globals.go:455] 001 Created Identify2Cache, max age: 5m0s
2018-08-04T16:44:17.086827+02:00 ▶ [DEBU keybase globals.go:458] 002 Created LinkCache, max size: 4000, clean dur: 1m0s
2018-08-04T16:44:17.086845+02:00 ▶ [DEBU keybase globals.go:460] 003 Created CardCache, max age: 5m0s
2018-08-04T16:44:17.086859+02:00 ▶ [DEBU keybase globals.go:478] 004 made a new full self cache
2018-08-04T16:44:17.086930+02:00 ▶ [DEBU keybase globals.go:480] 005 made a new cached UPAK loader (timeout=10m0s)
2018-08-04T16:44:17.088887+02:00 ▶ [DEBU keybase ui.go:604] 006 Setting GPG_TTY to /dev/ttys001
2018-08-04T16:44:17.088937+02:00 ▶ [DEBU keybase secret_store.go:152] 007 NewSecretStoreLocked: using os-specific SecretStore
2018-08-04T16:44:17.088961+02:00 ▶ [DEBU keybase globals.go:391] 008 Keybase CLI 2.3.0-20180710171051+64615d6258
2018-08-04T16:44:17.088973+02:00 ▶ [DEBU keybase globals.go:391] 009 - Built with go1.10.3
2018-08-04T16:44:17.088980+02:00 ▶ [DEBU keybase globals.go:391] 00a - Visit https://keybase.io for more details
2018-08-04T16:44:17.089654+02:00 ▶ [DEBU keybase main.go:212] 00b + configureProcesses
2018-08-04T16:44:17.089685+02:00 ▶ [DEBU keybase main.go:323] 00c + configureLogging
2018-08-04T16:44:17.089711+02:00 ▶ [DEBU keybase main.go:332] 00d Disabling log forwarding
2018-08-04T16:44:17.089767+02:00 ▶ [DEBU keybase main.go:325] 00e - configureLogging
2018-08-04T16:44:17.089793+02:00 ▶ [DEBU keybase main.go:214] 00f - configureProcesses -> <nil>
2018-08-04T16:44:17.090083+02:00 ▶ [DEBU keybase install_darwin.go:444] 010 Installing components: [fuse]
2018-08-04T16:44:17.090144+02:00 ▶ [INFO keybase app.go:106] 011 Installing KBFuse
2018-08-04T16:44:17.880131+02:00 ▶ [DEBU keybase app.go:77] 012 Output ([--debug --run-mode=prod --app-path=/Applications/Keybase.app --timeout=10 --install-fuse]): 08.04.2018 16:44:17.188 Installer:55[DEBG] Version: 1.1.61
08.04.2018 16:44:17.212 KBInstaller:27[DEBG] Installables: (
    "Privileged Helper",
    Fuse
)
08.04.2018 16:44:17.212 KBInstaller:32[DEBG] Install: Privileged Helper
08.04.2018 16:44:17.212 KBHelperTool:73[INFO] Connecting to keybase.Helper (privileged=1)
08.04.2018 16:44:17.212 KBHelperTool:73[INFO] Connected
08.04.2018 16:44:17.219 KBHelperTool:115[DEBG] Helper version: {
    build = 3;
    version = "1.0.31";
}
08.04.2018 16:44:17.241 KBHelperTool:115[DEBG] Helper version: {
    build = 3;
    version = "1.0.31";
}
08.04.2018 16:44:17.246 KBInstaller:32[DEBG] Install: Fuse
08.04.2018 16:44:17.246 KBTask:114[DEBG] Task: /Applications/Keybase.app/Contents/SharedSupport/bin/keybase -d --log-format=file fuse status --bundle-version=3.6.3
08.04.2018 16:44:17.379 KBTask:55[DEBG] Task EOF
08.04.2018 16:44:17.379 KBTask:70[DEBG] Completed
08.04.2018 16:44:17.379 KBTask:72[DEBG] Task (err): 2018-08-04T16:44:17.264576+02:00 ▶ [DEBU keybase globals.go:455] 001 Created Identify2Cache, max age: 5m0s
2018-08-04T16:44:17.264657+02:00 ▶ [DEBU keybase globals.go:458] 002 Created LinkCache, max size: 4000, clean dur: 1m0s
2018-08-04T16:44:17.264677+02:00 ▶ [DEBU keybase globals.go:460] 003 Created CardCache, max age: 5m0s
2018-08-04T16:44:17.264700+02:00 ▶ [DEBU keybase globals.go:478] 004 made a new full self cache
2018-08-04T16:44:17.264730+02:00 ▶ [DEBU keybase globals.go:480] 005 made a new cached UPAK loader (timeout=10m0s)
2018-08-04T16:44:17.266548+02:00 ▶ [DEBU keybase ui.go:606] 006 Can't set GPG_TTY; discover failed
2018-08-04T16:44:17.266587+02:00 ▶ [DEBU keybase secret_store.go:152] 007 NewSecretStoreLocked: using os-specific SecretStore
2018-08-04T16:44:17.266612+02:00 ▶ [DEBU keybase globals.go:391] 008 Keybase CLI 2.3.0-20180710171051+64615d6258
2018-08-04T16:44:17.266623+02:00 ▶ [DEBU keybase globals.go:391] 009 - Built with go1.10.3
2018-08-04T16:44:17.266629+02:00 ▶ [DEBU keybase globals.go:391] 00a - Visit https://keybase.io for more details
2018-08-04T16:44:17.267354+02:00 ▶ [DEBU keybase main.go:212] 00b + configureProcesses
2018-08-04T16:44:17.267414+02:00 ▶ [DEBU keybase main.go:323] 00c + configureLogging
2018-08-04T16:44:17.267442+02:00 ▶ [DEBU keybase main.go:332] 00d Disabling log forwarding
2018-08-04T16:44:17.267459+02:00 ▶ [DEBU keybase main.go:325] 00e - configureLogging
2018-08-04T16:44:17.267479+02:00 ▶ [DEBU keybase main.go:214] 00f - configureProcesses -> <nil>
2018-08-04T16:44:17.267789+02:00 ▶ [DEBU keybase fuse_status_darwin.go:46] 010 No kext info available (kext not loaded)
2018-08-04T16:44:17.267839+02:00 ▶ [DEBU keybase fuse_status_darwin.go:136] 011 Loading plist: /Library/Filesystems/kbfuse.fs/Contents/Info.plist
2018-08-04T16:44:17.271918+02:00 ▶ [DEBU keybase out_of_date.go:14] 012 + PrintOutOfDateWarnings
2018-08-04T16:44:17.271960+02:00 ▶ [DEBU keybase socket.go:65] 013 + GetSocket
2018-08-04T16:44:17.271986+02:00 ▶ [DEBU keybase rpc.go:25] 014 - GetSocket -> ok
2018-08-04T16:44:17.271998+02:00 ▶ [DEBU keybase socket.go:75] 015 | empty socket wrapper; need a new one
2018-08-04T16:44:17.272013+02:00 ▶ [DEBU keybase socket_nix.go:100] 016 + SocketInfo#dialSocket(unix:/Users/rek/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock)
2018-08-04T16:44:17.272039+02:00 ▶ [DEBU keybase socket_nix.go:124] 017 | net.Dial(unix:/Users/rek/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock)
2018-08-04T16:44:17.272221+02:00 ▶ [DEBU keybase socket_nix.go:125] 018 - SocketInfo#dialSocket(unix:/Users/rek/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock) -> ok
2018-08-04T16:44:17.272238+02:00 ▶ [DEBU keybase socket.go:90] 019 | DialSocket -> ok
2018-08-04T16:44:17.273154+02:00 ▶ [DEBU keybase out_of_date.go:28] 01a Got OutOfDateInfo: keybase1.OutOfDateInfo{UpgradeTo:"", UpgradeURI:"", CustomMessage:"", CriticalClockSkew:0}
2018-08-04T16:44:17.273177+02:00 ▶ [DEBU keybase out_of_date.go:44] 01b - PrintOutOfDateWarnings
2018-08-04T16:44:17.374403+02:00 ▶ [DEBU keybase globals.go:593] 01c GlobalContext#Shutdown(0xc420340000)
2018-08-04T16:44:17.374602+02:00 ▶ [DEBU keybase globals.go:637] 01d exiting shutdown code=0; err=<nil>

08.04.2018 16:44:17.379 KBTask:73[DEBG] Task (out): {
  "version": "3.6.3",
  "bundleVersion": "3.6.3",
  "kextID": "com.github.kbfuse.filesystems.kbfuse",
  "path": "/Library/Filesystems/kbfuse.fs",
  "kextStarted": false,
  "installStatus": 4,
  "installAction": 1,
  "mountInfos": [],
  "status": {
    "code": 0,
    "name": "OK",
    "desc": "OK",
    "fields": null
  }
}

08.04.2018 16:44:17.401 KBFuseComponent:243[DEBG] Load permissions: 4755
08.04.2018 16:44:17.401 KBFuseComponent:173[INFO] Fuse install is OK
08.04.2018 16:44:17.401 KBTask:114[DEBG] Task: /Applications/Keybase.app/Contents/SharedSupport/bin/keybase -d --log-format=file fuse status --bundle-version=3.6.3
08.04.2018 16:44:17.540 KBTask:55[DEBG] Task EOF
08.04.2018 16:44:17.540 KBTask:70[DEBG] Completed
08.04.2018 16:44:17.540 KBTask:72[DEBG] Task (err): 2018-08-04T16:44:17.421310+02:00 ▶ [DEBU keybase globals.go:455] 001 Created Identify2Cache, max age: 5m0s
2018-08-04T16:44:17.421382+02:00 ▶ [DEBU keybase globals.go:458] 002 Created LinkCache, max size: 4000, clean dur: 1m0s
2018-08-04T16:44:17.421410+02:00 ▶ [DEBU keybase globals.go:460] 003 Created CardCache, max age: 5m0s
2018-08-04T16:44:17.421425+02:00 ▶ [DEBU keybase globals.go:478] 004 made a new full self cache
2018-08-04T16:44:17.421468+02:00 ▶ [DEBU keybase globals.go:480] 005 made a new cached UPAK loader (timeout=10m0s)
2018-08-04T16:44:17.423486+02:00 ▶ [DEBU keybase ui.go:606] 006 Can't set GPG_TTY; discover failed
2018-08-04T16:44:17.423537+02:00 ▶ [DEBU keybase secret_store.go:152] 007 NewSecretStoreLocked: using os-specific SecretStore
2018-08-04T16:44:17.423563+02:00 ▶ [DEBU keybase globals.go:391] 008 Keybase CLI 2.3.0-20180710171051+64615d6258
2018-08-04T16:44:17.423577+02:00 ▶ [DEBU keybase globals.go:391] 009 - Built with go1.10.3
2018-08-04T16:44:17.423584+02:00 ▶ [DEBU keybase globals.go:391] 00a - Visit https://keybase.io for more details
2018-08-04T16:44:17.424351+02:00 ▶ [DEBU keybase main.go:212] 00b + configureProcesses
2018-08-04T16:44:17.424397+02:00 ▶ [DEBU keybase main.go:323] 00c + configureLogging
2018-08-04T16:44:17.424430+02:00 ▶ [DEBU keybase main.go:332] 00d Disabling log forwarding
2018-08-04T16:44:17.424447+02:00 ▶ [DEBU keybase main.go:325] 00e - configureLogging
2018-08-04T16:44:17.424468+02:00 ▶ [DEBU keybase main.go:214] 00f - configureProcesses -> <nil>
2018-08-04T16:44:17.424847+02:00 ▶ [DEBU keybase fuse_status_darwin.go:46] 010 No kext info available (kext not loaded)
2018-08-04T16:44:17.424927+02:00 ▶ [DEBU keybase fuse_status_darwin.go:136] 011 Loading plist: /Library/Filesystems/kbfuse.fs/Contents/Info.plist
2018-08-04T16:44:17.428832+02:00 ▶ [DEBU keybase out_of_date.go:14] 012 + PrintOutOfDateWarnings
2018-08-04T16:44:17.428881+02:00 ▶ [DEBU keybase socket.go:65] 013 + GetSocket
2018-08-04T16:44:17.428917+02:00 ▶ [DEBU keybase rpc.go:25] 014 - GetSocket -> ok
2018-08-04T16:44:17.428929+02:00 ▶ [DEBU keybase socket.go:75] 015 | empty socket wrapper; need a new one
2018-08-04T16:44:17.428946+02:00 ▶ [DEBU keybase socket_nix.go:100] 016 + SocketInfo#dialSocket(unix:/Users/rek/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock)
2018-08-04T16:44:17.428968+02:00 ▶ [DEBU keybase socket_nix.go:124] 017 | net.Dial(unix:/Users/rek/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock)
2018-08-04T16:44:17.429126+02:00 ▶ [DEBU keybase socket_nix.go:125] 018 - SocketInfo#dialSocket(unix:/Users/rek/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock) -> ok
2018-08-04T16:44:17.429169+02:00 ▶ [DEBU keybase socket.go:90] 019 | DialSocket -> ok
2018-08-04T16:44:17.430124+02:00 ▶ [DEBU keybase out_of_date.go:28] 01a Got OutOfDateInfo: keybase1.OutOfDateInfo{UpgradeTo:"", UpgradeURI:"", CustomMessage:"", CriticalClockSkew:0}
2018-08-04T16:44:17.430170+02:00 ▶ [DEBU keybase out_of_date.go:44] 01b - PrintOutOfDateWarnings
2018-08-04T16:44:17.534218+02:00 ▶ [DEBU keybase globals.go:593] 01c GlobalContext#Shutdown(0xc420382000)
2018-08-04T16:44:17.534412+02:00 ▶ [DEBU keybase globals.go:637] 01d exiting shutdown code=0; err=<nil>

08.04.2018 16:44:17.540 KBTask:73[DEBG] Task (out): {
  "version": "3.6.3",
  "bundleVersion": "3.6.3",
  "kextID": "com.github.kbfuse.filesystems.kbfuse",
  "path": "/Library/Filesystems/kbfuse.fs",
  "kextStarted": false,
  "installStatus": 4,
  "installAction": 1,
  "mountInfos": [],
  "status": {
    "code": 0,
    "name": "OK",
    "desc": "OK",
    "fields": null
  }
}

08.04.2018 16:44:17.877 KBInstaller:45[INFO] Install complete
08.04.2018 16:44:17.877 KBInstaller:49[INFO] Privileged Helper: Installed, Bundle Version: 1.0.31
Version: 1.0.31
08.04.2018 16:44:17.877 KBInstaller:49[INFO] Fuse: Install Error: KextManager failed to load with status: -603946981
Installed, Version: 3.6.3
Kext ID: com.github.kbfuse.filesystems.kbfuse
Kext Loaded: No
Path: /Library/Filesystems/kbfuse.fs
08.04.2018 16:44:17.877 Installer:95[INFO] Exit(5)
2018-08-04T16:44:17.880368+02:00 ▶ [ERRO keybase install_darwin.go:538] 013 Error installing KBFuse: exit status 5
[rek@mbp ~]$ 
```

@strib
Copy link
Contributor

strib commented Aug 4, 2018

Ah ok, that -603946981 error code means you're still getting the security permissions error from macOS:

http://github.com/osxfuse/support/b-603946981lob/master/load_osxfuse/fuse_kext.c#L111

It seems like, for some reason, macOS isn't respecting your decision to allow our kernel extension. I'm not sure why!

If this was a more locked-down version of macOS, I'd recommend booting into recovery mode and using the spctl kext-consent command, as detailed in the "How This Affects Enterprise App Distribution" section here: https://developer.apple.com/library/archive/technotes/tn2459/_index.html . You can try that also, but I'm not sure it applies to non-enterprise distros.

One user reported they needed to disable SIP for some reason, though it was a different error code: #12720 (comment)

@boivie
Copy link

boivie commented Aug 6, 2018

I found a workaround - although very strange. It seems as if it's the click to "Allow" that isn't acknowledged by MacOS. They have added quite a lot of security around the "allow" button, to prevent it from being clicked from third party apps or remote desktop applications. And for some reason, they don't trust their own trackpad in some situations.

I followed https://apple.stackexchange.com/a/325768 to enable the "allow" button to be triggered by the keyboard (will need to restart System Preferences between enabling tab-ing between controls and going into Security and Privacy). Then it worked.

Strange, indeed.

Brand new computer running High Sierra, no custom software at all or any strange Enterprise stuff.

@strib
Copy link
Contributor

strib commented Aug 6, 2018

@boivie wow, great detective work! Amazing bug. @rekomat maybe try this ^?

@rekomat
Copy link

rekomat commented Aug 6, 2018

That's it! It's working!
@boivie @strib — Thanks for your help! You guys are my heros! 🥇

@foss-
Copy link

foss- commented Jan 10, 2021

Commenting here as I think seeing the same problem but so far unable to get things resolved. Let me know if this should go into a separate bug.

macOS 10.13.6 (17G14042)
Keybase 5.5.0-20200526170801+139bb348af

Keybase > Settings > Files > Enable Finder Integration > Tick Checkbox > Yes, enable
clicking that shows spinner animation for a bit and then does nothing.

Running

 keybase --debug install -c fuse

results in https://bin.disroot.org/?71256b8b64798ef7#DAHriuiap8fjW1URuGaMkCX33w8Txg4fvnwC2y3KgdGh with the interesting lines

01.10.2021 23:41:34.978 KBInstaller:49[INFO] Fuse: Install Error: KextManager failed to load with status: -603947002
Installed, Version: 3.10.0
Kext ID: com.github.kbfuse.filesystems.kbfuse
Kext Loaded: No
Path: /Library/Filesystems/kbfuse.fs
01.10.2021 23:41:34.978 Installer:97[INFO] Exit(4)
2021-01-10T23:41:34.983199+01:00 ▶ [ERRO keybase install_darwin.go:608] 017 Error installing KBFuse: exit status 4

Was trying to follow the StackExchange suggestion by boivie. Had "All controls" selected already. But I am not seeing "Allow" in System Preferences > Privacy & Security.

Any ideas how to enable keybase Finder integration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants