addSignKey ($fingerprint,$passphrase); $text = $gnupg -> sign ($mailtext); echo $text; ?>