mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 06:27:08 +00:00
13 lines
258 B
Text
13 lines
258 B
Text
|
--TEST--n
|
||
|
delete a key from the keyring
|
||
|
--FILE--
|
||
|
<?php
|
||
|
require_once(dirname(__FILE__)."/vars.inc");
|
||
|
$gpg = gnupg_init();
|
||
|
gnupg_seterrormode($gpg, GNUPG_ERROR_WARNING);
|
||
|
$ret = gnupg_deletekey($gpg, $fingerprint,true);
|
||
|
var_dump($ret);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
bool(true)
|