Cyg will help you to secure files in your repository directly using PGP encryption

Related tags

Security tools cyg
Overview

cyg

cyg: Secure files in your repository

Cyg will help you to secure files in your repository directly using PGP encryption. The name "cyg" was inspired by the Cygnus constellation.

How It Works?

The current version of this tool is using the already existing and secure GnuPG CLI.

Make sure it already installed in your system by running:

gpg --version

It should return the version installed in your system.

Usage

  • Initalize

    cyg init
  • Lock a file

    cyg lock
    
    # Then it will ask you which file you want to encrypt
    # and which email (make sure pgp public key are available in your system)
    # can decrypt it.
  • Unlock a file

    cyg unlock
    
    # As long as you have the private key of the email
    # inputted from `cyg lock` command, you will have
    # the access to unlock it.

Author

Hisam A Fahri: @hisamafahri

License

GNU GPLv3

You might also like...
Audit Cargo.lock files for dependencies with security vulnerabilities

RustSec Crates 🦀 🛡️ 📦 The RustSec Advisory Database is a repository of security advisories filed against Rust crates published via crates.io. The a

Verdict-as-a-Service SDKs: Analyze files for malicious content
Verdict-as-a-Service SDKs: Analyze files for malicious content

Verdict-as-a-Service Verdict-as-a-Service (VaaS) is a service that provides a platform for scanning files for malware and other threats. It allows eas

🕵️‍♀️ Find, locate, and query files for ops and security experts ⚡️⚡️⚡️
🕵️‍♀️ Find, locate, and query files for ops and security experts ⚡️⚡️⚡️

Recon Find, locate, and query files for ops and security experts Key Features • How To Use • Download • Contributing • License Key Features Query with

Rslide - A web service that allows you to move through multiple html pages in the browser like a slide, even without focusing on the app console or the browser. Currently only supports Windows.

rslide rslide is a web service that allows you to move through multiple html pages in the browser like a slide, even without focusing on the app conso

A simple menu to keep all your most used one-liners and scripts in one place
A simple menu to keep all your most used one-liners and scripts in one place

Dama Desktop Agnostic Menu Aggregate This program aims to be a hackable, easy to use menu that can be paired to lightweight window managers in order t

spy on the DNS queries your computer is making

dnspeep dnspeep lets you spy on the DNS queries your computer is making. Here's some example output: $ sudo dnspeep query name

ripgrep recursively searches directories for a regex pattern while respecting your gitignore
ripgrep recursively searches directories for a regex pattern while respecting your gitignore

ripgrep (rg) ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will resp

Advanced Fuzzing Library - Slot your Fuzzer together in Rust! Scales across cores and machines. For Windows, Android, MacOS, Linux, no_std, ...
Advanced Fuzzing Library - Slot your Fuzzer together in Rust! Scales across cores and machines. For Windows, Android, MacOS, Linux, no_std, ...

LibAFL, the fuzzer library. Advanced Fuzzing Library - Slot your own fuzzers together and extend their features using Rust. LibAFL is written and main

How-to: Sanitize your Rust code!

rust-san How-to: Sanitize your Rust code! Intro How to use the sanitizers? Examples AddressSanitizer Out of bounds access Use after free LeakSanitizer

Comments
  • Create group

    Create group

    When the user wants to create a group, they can do it by running:

    cyg create group

    It will prompt a group name.

    In the config file, it will add:

    # ...
    
    [app.group_name]
    files = []
    users = []
    
    opened by hisamafahri 0
  • Delete original file on `lock`, and the locked file on `unlock`

    Delete original file on `lock`, and the locked file on `unlock`

    The existing lock and unlock functionalities, still keep the unlocked and locked file in the repository.

    We need to remove them so that the locked file is the one exist after lock command and vice versa.

    enhancement 
    opened by hisamafahri 0
  • add file to group

    add file to group

    In the config file, user can run:

    cyg add file

    to add a file to the config file.

    Example:

    [group.name]
    files = [".env", "src/main.rs"]
    users = []
    
    opened by hisamafahri 0
Releases(v0.1.0)
  • v0.1.0(May 7, 2022)

    v0.1.0

    What's Changed

    • feat(main): add main commands handler by @hisamafahri in https://github.com/hisamafahri/cyg/pull/2
    • feat(cyg): update docs by @hisamafahri in https://github.com/hisamafahri/cyg/pull/4
    • feat(lock): add base file encryption by @hisamafahri in https://github.com/hisamafahri/cyg/pull/5
    • feat(unlock): add decrypt function by @hisamafahri in https://github.com/hisamafahri/cyg/pull/8
    • feat(lock/unlock): remove unlocked/locked files by @hisamafahri in https://github.com/hisamafahri/cyg/pull/9

    Full Changelog: https://github.com/hisamafahri/cyg/commits/v0.1.0

    Source code(tar.gz)
    Source code(zip)
Owner
Hisam Fahri
✨ Attempting to make the world a better place, even just a little.
Hisam Fahri
Secure drive wipe

Lethe A secure, free, cross-platform and open-source drive wiping utility. Should work with any HDD, SSD (read limitations) and flash drives. The usua

Konstantin Alexandroff 70 Dec 19, 2022
Secure multithreaded packet sniffer

sniffglue sniffglue is a network sniffer written in rust. Network packets are parsed concurrently using a thread pool to utilize all cpu cores. Projec

null 914 Dec 30, 2022
Secure transport for running MPC protocols backed by Signal

MPC over Signal Overview This library provides a high-level interface for connecting to Signal Server and using it to exchange messages with other con

[ZenGo X] 42 Jan 4, 2023
Secure sandboxing system for untrusted code execution

Godbox Secure sandboxing system for untrusted code execution. It uses isolate which uses specific functionnalities of the Linux kernel, thus godbox no

Nathanael Demacon 19 Dec 14, 2022
Cross-platform Secure TUI Secret Locker

SafeCloset keeps your secrets in password protected files. SafeCloset is designed to be convenient and avoid common weaknesses like external editing or temporary files written on disk.

Canop 63 Dec 26, 2022
Secure and fast microVMs for serverless computing.

Our mission is to enable secure, multi-tenant, minimal-overhead execution of container and function workloads. Read more about the Firecracker Charter

firecracker-microvm 20.3k Jan 1, 2023
Secure storage for cryptographic secrets in Rust

secrets secrets is a library to help Rust programmers safely held cryptographic secrets in memory. It is mostly an ergonomic wrapper around the memory

Stephen Touset 165 Dec 22, 2022
Use Touch ID / Secure Enclave for SSH Authentication!

SeKey About SeKey is a SSH Agent that allow users to authenticate to UNIX/Linux SSH servers using the Secure Enclave How it Works? The Secure Enclave

SeKey 2.3k Dec 26, 2022
Checks your files for existence of Unicode BIDI characters which can be misused for supply chain attacks. See CVE-2021-42574

BIDI Character Detector This tool checks your files for existence of Unicode BIDI characters which can be misused for supply chain attacks to mitigate

null 5 Aug 26, 2022
A tiny program that locates and extracts public save files from Windows to your local directory!

Save Game Extractor | Download Save Game Extractor is a tool that automatically locates and copies save files for Windows games in public directories.

popcar2 6 Dec 23, 2021