Merge pull request #42 from jrodriguezjr/master

List files that BlackBox is tracking
This commit is contained in:
Tom Limoncelli
2015-02-16 10:59:28 -05:00
2 changed files with 15 additions and 1 deletions

View File

@@ -61,7 +61,8 @@ BB_FILES_FILE="blackbox-files.txt"
BB_FILES="${KEYRINGDIR}/${BB_FILES_FILE}" BB_FILES="${KEYRINGDIR}/${BB_FILES_FILE}"
SECRING="${KEYRINGDIR}/secring.gpg" SECRING="${KEYRINGDIR}/secring.gpg"
PUBRING="${KEYRINGDIR}/pubring.gpg" PUBRING="${KEYRINGDIR}/pubring.gpg"
: ${DECRYPT_UMASK:=o=} ; : ${DECRYPT_UMASK:=0022} ;
# : ${DECRYPT_UMASK:=o=} ;
# Return error if not on cryptlist. # Return error if not on cryptlist.
function is_on_cryptlist() { function is_on_cryptlist() {

13
bin/blackbox_list_files Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
#
# blackbox_list_files.sh -- List files that black box is tracking
#
set -e
blackbox_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source ${blackbox_home}/_blackbox_common.sh
echo -e "\nFiles currently managed my Blackbox:\n"
cat $BB_FILES
echo