how can I get gpg to list only my keys?

Bruce Becker

I would like to query gpg to list only the keys that I own on my local keyring. How is this done? I can see all keys by doing

gpg list-keys

-- that shows all the keys. I want just my keys.

Bart

Assuming you have private keys on your machine only for your keys, you could do with listing private keys with

gpg --list-secret-key

This will show you only keys that have a private counterparts.

Otherwise, you can list either all or single key.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I get GPG Agent to cache my password?

From Dev

How can I get GPG Agent to cache my password?

From Dev

How can I recover (or reset) the GPG keys of *.debian.org?

From Dev

How can I get keys from list of values?

From Dev

`gpg --list-keys` does not list my keys

From Dev

How can I generate gpg keys in scripts without leaving gpg-agent running?

From Dev

How can I GPG encrypt for only a sole specific recipient in mutt?

From Dev

How can i get only my messages from firestore in Flutter

From Dev

How can I clear my cached gpg password?

From Dev

How can I clear my cached gpg password?

From Dev

How can I print only the keys of inner dictionaries that are nested within a list, within a dict, in alphabetical order?

From Dev

if I am using only integers as keys how can get last inserted key in localstorage?

From Dev

List and export GPG keys

From Dev

I created a encryption key-pair in Enigmail, but I can't see it when I do `gpg --list-keys` in terminal

From Dev

How can I adjust the default passphrase caching duration for GPG/PGP/SSH keys?

From Dev

How can I get a list of nested dictionary keys as dot separated strings?

From Dev

How can I get a list of nested dictionary keys as dot separated strings?

From Dev

Can I query the redis cache to get values by a list of keys?

From Dev

How to get list of tables which have foreign keys to my table ?

From Dev

My function returns a list with a single integer in it, how can I make it return only the integer?

From Dev

How can I present only specific list as my output after using a condition on many other lists

From Dev

How do I use numbers in a list as keys for my dictionary in Python?

From Dev

How do I use numbers in a list as keys for my dictionary in Python?

From Dev

How can I get a list of all WLANs my computer can see with Python?

From Dev

How can I search list only the directory?

From Dev

How can I get my app to read external text file correctly? Only showing weird characters and diamonds

From Dev

How can I get my Perl regex to match only if $1 < $2?

From Dev

How can I get my array to only be manipulated locally (within a function) in Ruby?

From Dev

How can I get my Perl regex to match only if $1 < $2?

Related Related

  1. 1

    How can I get GPG Agent to cache my password?

  2. 2

    How can I get GPG Agent to cache my password?

  3. 3

    How can I recover (or reset) the GPG keys of *.debian.org?

  4. 4

    How can I get keys from list of values?

  5. 5

    `gpg --list-keys` does not list my keys

  6. 6

    How can I generate gpg keys in scripts without leaving gpg-agent running?

  7. 7

    How can I GPG encrypt for only a sole specific recipient in mutt?

  8. 8

    How can i get only my messages from firestore in Flutter

  9. 9

    How can I clear my cached gpg password?

  10. 10

    How can I clear my cached gpg password?

  11. 11

    How can I print only the keys of inner dictionaries that are nested within a list, within a dict, in alphabetical order?

  12. 12

    if I am using only integers as keys how can get last inserted key in localstorage?

  13. 13

    List and export GPG keys

  14. 14

    I created a encryption key-pair in Enigmail, but I can't see it when I do `gpg --list-keys` in terminal

  15. 15

    How can I adjust the default passphrase caching duration for GPG/PGP/SSH keys?

  16. 16

    How can I get a list of nested dictionary keys as dot separated strings?

  17. 17

    How can I get a list of nested dictionary keys as dot separated strings?

  18. 18

    Can I query the redis cache to get values by a list of keys?

  19. 19

    How to get list of tables which have foreign keys to my table ?

  20. 20

    My function returns a list with a single integer in it, how can I make it return only the integer?

  21. 21

    How can I present only specific list as my output after using a condition on many other lists

  22. 22

    How do I use numbers in a list as keys for my dictionary in Python?

  23. 23

    How do I use numbers in a list as keys for my dictionary in Python?

  24. 24

    How can I get a list of all WLANs my computer can see with Python?

  25. 25

    How can I search list only the directory?

  26. 26

    How can I get my app to read external text file correctly? Only showing weird characters and diamonds

  27. 27

    How can I get my Perl regex to match only if $1 < $2?

  28. 28

    How can I get my array to only be manipulated locally (within a function) in Ruby?

  29. 29

    How can I get my Perl regex to match only if $1 < $2?

HotTag

Archive