Re: Reading key capabilities information before importing a key

2013-04-12 Thread Branko Majic
On Fri, 12 Apr 2013 11:23:55 +0200 Werner Koch wrote: > On Fri, 12 Apr 2013 03:00, mailinglis...@hauke-laging.de said: > > > That is an inconsistent explanation. If --list-packets "can" show > > data from signatures without checking the signatures then obviously > > --with-colons > > It does n

Re: Reading key capabilities information before importing a key

2013-04-12 Thread Werner Koch
On Fri, 12 Apr 2013 03:00, mailinglis...@hauke-laging.de said: > That is an inconsistent explanation. If --list-packets "can" show data from > signatures without checking the signatures then obviously --with-colons It does not show that. It dumps the packets. The key capabilities need to be c

Re: Reading key capabilities information before importing a key

2013-04-11 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Branko Majic asked: > I'm trying to find a way to list the key capabilities of a key before > importing it. I can obtain some basic information by using the command > (I've seen this one in the mailing list archives): In addition to the other s

Re: Reading key capabilities information before importing a key

2013-04-11 Thread Hauke Laging
Am Do 11.04.2013, 23:43:39 schrieb Werner Koch: > On Thu, 11 Apr 2013 22:48, bra...@majic.rs said: > > Btw, is there any particular reason why the gpg2 --with-colons key.pub > > command does not list key capabilities? > > It can't do that because it does not do any signature verification. For > th

Re: Reading key capabilities information before importing a key

2013-04-11 Thread Werner Koch
On Thu, 11 Apr 2013 22:48, bra...@majic.rs said: > Btw, is there any particular reason why the gpg2 --with-colons key.pub > command does not list key capabilities? It can't do that because it does not do any signature verification. For that we would need to look at the entire key and evaluate al

Re: Reading key capabilities information before importing a key

2013-04-11 Thread Branko Majic
On Thu, 11 Apr 2013 09:55:23 +0200 Werner Koch wrote: > On Thu, 11 Apr 2013 00:28, mailinglis...@hauke-laging.de said: > > > 2) You import the key but direct it to a different keyring, see > > --keyring > > --secret-keyring > > --primary-keyring > > --no-default-keyring > > You better use a tem

Re: Reading key capabilities information before importing a key

2013-04-11 Thread Werner Koch
On Thu, 11 Apr 2013 00:28, mailinglis...@hauke-laging.de said: > 2) You import the key but direct it to a different keyring, see > --keyring > --secret-keyring > --primary-keyring > --no-default-keyring You better use a temporary directory. This is far easier than to play with all the options an

Re: Reading key capabilities information before importing a key

2013-04-10 Thread Hauke Laging
Am Mi 10.04.2013, 22:57:53 schrieb Branko Majic: > Hello all, > > I'm trying to find a way to list the key capabilities of a key before > importing it. I can obtain some basic information by using the command > (I've seen this one in the mailing list archives): > > gpg2 --with-colons test.key > > T

Reading key capabilities information before importing a key

2013-04-10 Thread Branko Majic
Hello all, I'm trying to find a way to list the key capabilities of a key before importing it. I can obtain some basic information by using the command (I've seen this one in the mailing list archives): gpg2 --with-colons test.key The only catch being that the above command will not list the key