mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 13:21:34 +00:00
definition of separate passphrases per signkey is now possible
setsignkey now takes an optional second parameter for the passphrase setpassphrase was removed
This commit is contained in:
parent
d927552662
commit
012e445989
2 changed files with 34 additions and 38 deletions
|
|
@ -38,12 +38,12 @@ extern zend_module_entry gnupg_module_entry;
|
|||
|
||||
typedef struct _gnupg_object{
|
||||
gpgme_ctx_t ctx;
|
||||
zval passphrase;
|
||||
gpgme_error_t err;
|
||||
char* errortxt;
|
||||
int signmode;
|
||||
gpgme_key_t *encryptkeys;
|
||||
unsigned int encrypt_size;
|
||||
HashTable *signkeys;
|
||||
} gnupg_object;
|
||||
|
||||
typedef struct _ze_gnupg_object{
|
||||
|
|
@ -61,7 +61,6 @@ PHP_FUNCTION(gnupg_construct);
|
|||
PHP_FUNCTION(gnupg_keyinfo);
|
||||
PHP_FUNCTION(gnupg_verify);
|
||||
PHP_FUNCTION(gnupg_geterror);
|
||||
PHP_FUNCTION(gnupg_setpassphrase);
|
||||
PHP_FUNCTION(gnupg_setsignmode);
|
||||
PHP_FUNCTION(gnupg_setarmor);
|
||||
PHP_FUNCTION(gnupg_sign);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue