You are not logged in.

#1 2017-09-24 19:27:53

pfdint
Member
Registered: 2013-11-18
Posts: 43

gpg "check" interactive command outputs nothing

I want to check if certain uids are signed, as described here https://www.gnupg.org/gph/en/manual/c235.html .

But no matter what I do, using `check` from interactive mode yields no output.

Is that supposed to happen?

Offline

#2 2017-09-24 21:18:13

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: gpg "check" interactive command outputs nothing

is there a "pub" line?
Edit, to shortcut this: can you share the key?
Do you have reason to believe it's any signed at all?

Last edited by seth (2017-09-24 21:20:41)

Offline

#3 2017-09-24 21:50:30

pfdint
Member
Registered: 2013-11-18
Posts: 43

Re: gpg "check" interactive command outputs nothing

I don't see--oh whatever
gpg2 --export -a

-----BEGIN PGP PUBLIC KEY BLOCK-----

mI0EWcgprQEEAMHezrGE6a2gvLYuU7UKsx1XurHcr1Ac8Bx2rITY1rMeHgh5UnkR
7IhixJQx6zUP0vhNsD368KguBIZ4wJFTaYZPAURUzJ7v6yih0lzSZXaZM9zvG+e0
579Je1HXIFEIowNO+pM0Gt41ryhU1TnroKro+z3ZOFhp7sRxxeMzoflbABEBAAG0
MUZ1Y2tmYWNlIE1jR2VlIChmdWNrZmFjZSkgPGZ1Y2tmYWNlQGJ1dHRoZWFkLmNv
bT6IzgQTAQgAOBYhBIQrhr95edCJ3aD5zhAwgIF5xzhSBQJZyCmtAhsDBQsJCAcC
BhUICQoLAgQWAgMBAh4BAheAAAoJEBAwgIF5xzhS8nUD/RRNby24rA8MUA6eS9aQ
UFLQsTXaRMYIGJ8vnFI+zxxFkWP+HfyPv3L1DJ1J9R9S/kDgiOjj7V3mYQbXDhgv
0pQraUp++PhCf1M/lwxzwkHG8F720tHbaH9qmAifkP6NPRJDRhYgcqWgzfIm337S
FHCsM7D+CquCK69ELGb/wywGuI0EWcgprQEEAL0SPihU5r8cfRxmZG7bveGOtaBT
3BUjIiWlJDghBAY4QG2RrJWKFfM0Pk7CIYfjA1UBL5nBsG1k1qQH85+qglqYg6dp
sw8EYb0j5wQNBbi0k8tW4TlivHkdeXj04SysrrKMAlqMb9G3oMSqBUWi8+UT9q/I
QN883rphhSOGYQS1ABEBAAGItgQYAQgAIBYhBIQrhr95edCJ3aD5zhAwgIF5xzhS
BQJZyCmtAhsMAAoJEBAwgIF5xzhSHbAD/0PsLKS1ZM1J4ZlNvkA1YIFDq7Z4yRdd
K/L3XMBEkwd1+FFw0iUyvMmsfa9Ew0gbt4SlmG5TWe0JR5a7wvTlfisvBTNJOC49
i63+BlfguSyhf93HpA/lfGAZGpSkzgs/JoPh2ztld+DHjpWVNYZUjRg2py1Qlg/J
KPVgLd40ohKr
=HFU6
-----END PGP PUBLIC KEY BLOCK-----

I believe it was self-signed when it was first created. That's default behavior for gpg and good practice, right? No, it's not signed by anyone else. I was looking to see if the uids/key are self signed.

Focus: for anyone else, does the check command output anything at all?

Last edited by pfdint (2017-09-24 21:55:45)

Offline

#4 2017-09-24 21:59:33

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: gpg "check" interactive command outputs nothing

Yes, sure - if there's a signed public key.

That [edit: first} posted key (signature?) has no UID and is likely not self-signed. You should get a warning about this when trying to import it.

You won't get an output for the second key you posted.

Last edited by seth (2017-09-24 22:02:14)

Offline

#5 2017-09-24 22:05:31

pfdint
Member
Registered: 2013-11-18
Posts: 43

Re: gpg "check" interactive command outputs nothing

So the only way to check if I have self signed a key is to observe no output from the check command? If it weren't self signed, it would say something?

Offline

#6 2017-09-24 22:09:22

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: gpg "check" interactive command outputs nothing

If you try to self-"sign" it, you'll get informed that it's already self-signed.
There's btw. little point in checking a self signature.

Offline

#7 2017-09-24 22:18:04

pfdint
Member
Registered: 2013-11-18
Posts: 43

Re: gpg "check" interactive command outputs nothing

Ok, thanks a lot, seth

Offline

Board footer

Powered by FluxBB