- Notifications
You must be signed in to change notification settings - Fork1
daniperez/gnome-mfa
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Shows Multifactor Authentication tokens (aka "one time passwords" or OTP) in the Gnome panel.Uses the wonderfulArgos extensionfor Gnome.
- Thered number is theexpiration time for the tokens, in seconds.
- If youclick any entry, thetoken is copied to the clipboard.
- Argos extension
- oathtool (included in most distros)
- xclip (included in most distros)
Copymfa.5s.sh
to~/.config/argos
and grant it execution permission (chmod +x ~/.config/argos/mfa.5s.sh
).
By default the tokens are read from~/.config/gnome-mfa/mfa.txt
.The configuration for the screenshot above is as follows:
Gmail, gr6d 5br7 25s6 vnck v4vl hlao re, mail-mark-unreadDropbox, ABC5DR789AB3D1B3BCD1ABAB23, weather-overcastBank, ba12 1234 126a cdef 5431 1a, calc
The format is:
Title 1, seed 1, icon name 1Title 2, seed 2, icon name 2...
- Title: it can be anything and can include some mark-up (
<b>
,<i>
... checkArgos' documentation). - Seed: TOTP seed (HOTP not implemented yet). Only base32 seeds are implemented for the time being since they are the most common.
- Icon name: name of a Gnome icon (see here or execute
gtk3-icon-browser
).
If after configuring Argos/Gnome-MFA you cannot see the key icon on the top-right corner, something is not working. Check Argos documentation about how to debug it.