Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Alfred 2-factor authentication workflow with steamguard support.

License

NotificationsYou must be signed in to change notification settings

gyaneesh/alfred-totp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred TOTP
Alfred TOTP Workflow

Obtain one time passwords from alfred.

VersionBuild StatusIssuesMIT License

Requirements

  • AlfredApp (Alfred 3 & 4 tested)
  • Brew package manager
  • Python3 (SteamGuard OTP support)

Installation

$ brew install oauthtool

Nowdownload the latest workflow and install it.

Obtaining your TOTP secrets

You could either export it from the existing applications you're using or generate a new secret from the website's user control panel.

For SteamGuard OTP, followthis guide to obtain your secret key.

Then insert your totp secret codes into the macOS keychainalfred-totp.keychain like so:

$ security -i> create-keychain alfred-totp.keychain> set-keychain-settings alfred-totp.keychain> add-generic-password -a alfred-totp -s "name of service" -w "totp secret" alfred-totp.keychain> # repeat above command as needed, crtl-c to quit.

Usage

In alfred just typeotp then start typing the name of your service.

alfred-totp-1

The TOTP code will be pasted to the top most app by default and copied to the clipboard on option return.

alfred-totp-2

If you would like to display all the service's passwords at once, configure the object (script filter) of alfred-totp's workflow as below

alfred-totp-2

alfred-totp-2

  • Note: Icons reflected in the results are located at workflow's icon directory and follow service name as entered in the keychain.

Thanks

Thanks towaynehoover andaria.ia for the code on how to list items from macOS keychain.


[8]ページ先頭

©2009-2025 Movatter.jp