4

I am using gpg -

$ gpg --version
gpg (GnuPG) 2.2.12
libgcrypt 1.8.4

I am trying to understand the difference between the two commands :

$ gpg --list-key

and:

$ gpg --fingerprint 

from whatever little I see, I don't see any difference between two outputs. Am I looking at something wrong ?

4
  • 3
    They both produce the same output, except --fingerprint outputs its hex code into 10 groups of 4 numbers, instead of bunching them as one string of 40 hex numbers as with --list-key. Commented Mar 17, 2019 at 7:18
  • It is my answer as a comment. :-) Commented Mar 20, 2019 at 1:40
  • 1
    make it as an answer that was what @GAD3R was saying. Commented Mar 21, 2019 at 16:12
  • Just being curious, is --list-key or --list-keys? Though man gpg only appears the latter Commented Feb 8 at 16:43

1 Answer 1

3

The --fingerprint option prints the fingerprint into 10 groups of 4 caracters to easily verify the gpg key.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.