Skip to main content

🔐 CipherSmith

PyPI version Python Versions License: MIT Code style: black

A powerful CLI password generator with real-time strength analysis and advanced security features. Built with security and usability in mind! 🚀

✨ Features

  • 🎯 Generate cryptographically secure passwords
  • 📊 Real-time password strength analysis using zxcvbn
  • 🔍 Detailed password security feedback and suggestions
  • 📝 Password history tracking with tags and descriptions
  • 🔎 Search through password history
  • 📈 Password generation statistics
  • 🎨 Exclude similar characters option
  • 🛡️ Advanced pattern detection and security analysis

🚀 Quick Start

Prerequisites

  • Python 3.9 or higher
  • pip (Python package installer)

Installation

pip install CipherSmith

Basic Usage

# Generate a secure password
CipherSmith generate

# Generate with specific requirements
CipherSmith generate --uppercase 2 --lowercase 6 --numbers 2 --special-chars 2

# Check password strength
CipherSmith check "your-password-here"

# Check with detailed analysis
CipherSmith check "your-password-here" --verbose

# View password history
CipherSmith history

# Search passwords
CipherSmith search "github"

🔍 Password Strength Analysis

CipherSmith includes advanced password strength analysis:

  • Real-time strength visualization
  • Pattern detection
  • Crack time estimation
  • Security suggestions
  • Comprehensive feedback

Example output:

Password Strength Analysis:
Score: 4/4
Crack Time: 1961.20 seconds
Feedback: Strong password!

Additional Details:
Length: 18
Character Sets: lowercase, uppercase, numbers, special
Patterns Found: None
Suggestions: None

📚 Documentation

For detailed usage examples, see our Demo Guide.

Common topics:

🔧 Dependencies

  • typer>=0.9.0
  • rich>=10.0.0
  • zxcvbn-python>=4.4.24
  • cryptography>=41.0.0
  • sqlalchemy>=2.0.0
  • click>=8.0.0
  • colorama>=0.4.4

📦 Versioning and Releases

When you've added new features or made changes to the code, follow these steps to create a new release:

  1. Update version number in pyproject.toml:

    [tool.poetry]
    version = "x.y.z"  # Increment according to semantic versioning
    
  2. Create and push a new tag:

    # Create a new tag
    git tag -a v1.2.3 -m "Release version 1.2.3"
    
    # Push the tag
    git push origin v1.2.3
    

    Version numbering follows Semantic Versioning:

    • MAJOR version (x) - Incompatible API changes
    • MINOR version (y) - Added functionality (backwards-compatible)
    • PATCH version (z) - Bug fixes (backwards-compatible)
  3. The GitHub Actions workflow will automatically:

    • Build the Python package
    • Sign the package using Sigstore
    • Create a GitHub release
    • Upload the signed distribution packages
  4. The release will be available on:

    • GitHub Releases page
    • PyPI (after successful publication)

Example scenarios:

  • Added new command: v1.1.0
  • Fixed a bug: v1.0.1
  • Breaking change: v2.0.0

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🌟 Author

Amul Thantharate (amulthantharate@gmail.com)

🔄 Version

Current version: 1.2.0

Metadata

Release files for CipherSmith 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CipherSmith 1.3.0
File Size Uploaded
ciphersmith-1.3.0.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CipherSmith 1.3.0
File Interpreter ABI Platform
CipherSmith-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.2 kB

Release files / ciphersmith-1.3.0.tar.gz

Download URL ciphersmith-1.3.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
67edd56619018421e59587cfae2f298bb0f70e90c7c36beca5fdeaffa186bb3f
BLAKE2b-256 checksum
How to use checksums
a81ac020e858db682c28793a38071bc3e4c7c17296280125b00660166d0bb28b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2024.

Transparency log

Release files / CipherSmith-1.3.0-py3-none-any.whl

Download URL CipherSmith-1.3.0-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4a6c3d27f6b6653ef842044968844e452c9675a863e4c915a1f13ddabd3f04a
BLAKE2b-256 checksum
How to use checksums
85018e1497ac29156c69cf95f590dc82ac033d023ed4f95e328d85b36768e168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page