GPG cannot import public key

helices gpg at mdsresource.net
Thu Apr 24 15:15:47 CEST 2014


Thank you, for your response.

[1]
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Encryption Desktop 10.3.0 (Build 8741)

mQENBFE2VhMDCADMrztp76fxxpxtvbmPIEYqE+MAMhCn6guYS31S9DVZyz/qP1zu
9hp+XBj69W5L1P02I+Cvk9kKkuuC3Hz/xkJZQVFOLeHu0s6ipl8TME71STw+ADdq
Hj+FvxfkhlSwIlpIQAhb8zySbTJptME4kwoM1xASs+IjSWaOVHh/PkjgciV1p0rH
gSW/xP2P4UH2A+ER93ItQNgp/oGY3u5puwKY1eV8Oy9hbCexlYxWvo7VSTYDumtM
BqpMLv7yXmJUAe1LN/bIJYo87+Nr0CxVY5A9CCqAIxZy2JEkbTdI6mHLm3zb1Pn6
FiC42TLskruKlg2Zt8EVxrjeAlapAMbi55OPABEBAAG0NUNvbmNlcnRvIFN1cHBv
cnQgS2V5IDxjb25jZXJ0by5zdXBwb3J0QGltcGFjdC1wcy5jb20+iQEiBBADCAAM
BQJRNlYTBQkDwmcAAAoJEIl+6bmEX1GI3TgIAMHQbQA9XKw2e7Fl2IcI/wkG57oQ
ve0m5/uzMEoruR4vbtwSW12f3Q4/bpokWDp617WqK0cCeec3wvDglsvXLBqHJPlo
eKE8xp12eiw9qlEIk8oGpQ9BU5Bbxh0ORuu9EBRTo5mmqBZdfzRoeRVKYzMPCqFq
8ocBVdJ4NutTvEL0+58XUPFg4FOm1GHgbcRq6D8dMLO3vYj3w7wqloq45TdyRX/t
I+ftQFsMBF1u4oJpQpErtsn49rVC5nK8rAodQfVY8pDWZM8VjKXk70U9w+e9AqHy
X06TeKmjT8/fp/5iOUF90wftRnANkJQ4TOHH/neHlh4AVjz/cvvqz62O7ia5AQ0E
UTZWFAIIANEeS9a3vKIJNlxJY4euzRkHkw0IXXRoT2NvfmC20fyTCrEWIoBGY/Pf
KIr0WtMnoNem6K69D30nMPvuK7NZIEcf3c5k2KvD/p6GHZZVwnM8da/qvRmW+tFb
h/W2PlOMBQpZh5Zd0o2Y/XvNmGz/agxOM9qhPj3ZysaKzy/prdx2ncHSUrvImnSH
L8AtTVc0YtiI6qnhZFTivHpvAexrPUZ0/J2Qi2CL9pXTv/W5Mua1ec0HtCPTmI0g
QMHcXMAhMdyrg0AQ4jlcS83Rhw6JoUQNEEuJcuuRyo6A/S0kxJuT5iZ1Za8JNoVm
qOFJtASFz5wAHaAtOTuLJQe6EMaZkVEAEQEAAYkBIgQYAwgADAUCUTZWFAUJA8Jn
AAAKCRCJfum5hF9RiHZSCADJ19g1ZR6mOCeUS95+NTf9TtGmoqB4ims0s8HqPOPh
ihRdEEUoX16t+x8Vv6B6gF5zaeAmbMz1Mka41TFXgdgs3Y9HahXsiVKCoXJkrpKj
LZFz+1fU/txCBZxf3il0JnfqY60qjdfJ5iq7iI0y7ClnjPfIHAE5j8VgrTgM+qIU
+mpagibiiI7rdXNJF9hk+R5PwQrMLVLnLHq22lYcU3riGJMbRqWqXJJm6eSwxs4K
Bsf+CKafoSiEKM8NrJGA9Dnd9HyeTCZTtlk92zfRh2zC0e/NCxdTlk2xy12ICoFG
oeBxDq9N/8+Jbb9tQoFaOg3akr8WBKUaIRySEOky3GQJ
=3RTl
-----END PGP PUBLIC KEY BLOCK-----

[2] Interestingly enough, importing this key with "gpg (GnuPG) 1.4.5" is
successful:
# gpg --import /tmp/imps.asc
gpg: key 845F5188: public key "Concerto Support Key <
concerto.support at impact-ps.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

[3] After several attempts to export a usable public key, they created a
NEW keypair using their Encryption Desktop 10.3.0, which is successful. Of
course, since they claim to be using the original without incident with
many other vendors, they want to "fix" their original keys.

[4] Worse, they tried to export it again and we got this error:
# gpg --import /tmp/imps.asc
Ohhhh jeeee: ... this is a bug (sexp.c:1259:sexp_sscan)
Aborted

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Encryption Desktop 10.3.0 (Build 8741)

mQENBFE2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yRjSfe8cT4cfH1k7WIrFb8FdXRAt3M3dtGRMvsHUM+rxxjsLEqGZ
lN5nnltQiLMHkNdV/tgHCvArBSSaiuVLRYRk5sI=
=i1to
-----END PGP PUBLIC KEY BLOCK-----

[5] As this is a new vendor relationship with my employer, and since we
have automated processes for encrypting dozens of files every day, my
ultimate goal is to have a public key from this vendor that works
automatically, just like the hundreds of others that we have. That is to
say, a signed public key that we can sign and to which we can assign trust,
and that we can use to automatically encrypt and sign files that will be
sent to them on a regular basis.  Secondly, I understand and respect this
vendor's desire to use one (1) key pair with all of their vendors.

Can their original key be "fixed?"  Why does legacy GPG accept that public
key?

I welcome all comments, suggestions and review. Thank you

~ helices


On Wed, Apr 23, 2014 at 10:25 PM, David Shaw <dshaw at jabberwocky.com> wrote:

> On Apr 23, 2014, at 11:14 PM, David Shaw <dshaw at jabberwocky.com> wrote:
>
> > On Apr 23, 2014, at 3:24 PM, helices <gpg at mdsresource.net> wrote:
> >
> >> No matter how I try, I cannot encrypt a file using that public key,
> even using --edit-key to assign trust:
> >>
> >> gpg: 845F5188: skipped: Unusable public key
> >>
> >> gpg: /tmp/test.txt: encryption failed: Unusable public key
> >>
> >>
> >> The owner of the public key insists that it is self-signed; but, our
> GPG cannot find the self-signature
> >
> > It doesn't look like it's self-signed, but without looking at the key
> itself, I couldn't say for sure.  Is it posted anywhere on the net?
> >
> > In any event, you can override the check for encryption with the same
> flag you used to override the check on import.  So:
> >
> >  gpg -r 845F5188 --allow-non-selfsigned-uid -e
> the-file-i-am-encrypting-etc.txt
>
> I should add, though, that overriding these checks is something you should
> do with suitable verification of the key.  Don't override the check unless
> you know what you're doing, and have assured yourself that the key you are
> encrypting to is really owned by the person/group that you believe it is.
>  Those checks are there for a reason.
>
> David
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140424/0638ecf2/attachment.html>


More information about the Gnupg-users mailing list