Usage
To use the CLI, run the following command:
cipher-craftt [options]
Available Options
Password Generation
--generate-password: Generates a random password.
cipher_craftt --generate-passwordOptions:
-l, --length: Length of the generated password (default: 12).-u, --no-upper: Exclude uppercase letters.-lo, --no-lower: Exclude lowercase letters.-d, --no-digits: Exclude digits.-s, --no-special: Exclude special characters.--exclude-chars: Characters to exclude from the password.--min-digits: Minimum number of digits required (default: 0).--min-special: Minimum number of special characters required (default: 0).--salting: Apply passphrase-based salting to the password.--personalization: Personalized input to include in the password.--file_path: Path to a file containing common words (e.g., common_words.txt).--obfuscate: Apply obfuscation to the password (level 1, 2, or 3).
Passphrase Generation
--generate-passphrase: Generates a passphrase based on a word list.
cipher_craftt --generate-passphraseOptions:
--num-words: Number of words in the passphrase (default: 4).--separator: Separator between words in the passphrase (default: ‘-‘).--obfuscate: Apply obfuscation to the passphrase (level 1, 2, or 3).--wordlist: Your custom wordlist can also be used.--language: Multiple language wordlist available. -da: Danish -de: German -en: Enlish ( default ) -es: Spanish -fr: French -it: Italian -nl: Dutch -no: Norwegian -pl: Polish -pt: Portuguese -sv: Swedish -tr: Turkish
Password Entropy
--calculate-entropy: Calculate the entropy of a given password.
cipher_craftt --calculate-entropy your_password
Password Expiry Check
--check-expiry: Check if a password has expired.
cipher_craftt --check-expiry your_password
Options:
--expiry-days: Number of days before a password expires (default: 90).
Password History Management
--record-password: Record the creation date of a new password.
cipher_craftt --record-password your_password
--check-history: Check if a password has been used before.
cipher_craftt --check-history your_password
--max-history: Limit the number of stored passwords in history.
cipher_craftt --max-history 100
Data Breach Check
--check-breach: Check if a password has been involved in a data breach.
cipher_craftt --check-breach your_password
Secure Password Sharing
--share-password: Encrypt and share a password securely.
cipher_craftt --share-password your_password
--decrypt-password: Decrypt a shared password.
cipher_craftt --decrypt-password encrypted_password key
Pronunciation Guide
--pronunciation-guide: Generate a pronunciation guide for a password.
cipher_craftt --pronunciation-guide your_password
Password Strength Check
--check-strength: Check the strength of the given password.
cipher_craftt --check-strength your_password
Mnemonic Password Generation
--generate-mnemonic: Generate a mnemonic-based password.
cipher_craftt --generate-mnemonic --wordlist path/to/wordlist.txt
Options:
--num-words: Number of words in the mnemonic password (default: 4).--separator: Separator between words in the mnemonic password (default: ‘-‘).--length: Length of the mnemonic password.
Context-Aware Password Generation
--context: Specify the context for the password generation (e.g., finance, social, work).
cipher_craftt --generate-password --context finance
Each context has its own security policy. Below is a summary of the available contexts and their respective password policies:
TOTP (Time-based One-Time Password)
--generate-totp: Generate a TOTP using the provided secret.
cipher_craftt --generate-totp your_secret
--verify-totp: Verify a TOTP using the provided secret and OTP.
cipher_craftt --verify-totp your_secret your_otp