Skip to content
Snippets Groups Projects
Commit 6d4bdc6f authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent 1a654d13
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ function die () { echo "RSEC error:" "$@" 1>&2 ; exit 1 ; }
_key=$(echo "$1" | sed 's/^R_SEC_//')
NEXTCLOUD_PREFIX=$HOME/$(ls $HOME | grep -i nextcloud)
RSEC_ENC_DB="$NEXTCLOUD_PREFIX/workspace/RSEC.gpg"
RSEC_ENC_DB="$NEXTCLOUD_PREFIX/RSEC.gpg"
[[ ! -f "$RSEC_ENC_DB" ]] && die "ENC_DB missing"
RSEC_LINS="$(gpg -d "$RSEC_ENC_DB")" || die "gpg decrypt failure"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment