GitCrypt/.gitcrypt/diff

9 lines
186 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
BASEDIR="$(dirname "$0")"
. "$BASEDIR/init"
# cat is used, if the file already is decrypted
2015-10-30 14:33:02 +01:00
openssl enc -d -a -aes-128-cbc -k "$CRYPT_PASS" -in "$1" 2>/dev/null || cat "$1"