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

Last update: May 7, 2022

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

GitHub

https://github.com/hisamafahri/cyg
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

May 24, 2022

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

May 23, 2022

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

May 22, 2022

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

May 16, 2022

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

May 18, 2022

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

May 25, 2022

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

May 9, 2022

Breaking your Rust code for fun and profit

Breaking your Rust code for fun & profit this is an architecture-preview, not all components are there This is a mutation testing framework for Rust c

May 14, 2022

Cover your tracks during Linux Exploitation by leaving zero traces on system logs and filesystem timestamps. 👻🐚

Cover your tracks during Linux Exploitation by leaving zero traces on system logs and filesystem timestamps. 👻🐚

moonwalk Cover your tracks during Linux Exploitation / Penetration Testing by leaving zero traces on system logs and filesystem timestamps. 📖 Table o

May 21, 2022
Comments
  • 1. 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 = []
    
    Reviewed by hisamafahri at 2022-05-08 08:28
  • 2. 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.

    Reviewed by hisamafahri at 2022-05-07 12:18
  • 3. 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 = []
    
    Reviewed by hisamafahri at 2022-05-10 16:27
Related tags
Secure multithreaded packet sniffer
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

May 20, 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

Apr 30, 2022
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

Mar 26, 2022
Cross-platform Secure TUI Secret Locker
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.

May 20, 2022
Secure and fast microVMs for serverless computing.
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

May 25, 2022
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

May 12, 2022
Use Touch ID / Secure Enclave for SSH Authentication!
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

May 15, 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

Jan 3, 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.

Dec 23, 2021
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

Jan 1, 2022