Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
14 lines (13 loc) · 629 Bytes

change-cipher-algo.md

File metadata and controls

executable file
·
14 lines (13 loc) · 629 Bytes

Gitenc Usage - Change Cipher Algorithm

The cipher algorithm used by default, is dependent on your system/preferences and version of GPG. My Debian 9 system's default is AES256. To see the list of ciphers available to you, under Ciphers; run (via CLI):

gpg --version

Gitenc will use the default. You can override by appending your choice (using CAMELLIA256 in the example):

gpg --cipher-algo CAMELLIA256 # the cipher you want to use

to the line in the lockdown() function from the source, like so:

"$GPG_LOC" --batch -c --cipher-algo CAMELLIA256 --passphrase-file "$GITENC_CONF" "$1"