Automatic Password Generator
しばらく前から気になってて手がついていなかったのだが、パスワード管理ツールを少し探してみた。まだ途中だけど、APGっていうのがあるみたい。
FIPS 181のほうをみるとあまりに昔の文書なので大丈夫かフランチェンと思いつつ、MacPortsにあったので入れてみた。
sudo port install apg
以下、ヘルプ。
apg Automated Password Generator Copyright (c) Adel I. Mirzazhanov apg [-a algorithm] [-r file] [-M mode] [-E char_string] [-n num_of_pass] [-m min_pass_len] [-x max_pass_len] [-c cl_seed] [-d] [-s] [-h] [-y] [-q] -M mode new style password modes -E char_string exclude characters from password generation process -r file apply dictionary check against file -b filter_file apply bloom filter check against filter_file (filter_file should be created with apgbfm(1) utility) -p substr_len paranoid modifier for bloom filter check -a algorithm choose algorithm 1 - random password generation according to password modes 0 - pronounceable password generation -n num_of_pass generate num_of_pass passwords -m min_pass_len minimum password length -x max_pass_len maximum password length -s ask user for a random seed for password generation -c cl_seed use cl_seed as a random seed for password -d do NOT use any delimiters between generated passwords -l spell generated password -t print pronunciation for generated pronounceable password -y print crypted passwords -q quiet mode (do not print warnings) -h print this help screen -v print version information
面白いのが、デフォルトで生成されるパスワードは発音可能だと言うところ。-tオプションをつけると発音方法まで教えてくれる。
apg -t ChegWurp (Cheg-Wurp) veekyerc (veek-yerc) oovMacOs (oov-Mac-Os) gislacFo (gi-slac-Fo) mofeyft/ (mof-eyft-SLASH) KelejGha (Kel-ej-Gha)
パスワードの強度としてはどうなんだろう・・・専門外なのでわからないや。
ファイルにつけるパスワードや、カード情報を登録したショッピングサイト等には向かない気がするが、メールアドレスだけで登録できるようなネットサービスのアカウントで同じパスワードを使い回したり全然更新してなかったりするくらいなら、悩まずにさっと新しいパスワードが作れて更新しやすいほうが、いくらかマシなのでは。
*1:私は使わないけど