Closed bentterp closed 4 years ago
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
Closing, duplicate of #39
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