Ben komut satırı bayrağı pwgenile olsun tekrarlanabilirlik seviyorum çünkü parola oluşturmak için komut satırı aracını kullanıyorum sha1. Kılavuz sayfasını alıntılamak için:
-H, --sha1=/path/to/file[#seed]
Will use the sha1's hash of given file and the optional seed to
create password. It will allow you to compute the same password
later, if you remember the file, seed, and pwgen's options used.
ie: pwgen -H ~/your_favorite.mp3#your@email.com gives a list of
possibles passwords for your pop3 account, and you can ask this
list again and again.
WARNING: The passwords generated using this option are not very
random. If you use this option, make sure the attacker can not
obtain a copy of the file. Also, note that the name of the file
may be easily available from the ~/.history or ~/.bash_history
file.
Bu gibi şifreler oluşturmak (ve almak) için kullanıyorum:
pwgen -1cnsy --sha1=/path/to/my/gpg/private-key.asc#username@example.com
Tek sorun, şifrenin kaç karakter olmasını istediğimi belirtmenin bir yolunu bulamıyorum. Varsayılan olarak, kaba zorlamaya daha duyarlı olan 8 karakterlik bir parola oluşturur.
Alternatif olarak, apgkarakter sayısını belirtmeme izin veren kullanabilirim , ancak apgtekrarlanabilir karakterler vermek için bir dosya ve dize tohum olarak almanın bir yolunu görmüyorum .
pwgenBelirtilen uzunlukta parolalar oluşturmanın bir yolu var mı ?