Open mjgruta opened 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."
After some research, so OpenPGP-php does not support DSA keys...
I just ran into this also.
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."