Ticket #62 (defect)

Opened 4 years ago

openpgp --export-key segfaults if pointed at secret keyring

Status: new

Reported by: sion Assigned to: sion
Priority: normal Milestone:
Component: library Version:
Severity: normal Keywords:
Cc:

I get a segmentation fault if i try to use openpgp --export-key when it is pointed at a secret keyring:

> 0 wt215 at pip:~$ openpgp --export-key --userid='blah blah' --keyring=$(pwd)/testring/pubring.gpg > dir: /home/wt215/.gnupg > -----BEGIN PGP PUBLIC KEY BLOCK----- > Version: OpenPGP:SDK v0.9 > > xo0ESi7rGQEEAOlQecfwPzP01Gj1XxaoxlbneM9MVv4yhNnvxfnsNgN+Urs6xjVfSBjipL+gQ7KL > SUR5mI1qB2l00l1ZqEiwIrU4hbJviiTTzMbaw4eZ/zWfh6OBK6EAgf5Uw6EnSW3hGoytuIqiOftM > rOcSNSfjWhUgoCuy/J9Dy2x0D5C1s4iZABEBAAHNCWJsYWggYmxhaA== > =oL9x > -----END PGP PUBLIC KEY BLOCK----- > 0 wt215 at pip:~$ openpgp --export-key --userid='blah blah' --keyring=$(pwd)/testring/secring.gpg > dir: /home/wt215/.gnupg > Segmentation fault > 139 wt215 at pip:~$

--dkg