Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Update key/list.sh #47

Closed
diveshuttam opened this issue Jun 1, 2018 · 2 comments · Fixed by #66
Closed

Update key/list.sh #47

diveshuttam opened this issue Jun 1, 2018 · 2 comments · Fixed by #66
Assignees
Labels
help wanted Extra attention is needed

Comments

@diveshuttam
Copy link
Contributor

gpg --list-keys --with-sig-check $secret_keys && \

gpg --list-keys --fingerprint --with-sig-check --with-colons $secret_keys && \

some scripts from #28 #40 can be same

@diveshuttam diveshuttam changed the title Update keys/list.sh Update key/list.sh Jun 2, 2018
@diveshuttam diveshuttam added the help wanted Extra attention is needed label Jun 2, 2018
@diveshuttam
Copy link
Contributor Author

diveshuttam commented Jun 24, 2018

@dashohoxha the above functions support --colons and --raw. Is supporting them required? I checked the existing code, they are not already being used. Also I don't think they are of any help to the user. They might have been added for help for a programmer.
Also if we want to support some programmable options maybe I could add them in better way. I feel that even egpg's current output format in key: value form is better to program to than using --with-colons

@diveshuttam diveshuttam self-assigned this Jun 24, 2018
@dashohoxha
Copy link
Member

The option --raw means using the gpg output, so you don't have to replace this.
Also the --colons format is gpg specific, and you don't have to replace this either.
You only need to replace the function print_key, or the last part of the script.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants