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

DSA key support #104

Open mjgruta opened 3 years ago

mjgruta commented 3 years ago

I am using a key generated from https://pgptool.github.io/ with a password. When I tried to use it with $encrypted = \OpenPGP_Crypt_Symmetric::encrypt($key,new OpenPGP_Message(array($data))); I got "Only RSA keys are supported."

mjgruta commented 3 years ago

After some research, so OpenPGP-php does not support DSA keys...

danimalweb commented 1 month ago

I just ran into this also.