Facing issues with using Openpgp library -
i downloaded openpgp illustration code mentioned in question how utilize php openpgp library?.
i faced next error when tried access keygen.php
:
fatal error: phone call undefined method openpgp_message::signature_and_data() in d:\official\data\sites\openpgp\lib\openpgp_crypt_rsa.php on line 145
infact, none of 3 working. can please explain how prepare these issues?
i guess line 148 in https://github.com/singpolyma/openpgp-php/blob/master/lib/openpgp_crypt_rsa.php
must corrected from: $sig = $packet->signature_and_data();
to: $sig = $packet->signatures();
openpgp
No comments:
Post a Comment