mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 21:31:35 +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
|
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
require_once (dirname(__FILE__)."/main.php");
|
||||
|
||||
$gnupg -> setSignerKey ($fingerprint);
|
||||
$gnupg -> setPassPhrase ($passphrase);
|
||||
$gnupg -> addSignKey ($fingerprint,$passphrase);
|
||||
$text = $gnupg -> sign ($mailtext);
|
||||
echo $text;
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue