🔑 GPG Key Generation & Trust Requirements
GCM enforces strong identity verification:
- Only trusted keys allowed
- Unknown or marginal trust keys rejected
Generating a Key
gpg --quick-generate-key "Your Name (git-crypt) <your.name@example.com>" rsa4096 sign,cert,encrypt 2y
The
encryptpart is ESSENTIAL without that you will not be able to use the key with git-crypt.
Exporting your key
This file is safe to share with collaborators.
Importing a Public Key
Setting Full Trust
Required before gcm add-users.
Find Key Information
List public keys:
Get fingerprint: