Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 460 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 460 Bytes

gitcrypt-poc

Proof of concept test repo for working with git-crypt

    sudo apt-get install git-crypt
    cd <REPO_NAME>
    git-crypt init
    git-crypt export-key /path/to/crypt.key
    
    echo "Secrets!" > secrets.txt
    echo "secrets.txt filter=git-crypt diff=git-crypt" > .gitattributes
    

Decoding encrypted files:

    cd <REPO_NAME>
    git-crypt unlock /path/to/crypt.key

NOTE: This is the simplest symmetric encryption usage.