Skip to content

CyberScout/git-crypt-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Repo for git-crypt

This is a tiny repo that contains some plaintext and some encrypted files. Check it out to test whether your git-crypt setup works.

There is a file called secure/secrets.txt. If git-crypt is working, you will be able to read the contents of this file.

This is an encrypted file, but you can totally read it. Fancy!

The other files are in plaintext, and you should be able to read those, too.

GPG mode

Make sure your system is properly configured:

GPGTools for macOS | GnuPG for Windows

git-crypt

You will need to follow the instructions in the above documents to provide a key ID or fingerprint to someone with write access on this repo.

Then, pull the changes. You should be able to

$ git crypt unlock

Symmetric mode

The key is located at ./git-crypt-test.key.


⚠️ Normally, the key would not be checked into the repository. This is a security risk, and in fact defeats he purpose of encrypting files in the repo in the first place. This is done here for demonstration purposes. DON'T DO THIS IN YOUR OWN REPOSITORIES!!! Seriously. Don't do it.


$ git crypt unlock ./git-crypt-test.key

About

Tiny repository to help test git-crypt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published