Skip to content

ricalnet/DynamicArchive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamicArchive

A secure and user-friendly command-line tool for creating and extracting encrypted archives with multiple format support.

DynamicArchive License Platform

Overview

DynamicArchive is a powerful bash script that provides a menu-driven interface for creating and extracting encrypted archives. It supports multiple archive formats (TAR, ZIP, 7Z, GZ) with GPG encryption using AES-256, ensuring your data remains secure.

Features

  • 🔐 Military-grade encryption using GPG with AES-256
  • 📦 Multiple format support: TAR, ZIP, 7Z, and GZ
  • 🎨 Intuitive UI with color-coded menus and visual feedback
  • Fast processing with progress indicators
  • 🔍 Archive information display without full decryption
  • File validation and overwrite protection
  • 🖥️ Cross-platform compatibility (Linux, macOS with dependencies)

Installation

Download and Setup

  1. Download the script:

    git clone https://github.com/ricalnet/DynamicArchive.git
  2. Make it executable:

    chmod +x dynamic-archive.sh
  3. Ensure you have the following packages installed:

    sudo ./requirements.sh
  4. Run the script:

    ./dynamic-archive.sh

Usage

Basic Operation

  1. Launch the script: ./dynamic-archive.sh
  2. Select an operation from the menu (1-9)
  3. Follow the prompts to provide input/output filenames
  4. Enter your encryption passphrase when prompted

Menu Options

DynamicArchive

Examples

  1. Create an encrypted TAR archive:

    • Select option 1
    • Enter folder path: /home/user/documents
    • Enter output filename: backup
    • Result: backup.tar.gpg
  2. Extract an encrypted ZIP archive:

    • Select option 4
    • Enter input filename: data.zip.gpg
    • Files will be extracted to current directory
  3. View archive information:

    • Select option 9
    • Enter archive path: archive.tar.gpg
    • View details without decrypting fully

Security Features

  • AES-256 encryption algorithm
  • Secure passphrase handling
  • Temporary file cleanup
  • File validation before processing
  • Overwrite confirmation prompts

Frequently Asked Questions

Q: Is my passphrase stored anywhere?
A: No, your passphrase is only used during the encryption/decryption process and is not stored.

Q: Can I use this on macOS?
A: Yes, but you'll need to install the prerequisites using Homebrew: brew install gpg zip p7zip

Q: What if I forget my passphrase?
A: Unfortunately, without the passphrase, your encrypted data cannot be recovered. Always keep your passphrase secure.

Q: Can I encrypt individual files?
A: Currently, the tool only supports encrypting folders. You can place individual files in a folder first.

Troubleshooting

Error: "Missing required packages"
Solution: Install the missing packages listed in the error message.

Error: "Decryption failed"
Solution: Check that you're using the correct passphrase and that the file wasn't corrupted.

Error: "Invalid filename"
Solution: Use only alphanumeric characters, periods, hyphens, and underscores in filenames.

License

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

Disclaimer: Always keep backups of your important data and test encryption/decryption processes with non-critical files first. The authors are not responsible for data loss.

About

Protect your file and folder backups with high-grade encryption tools.

Topics

Resources

License

Stars

Watchers

Forks

Languages