Twilio has detected that threat actors were able to identify data associated with Authy accounts, including phone numbers, due to an unauthenticated endpoint. Twilio has taken action to secure this endpoint and no longer allow unauthenticated requests. More details are available here
This workflow doesn't work now!!
Authy Commandline Tool mainly for Alfred Workflow
Pre-built binaries are available from the releases page.
Alternatively, it can be compiled from source, which requires Go 1.20.3 or newer:
go get github.com/momaek/authy
- Rename
authy-darwin-amd64
orauthy-darwin-arm64
toauthy
- Move
authy
to your local$PATH
- Run
authy account
. The command will prompt you for your phone number country code (e.g. 1 for United States) and your phone number. This is the number that you used to register your Authy account originally. - If the program identifies an existing Authy account, it will send a device registration request using the push method. This will send a push notification to your existing Authy apps (be it on Android, iOS, Desktop or Chrome), and you will need to respond that from your other app(s).
- If the device registration is successful, the program will save its authentication credential (a random value) to
$HOME/.authy.json
for further uses. - Run
authy refresh
. The command will prompt you for your Authy backup password. This is required to decrypt the TOTP secrets for the next step. - Run
authy fuzz {query}
will get an AlfredWorkflow style output - Download AlfredWorkflow Authy.alfredworkflow
- Double click
Authy.alfredworkflow
or manual import from Alfred - Open Alfred and type
at {query}
By default, the authy config file (.authy.json) and cache (.authy.cache) are stored in $HOME
.
A custom configuration directory can be set with the environment variable $AUTHY_ROOT
e.g.
export AUTHY_ROOT=~/.dotfiles/secrets/authy
the example above would create the config file ~/.dotfiles/secrets/authy/.authy.json
To use this tool, you should enable Allow Multi-Device in your Authy App
Default show all results.
A: You may update Workflow Configuration(Environment Variables). Add Name/Value:
Name | Value |
---|---|
PATH | /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:{your_binaryfile_path} |