Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestions: list and remove gpg-users #189

Closed
bentterp opened this issue Nov 5, 2019 · 2 comments
Closed

Feature suggestions: list and remove gpg-users #189

bentterp opened this issue Nov 5, 2019 · 2 comments

Comments

@bentterp
Copy link

bentterp commented Nov 5, 2019

Hi!
Everything seems to work as stated, at least for me.
I can start a project, I can encrypt files, I can add collaborators.

For day two operations, it would be very useful if there was someway we could list who has access to the keys, and also remove keys again.

It doesn't even have to be in the command itself. If somebody has figured out a way to do this on the commandline, please share it.

Regards,
Bent

@bentterp
Copy link
Author

bentterp commented Nov 5, 2019

If nobody finds a better way of doing it:

ls -1 .git-crypt/keys/ | while read key ; do
  echo -e "\n\nGit-crypt key: ${key}\nUsers:"
  find .git-crypt/keys/${key} -name \*gpg | while read gpgfile ; do
    gpg --list-keys $(basename ${gpgfile} .gpg)
  done
done

Then we at least can see who has access

@bentterp
Copy link
Author

bentterp commented Nov 5, 2019

Closing, duplicate of #39

@bentterp bentterp closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant