文書の表示以前のリビジョンバックリンク文書の先頭へ この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。 ====== Google Authenticator ====== **Google Authenticator** (Google 認証システム)は、Google が開発した二段階認証(二要素認証)を行うトークンソフトウェアである。Authenticator は、Google ログイン時の二段階認証に必要な6桁の数字コードを生成する。また、LastPass や Dropbox といった他社製のアプリケーションの二段階認証にも対応する。\\ [[wwjp>Google_Authenticator|Google Authenticator]]\\ ソースコード: [[git>google/google-authenticator-libpam|google/google-authenticator-libpam]]\\ [[:linux:freeotp|FreeOTP]]も参照。\\ ===== インストール ===== **Fedora**\\ <WRAP color_term> <WRAP color_command><code> $ sudo dnf install google-authenticator </code></WRAP> <WRAP color_result_long><html><pre> メタデータの期限切れの最終確認: 0:32:33 時間前の 2022年06月24日 14時41分19秒 に実施しました。 依存関係が解決しました。 ======================================================================================================================== パッケージ アーキテクチャー バージョン リポジトリー サイズ ======================================================================================================================== インストール: <b class=GRN>google-authenticator</b> x86_64 1.09-4.fc36 fedora 55 k トランザクションの概要 ======================================================================================================================== インストール 1 パッケージ ダウンロードサイズの合計: 55 k インストール後のサイズ: 120 k これでよろしいですか? [y/N]: y パッケージのダウンロード: google-authenticator-1.09-4.fc36.x86_64.rpm 256 kB/s | 55 kB 00:00 ------------------------------------------------------------------------------------------------------------------------ 合計 118 kB/s | 55 kB 00:00 トランザクションの確認を実行中 トランザクションの確認に成功しました。 トランザクションのテストを実行中 トランザクションのテストに成功しました。 トランザクションを実行中 準備 : 1/1 インストール中 : google-authenticator-1.09-4.fc36.x86_64 1/1 scriptletの実行中: google-authenticator-1.09-4.fc36.x86_64 1/1 検証 : google-authenticator-1.09-4.fc36.x86_64 1/1 インストール済み: google-authenticator-1.09-4.fc36.x86_64 完了しました! </pre></html></WRAP> </WRAP> <WRAP color_term> <WRAP color_command><code> $ google-authenticator --help </code></WRAP> <WRAP color_result><html><pre> google-authenticator 1.09 google-authenticator [<options>] -h, --help Print this message --version Print version -c, --counter-based Set up counter-based (HOTP) verification -C, --no-confirm Don't confirm code. For non-interactive setups -t, --time-based Set up time-based (TOTP) verification -d, --disallow-reuse Disallow reuse of previously used TOTP tokens -D, --allow-reuse Allow reuse of previously used TOTP tokens -f, --force Write file without first confirming with user -l, --label=<label> Override the default label in "otpauth://" URL -i, --issuer=<issuer> Override the default issuer in "otpauth://" URL -q, --quiet Quiet mode -Q, --qr-mode={NONE,ANSI,UTF8} QRCode output mode -r, --rate-limit=N Limit logins to N per every M seconds -R, --rate-time=M Limit logins to N per every M seconds -u, --no-rate-limit Disable rate-limiting -s, --secret=<file> Specify a non-standard file location -S, --step-size=S Set interval between token refreshes -w, --window-size=W Set window of concurrently valid codes -W, --minimal-window Disable window of concurrently valid codes -e, --emergency-codes=N Number of emergency codes to generate </pre></html></WRAP> </WRAP> ===== スマホのOTP 生成ツール ===== FreeOTP for [[https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp|Android]]/[[https://itunes.apple.com/es/app/freeotp-authenticator/id872559395|iOS]]\\ Google Authenticator for [[https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2|Android]]/[[https://itunes.apple.com/es/app/google-authenticator/id388497605|iOS]]\\ ===== 参考文献 ===== [[https://wiki.archlinux.jp/index.php/Google_Authenticator|Google Authenticator - ArchWiki]]\\ linux/google_authenticator.txt 最終更新: 2022/06/24 18:36by ともやん