Verify PGP key packet sizes and number of MPIs match expectations, part II
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 1 Nov 2011 08:40:02 +0000 (10:40 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 1 Nov 2011 08:40:02 +0000 (10:40 +0200)
commit2ba01d4b8138ffae88d13dbd431d95b36751db2d
tree77d60bee26e6a8261a3406bd4870933a1e4b52a3
parent807b402d95702f3f91e9e2bfbd2b5ca8c9964ed9
Verify PGP key packet sizes and number of MPIs match expectations, part II

- Same as commit 807b402d95702f3f91e9e2bfbd2b5ca8c9964ed9 but for
  retrieving the actual key data instead of its fingerprint.
- Only look inside keys whose pubkey algo we actually support:
  DSA and RSA. Anything else is better left untouched and treated
  as an error to avoid nasty surprises.
rpmio/rpmpgp.c