snippetbashTip
yadm git-crypt — Git Crypt enables transparent encryption and decryption of files in a git repository. More informati
Viewed 0 times
cryptcommandyadm git-crypttransparentenablescliencryptiongit
Problem
How to use the
yadm git-crypt command: Git Crypt enables transparent encryption and decryption of files in a git repository. More information: <https://github.com/AGWA/git-crypt>.Solution
yadm git-crypt — Git Crypt enables transparent encryption and decryption of files in a git repository. More information: <https://github.com/AGWA/git-crypt>.Initialize repo to use Git Crypt:
yadm git-crypt initShare the repository using GPG:
yadm git-crypt add-gpg-user {{user_id}}After cloning a repository with encrypted files, unlock them:
yadm git-crypt unlockExport a symmetric secret key:
yadm git-crypt export-key {{path/to/key_file}}Code Snippets
Initialize repo to use Git Crypt
yadm git-crypt initShare the repository using GPG
yadm git-crypt add-gpg-user {{user_id}}After cloning a repository with encrypted files, unlock them
yadm git-crypt unlockExport a symmetric secret key
yadm git-crypt export-key {{path/to/key_file}}Context
tldr-pages: common/yadm git-crypt
Revisions (0)
No revisions yet.