mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-05 13:51:34 +00:00
updated to match recent changes
This commit is contained in:
parent
05a9819d33
commit
f89504c92e
7 changed files with 66 additions and 61 deletions
|
|
@ -22,8 +22,7 @@ y9JHAWS6GctPfUHl1ZiS/1hq5s7xcWHsh7KTPwv449OsXIWFitnDH6jCL1sqQPjq
|
|||
-----END PGP MESSAGE-----
|
||||
|
||||
';
|
||||
|
||||
$gnupg -> setPassPhrase ($passphrase);
|
||||
$gnupg -> addDecryptKey ($fingerprint,$passphrase);
|
||||
$plaintext = $gnupg -> decrypt ($mailtext);
|
||||
|
||||
echo "\n".$plaintext."\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue