How to use Aegis?
After installation you can run the following command to get help and updated instructions:
aegis --help
Usage: aegis [options] [password_length]
Arguments:
password_length The length of the password to be generated (default: 15)
Options:
--bulk Specify the number of passwords to be generated (default: 1)
--numeric Generate a numeric password
--standard Generate password with one upper case, one number and one special character at least.
--online Generate random or numeric passwords with random.org web service
--credits Print random.org web service credits to the user after generating a password
--help Print the help message to the user
Flags should come before the length of the password. The length must be between 4 and 35 characters.
Modes
1.Rapid Fire: Run Aegis without a length to get a random mode password with the default length of 15 characters. Aegis prints a warning to remind you that the length wasn't detected.
$ aegis
Warning: Password length not detected, generating password with default length(15), use flag --help for more details
E#lBVszMJ7q[4Tn
2.Random: Is the default mode that generates a random password with the length the user provides, which means that every possible character will be considered to generate the password and it's mathematically possible that some group of character won't appear in the password like special characters. The password is built only with cryptographically secure random numbers from your OS, so it works offline.
$ aegis 10
a5uEiG9HNK
3.Bulk: Generate a N number of passwords with the length the user provides. The default number of passwords is 1 and the maximum is 10. It can be combined with any other mode.
$ aegis --bulk 2 10
-%>(2IT!A(
Uec9Z)@zJf
4.Standard: Generate password with one upper case, one number and one special character at least. Useful for online services that require a password with these characteristics. Standard mode always runs offline, even if --online is also passed.
$ aegis --standard 15
lc8lErAp!0LzIa6
5.Numeric: Generate a password with only numbers. It can be combined with --online.
$ aegis --numeric 13
3899182977605
6.Online: Generate a password using numbers from random.org to pick characters from a set that was already shuffled with your OS entropy pool (see How AegisPass works). It needs network access and uses your daily random.org quota.
$ aegis --online 20
O8@f50*larH!LlDb6BbB
Add --credits to print how many random.org credits you have left. Aegis also warns you when you have 200 credits or fewer.
$ aegis --online --credits 10
API credits remaining: 998420
q7}Xk=2m!R