sqreen / twofa

A TouchID-aware 2-factor authenticator for macOS
MIT License
148 stars 10 forks source link

Not able to run binary -- zsh: twofa Killed. #6

Open someone83474 opened 4 years ago

someone83474 commented 4 years ago

I was under the impression that the brew-provided binaries can be used without the need to get an apple developer account. But executing the binary unter macOS 10.15.5 does not work.


~ % brew install twofa Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae agedu

==> Installing twofa from sqreen/speakeasy ==> Downloading https://dl.bintray.com/sqreen/bottles-sqreen/twofa-0.0.1.mojave.bottle.tar.gz Already downloaded: /Users/chris/Library/Caches/Homebrew/downloads/0d4679271cfb56188bad88a92bc4270ef0599ade9ff73a9da244f820340e4730--twofa-0.0.1.mojave.bottle.tar.gz ==> Pouring twofa-0.0.1.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/twofa/0.0.1: 4 files, 10.6MB

~ % twofa zsh: killed twofa

Also, the filename mentions mojave, but 10.15.5 is catalina (but according to the README "Built and tested on macOS Catalina 10.15.5.")

picolens commented 4 years ago

Can confirm followed install instructions and macos 10.15.5 gives the same error. zsh: killed twofa test

picolens commented 4 years ago

Anyone get this to work on Catalina? For various reasons, I can only run a compiled build :/

picolens commented 4 years ago

FWIW I also tried enabling Full Disk Access by dragging it into the Prefs panel. That did not help either.

Wonder if it's a gatekeeper issue .. hmm.

ZzEeKkAa commented 4 years ago

Experiencing the same issue. 10.15.5

danielpops commented 4 years ago

same issue with bash, Catalina 10.15.6

danielpops@C02X41BWJG5M:~ [12:50:09] ✗
$ twofa test
Killed: 9
sethwebster commented 4 years ago

Same. Catalina 10.15.6

lionep commented 3 years ago

Same. Big Sur 11.1, zsh 5.8

sfc-gh-afedorov commented 3 years ago

fwiw ykman has this option now, if you're Ok with using a Yubikey instead of TouchId —

~ % ykman oath code -s my-favorite-otp
Touch your YubiKey...
456678