Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

having issues using softu2f with version 8 .2p1 of openssh(installed via homebrew) #76

Open
hotelzululima opened this issue Apr 23, 2020 · 1 comment

Comments

@hotelzululima
Copy link

Are there any plans to support the libsk-libfido2.so that comes with openssh.. currently it appears to want a USB HW token for ssh-keygen -t ecdsa-s

ssh-keygen -t ecdsa-sk
Generating public/private ecdsa-sk key pair.
You may need to touch your authenticator to authorize key generation.
Key enrollment failed: device not found

softu2f is installed and used with brave/chrome/firefox...

Thanks for using Soft U2F. I'm sorry that you've encountered a bug.

System information

To aide in debugging, please provide the output from running the following commands:

What browser are you using?

FIDO U2F only works natively using Chrome and Opera. Browser extensions enabling U2F are available for Safari and Firefox.

sw_vers

ProductName: Mac OS X
ProductVersion: 10.15.3
BuildVersion: 19D76

This tells us the version of macOS you are running. Soft U2F only works on macOS Sierra (10.12) and newer.

file /Library/Extensions/softu2f.kext /Applications/SoftU2F.app ~/Library/LaunchAgents/com.github.SoftU2F.plist

/Library/Extensions/softu2f.kext: directory
/Applications/SoftU2F.app: directory

This confirms that the various components of Soft U2F were successfully installed.

kextstat -b com.github.SoftU2FDriver

216 0 0xffffff7f843dd000 0x5000 0x5000 com.github.SoftU2FDriver (1) 11C96418-0276-385C-B480-39A8AF653097 <51 6 5 3>
This confirms that the Soft U2F driver is loaded.

ps aux | grep SoftU2F.app

gwen 97525 0.0 0.1 4408232 16712 ?? S 1:38AM 0:00.22 /Applications/SoftU2F.app/Contents/MacOS/SoftU2F

This confirms that the Soft U2F app is running.

grep SoftU2F -a20 -b20 /var/log/install.log | sort -g | uniq | tail -n200

This grabs logs from your installation of Soft U2F. Other system details are included in this log file and the command attempts to filter the file down to details that might be relevant to Soft U2F. Still, you might want to verify that no information is included in these results that you aren't comfortable sharing.
16026672-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: ----- Begin install -----
16026766-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
16026887-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: packages=(
16026966: "PKLeopardPackage <id=com.GitHub.SoftU2F, version=0, url=file://localhost/usr/local/Caskroom/softu2f/0.0.19/SoftU2F.pkg>"
16027093- )
16027096-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: Set reponsibility for install to 1326
16027202:2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: Extracting file://localhost/usr/local/Caskroom/softu2f/0.0.19/SoftU2F.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/B0B959B0-4769-4250-9B0B-94FAF1524F74.activeSandbox/Root, uid=0)
16027474-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: prevent user idle system sleep
16027573-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: suspending backupd
16027660:2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.BXyA8c/Scripts/com.GitHub.SoftU2F.y5RqtD
16027834-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: ./preinstall: usage: mkdir [-pv] [-m mode] directory ...
16027947-2020-04-23 01:38:00-07 dummy-MacBook-Pro install_monitor[97508]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
16028097:2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: ./preinstall: (kernel) Kext com.github.SoftU2FDriver not found for unload request.
16028236:2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: ./preinstall: Failed to unload com.github.SoftU2FDriver - (libkern/kext) not found.
16028376:2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: ./preinstall: /Users/gwen/Library/LaunchAgents/com.github.SoftU2F.plist: No such file or directory
16028531-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/B0B959B0-4769-4250-9B0B-94FAF1524F74.sandboxTrash for sandbox /Library/InstallerSandboxes/.PKInstallSandboxManager/B0B959B0-4769-4250-9B0B-94FAF1524F74.activeSandbox
16028856-2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: Shoving /Library/InstallerSandboxes/.PKInstallSandboxManager/B0B959B0-4769-4250-9B0B-94FAF1524F74.activeSandbox/Root (2 items) to /
16029056:2020-04-23 01:38:00-07 dummy-MacBook-Pro installd[692]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.BXyA8c/Scripts/com.GitHub.SoftU2F.y5RqtD
16029231-2020-04-23 01:38:01-07 dummy-MacBook-Pro installd[692]: ./postinstall: Cache file /System/Library/Caches/com.apple.kext.caches/Directories/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.
16029441-2020-04-23 01:38:01-07 dummy-MacBook-Pro installd[692]: ./postinstall: Disabling KextAudit: SIP is off
16029544-2020-04-23 01:38:01-07 dummy-MacBook-Pro installd[692]: PackageKit: kextcache -system-caches
16029637-2020-04-23 01:38:30-07 dummy-MacBook-Pro installd[692]: PackageKit: kextcache -update-volume / -Installer -verbose 3
16029754-2020-04-23 01:38:30-07 dummy-MacBook-Pro installd[692]: kextcache: Note: kextd not watching /; proceeding w/o lock
16029869-2020-04-23 01:38:30-07 dummy-MacBook-Pro installd[692]: kextcache: Note: kextd not watching /; proceeding w/o lock
16029984-2020-04-23 01:38:30-07 dummy-MacBook-Pro installd[692]: kextcache: Ensuring /'s caches are up to date.
16030087-2020-04-23 01:38:30-07 dummy-MacBook-Pro installd[692]: kextcache: Warning: /AppleInternal/Library/Extensions: No such file or directory
16030224-2020-04-23 01:38:30-07 dummy-MacBook-Pro installd[692]: kextcache: rebuilding //Library/Apple/System/Library/PrelinkedKernels/prelinkedkernel
16030366-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: Waiting for I/O Kit to quiesce.
16030465-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: Note: kextd not watching /System/Volumes/Data; proceeding w/o lock
16030599-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Extensions/lgandroid_mdmdata.kext is not demanded by OSBundleRequired conditions.
16030757-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Extensions/lgandroid_rndis.kext is not demanded by OSBundleRequired conditions.
16030913-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Extensions/lgandroid_ndiscontrol.kext is not demanded by OSBundleRequired conditions.
16031075-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Extensions/lgandroid_mdmcontrol.kext is not demanded by OSBundleRequired conditions.
16031236-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Extensions/lgandroid_ndisdata.kext is not demanded by OSBundleRequired conditions.
16031395-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Extensions/lgandroid_serial.kext is not demanded by OSBundleRequired conditions.
16031552-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Extensions/lgandroid_usbbus.kext is not demanded by OSBundleRequired conditions.
16031709-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext is not demanded by OSBundleRequired conditions.
16031893-2020-04-23 01:38:31-07 dummy-MacBook-Pro installd[692]: kextcache: /System/Library/Extensions/AppleEmbeddedOSSupportHost.kext is not demanded by OSBundleRequired conditions.
16110901-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/HoRNDIS.kext to prelinked kernel.
16111029-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/tap.kext to prelinked kernel.
16111153-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/Soundflower.kext to prelinked kernel.
16111285-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/softu2f.kext to prelinked kernel.
16111413-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/ATTOCelerityFC8.kext to prelinked kernel.
16111549-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/ArcMSR.kext to prelinked kernel.
16111676-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/HighPointRR.kext to prelinked kernel.
16111808-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/CalDigitHDProDrv.kext to prelinked kernel.
16111945-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/HighPointIOP.kext to prelinked kernel.
16112078-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/LittleSnitch.kext to prelinked kernel.
16112211-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/SoftRAID.kext to prelinked kernel.
16112340-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/ACS6x.kext to prelinked kernel.
16112466-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/intelhaxm.kext to prelinked kernel.
16112596-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/ATTOExpressSASHBA2.kext to prelinked kernel.
16112735-2020-04-23 01:38:53-07 dummy-MacBook-Pro installd[692]: kextcache: Adding /Library/Extensions/tun.kext to prelinked kernel.
16112859-2020-04-23 01:38:56-07 dummy-MacBook-Pro installd[692]: kextcache: Created prelinked kernel "/Library/Apple/System/Library/PrelinkedKernels/prelinkedkernel"
16113016-2020-04-23 01:38:56-07 dummy-MacBook-Pro installd[692]: kextcache: Created prelinked kernel using "/System/Library/Kernels/kernel"
16113147-2020-04-23 01:38:56-07 dummy-MacBook-Pro installd[692]: kextcache: Creating deferred update script...
16113249-2020-04-23 01:38:56-07 dummy-MacBook-Pro installd[692]: kextcache: KernelCache ID: 77BF7275664641E365F59C2DE8DCE086
16113365-2020-04-23 01:38:56-07 dummy-MacBook-Pro installd[692]: kextcache: /: no supported helper partitions to update.
16113477:2020-04-23 01:38:56-07 dummy-MacBook-Pro installd[692]: PackageKit: Writing receipt for com.GitHub.SoftU2F to /
16113589:2020-04-23 01:38:56-07 dummy-MacBook-Pro installd[692]: PackageKit: Touched bundle /Applications/SoftU2F.app

@ossie-git
Copy link

Ran into the same issue

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

No branches or pull requests

2 participants