Socket
Book a DemoInstallSign in
Socket

@makeomatic/gcrypt

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@makeomatic/gcrypt

Encrypted git repositories for privacy made easy

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

gcrypt

Encrypted git repositories for privacy made easy

# Create a new remote encrypted repository 
gcrypt init git@github.com:user/repo.git

# Encrypt repository already on GitHub
gcrypt encrypt git@github.com:user/repo.git

# Clone encrypted repository
gcrypt clone git@github.com:user/repo.git

Requirements

apt install git-remote-gcrypt

Install

npm i -g LuKks/gcrypt

Description

Makes easy to work with fully encrypted git repositories.
It uses spwhitton/git-remote-gcrypt, so check it out.
The unique disadvantage that I noticed pushing is a bit slow but not big deal.
Using your GPG key for encryption.

Examples

Create a new encrypted repository

Create an empty repository on GitHub then:

gcrypt init git@github.com:user/repo.git
# or
gcrypt init git@github.com:user/repo.git ~/Desktop/my-encrypted-repo

Encrypt repository already on GitHub

gcrypt encrypt git@github.com:user/repo.git

Take caution, it will erase the entire repository (branches, tags, etc),
just keeping a single commit/branch where would be all encrypted togheter.

Clone encrypted repository

gcrypt clone git@github.com:user/repo.git
# or
gcrypt clone git@github.com:user/repo.git ~/Desktop/my-encrypted-repo

Notes

Multiple GPG keys

If you have multiple GPG keys, set which would be used for encryption.

Check your GPG keys list:

gpg --list-secret-keys --keyid-format LONG

And set it:

git config --global --add gcrypt.participants "A1234B1234C1234D"

https://github.com/spwhitton/git-remote-gcrypt/
https://www.alwaysrightinstitute.com/gcrypt/
https://caolan.uk/articles/encrypted-git-repositories/

License

Code released under the MIT License.

Keywords

git

FAQs

Package last updated on 06 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.