singpolyma / openpgp-php

OpenPGP.php is a pure-PHP implementation of the OpenPGP Message Format (RFC 4880).
http://singpolyma.github.io/openpgp-php/
The Unlicense
179 stars 69 forks source link

Signing keys #98

Closed leenooks closed 3 years ago

leenooks commented 4 years ago

Hi,

Do you have an example of how to sign a key with another key?

singpolyma commented 3 years ago

In https://github.com/singpolyma/openpgp-php/blob/master/examples/keygen.php you will see they key signing itself -- simply use two different keys there and you can sign one with the other.