StackExchange / blackbox

Safely store secrets in Git/Mercurial/Subversion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blackbox_list_admins

aymericbeaumet opened this issue · comments

The black_list_admins fails on my machine, even though the blackbox-admins.txt file exists.

$ tree keyrings
keyrings
└── live
    ├── blackbox-admins.txt
    ├── blackbox-files.txt
    ├── pubring.kbx
    └── trustdb.gpg

1 directory, 4 files
$ blackbox_list_admins
cat: blackbox-admins.txt: No such file or directory

Wow, that script actually is broken. The quick fix is to edit the line:

cat "$BB_ADMINS_FILE"

and change it to:

cat "$BB_ADMINS"

I'll publish a full fix soon.