blackbox icon indicating copy to clipboard operation
blackbox copied to clipboard

blackbox_addadmin prompts to commit wrong files

Open sryabkov opened this issue 7 years ago • 1 comments

blackbox_addadmin asks me to commit

  • keyrings/live/pubring.gpg
  • keyrings/live/trustdb.gpg
  • keyrings/live/blackbox-admins.txt

git status reports that I need to commit

  • keyrings/live/pubring.kbx
  • keyrings/live/blackbox-admins.txt

So, there is a confusing discrepancy. I originally copied/pasted the command that blackbox_addadmin reported, and I couldn't understand why I was running into issues.

Some details:

OS: macOS HighSierra 10.13.4 Version: latest (cloned https://github.com/StackExchange/blackbox and ran make copy-install)

Output:

mymac:secrets username$ blackbox_addadmin [email protected]
gpg: key FE2970AA2E57067A: public key "User Name <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1


NEXT STEP: You need to manually check these in:
      git commit -m'NEW ADMIN: [email protected]' keyrings/live/pubring.gpg keyrings/live/trustdb.gpg keyrings/live/blackbox-admins.txt

Here is what git status -s reports:

mymac:secrets username$ git status -s
M  keyrings/live/blackbox-admins.txt
 M keyrings/live/pubring.kbx

sryabkov avatar Apr 23 '18 22:04 sryabkov

This issue is probably related to #184

sryabkov avatar Apr 24 '18 12:04 sryabkov