/u2f-automatation

Uses SoftU2F and AppleScript to automate logging into sites that require MFA

Primary LanguageShellMIT LicenseMIT

u2f-automatation

A bit of code to enable software only login to a site that requires u2f authorization

You need a U2F HID emulator for this to work, like GitHub's SoftU2F

  • Applescript to click the notification from SoftU2F
  • Applescript as text is piped into osascript
  • Shell script runs in background
    • I use zsh, and run the script using ./mfa-click 2&>1 > /dev/null/ &|
    • You can probably run it with bash as well, using instructions from here