mirror of
https://github.com/AGWA/git-crypt.git
synced 2025-12-28 21:54:16 -08:00
The init, export-key, add-collab, and unlock commands now take an optional -k (equivalently, --key-name) option to specify an alternative key. Files can be encrypted with the alternative key by specifying the git-crypt-KEYNAME filter in .gitattributes. Alternative key support makes it possible to encrypt different files with different keys. Note that the -k option to unlock is temporary. Unlock will eventually auto-detect the name of the key you're unlocking, either by looking in the symmetric key file, or by scanning the .git-crypt/keys directory. Note that the layout of the .git/git-crypt and .git-crypt directories has changed as follows: * .git/git-crypt/key is now .git/git-crypt/keys/default * .git-crypt/keys is now .git-crypt/keys/default
39 KiB
39 KiB