#format wiki #language en = Google Authenticator = * [[https://wiki.archlinux.org/index.php/Google_Authenticator|Google Authenticator]] == Notes Google Authenticator == * Display google qr code. {{{ https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/Example%3Aalice%40google.com%3Fsecret%3DJBSWY3DPEHPK3PXP%26issuer%3DExample }}} * Display on command line {{{ qrencode -t ANSI -d 300 -s 10 "otpauth://totp/USER@vigor?secret=RBPXTBQB5ZVBUKJINCMBTG4F6E" }}} * With encrypted home dir, need to move the .google_authenticator file out of the home dir. * Set pam authentication with a non default path {{{ auth required pam_google_authenticator.so secret=/etc/googleauthenticator/${USER}/google_authenticator }}} ...