Terra
70cccaf58c
gnupg.c: fix gnupg_adddecryptkey() passphrase handling
...
This corrects an issue where the given passphrase was not being respected and
pinentry was being called regardless. This fix will set the pinentry_mode to loopback
mode so that our custom passphrase_decrypt_cb() function will be called.
2018-06-03 18:36:33 -04:00
Jakub Zelenka
587a5f9400
Add gnupg_getengineinfo
2018-05-31 20:41:56 +01:00
Jakub Zelenka
60e13bec5a
Fix and finish test for oo init with home dir
2018-05-25 19:42:47 +01:00
Jakub Zelenka
99e95d975c
Fix CS
2018-05-22 17:24:08 +01:00
Jakub Zelenka
8c55c26189
Set pinentry mode to GPGME_PINENTRY_MODE_LOOPBACK
...
This allows passphrase callback mechanism in GnuPG 2.1+
2018-05-21 16:33:23 +01:00
Jakub Zelenka
7116749cb1
Fix invalid error check in this init
2018-05-21 16:20:30 +01:00
Jakub Zelenka
8a5c714b9c
Add initial implementation of the init options
2018-05-19 19:18:56 +01:00
Jakub Zelenka
337ccfb4a0
Merge branch 'next'
2018-05-17 20:24:29 +01:00
Jakub Zelenka
3bb4d28798
Remove hack for PHP 4 in freeing encryptkeys and fix CS
2017-09-12 18:50:50 +01:00
Jakub Zelenka
2b3d5b5a29
Prefix static functions
2017-09-12 18:45:40 +01:00
Jakub Zelenka
6f46b406e9
Fix small CS issue
2017-09-11 17:23:17 +01:00
Jakub Zelenka
c4b82c4dee
Move gpgme_check_version to MINIT
2016-12-15 18:33:57 +00:00
Jakub Zelenka
9aaaaa7c87
Remove a dev comment
2016-12-14 17:28:01 +00:00
Jakub Zelenka
fcbadeb49b
Fix CS in init function
2016-12-13 18:27:44 +00:00
Jakub Zelenka
dda2f09054
Properly allocate and free encryptkeys
2016-12-12 18:56:54 +00:00
Jakub Zelenka
d0b42a2af3
Fix CS in gnupg_listsignatures
2016-11-13 20:46:34 +00:00
Jakub Zelenka
1a94356ce1
Fix CS in gnupg_gettrustlist
2016-11-09 20:44:22 +00:00
Jakub Zelenka
84a3bf6b39
Fix CS in gnupg_deletekey
2016-11-06 21:28:32 +00:00
Jakub Zelenka
67ec0b2be5
Fix CS in gnupg_import
2016-11-04 19:37:28 +00:00
Jakub Zelenka
f20f7081cb
Fix CS in gnupg_export
2016-11-02 20:27:52 +00:00
Jakub Zelenka
8bd76523eb
Fix CS in gnupg_decryptverify
2016-10-30 20:11:17 +00:00
Jakub Zelenka
564dc7d003
Fix CS in gnupg_decrypt
2016-10-27 20:28:57 +01:00
Jakub Zelenka
0e92c34de0
Fix CS in gnupg_verify
2016-10-25 20:35:34 +01:00
Jakub Zelenka
91f392fa9f
Fix CS in gnupg_encryptsign
2016-10-24 20:52:26 +01:00
Jakub Zelenka
fc90732c39
Fix CS in gnupg_encrypt
2016-10-23 20:41:39 +01:00
Jakub Zelenka
11ba584ff8
Fix CS in gnupg_sign
2016-10-09 19:54:03 +01:00
Jakub Zelenka
ba7bce32f7
Fix CS in gnupg_adddecryptkey and gnupg_addencryptkey
2016-10-07 20:28:22 +01:00
Jakub Zelenka
ee75e41714
Finish fixing CS in gnupg_addsignkey
2016-10-06 20:45:40 +01:00
Jakub Zelenka
759ed9045b
Add and use PHP_GNUPG_DO
2016-10-05 20:47:27 +01:00
Jakub Zelenka
0defc0acce
Fix CS a bit more and allow longer lines
2016-09-23 20:51:35 +01:00
Jakub Zelenka
40fc5e19aa
Fix CS in gnupg_keyinfo
2016-09-22 21:05:19 +01:00
Jakub Zelenka
310b1b7c83
Use macros for assoc values in gnupg_fetchsignatures
2016-09-21 20:58:52 +01:00
Jakub Zelenka
f1ec9d594f
Add macros for adding assoc values
2016-09-20 20:46:10 +01:00
Jakub Zelenka
8eabb499cf
Fix CS for some setters and few more
2016-09-19 19:53:41 +01:00
Jakub Zelenka
4d14a5736c
Fix CS in callbacks and init
2016-09-18 20:24:07 +01:00
Jakub Zelenka
471a47f41e
Define and use macros for constants registration
2016-09-18 20:11:22 +01:00
Jakub Zelenka
d08552405a
Wrap method aliases
2016-09-16 19:54:22 +01:00
Jakub Zelenka
5ca5063c3b
Add arginfo for functions
2016-09-15 19:41:21 +01:00
Jakub Zelenka
4079d73841
Add other missing method arginfos
2016-09-13 19:14:00 +01:00
Jakub Zelenka
0de35ce992
Add arginfo for some methods
2016-09-12 20:21:40 +01:00
Jakub Zelenka
c0c8d0acda
Fix CS
2016-09-11 20:23:32 +01:00
Remi Collet
32203934c7
Fix callbacks prototype, to match exactly what expected.
...
This is broken on ZTS, as the additional parameter (TRSMLS)
will never be sent by libgpgme.
The cast was badly hdding the warning about this.
2016-06-16 11:13:08 +02:00
Jakub Zelenka
f89f8d9411
Use fixed PHPC_HASH_CSTR_ADD_PTR
2016-05-29 18:53:20 +01:00
Jakub Zelenka
bc39172174
Fix issues for PHP 5
2016-05-22 19:19:26 +01:00
Jakub Zelenka
643bcd1ecf
Port gnupg_keylistiterator to use phpc
2016-05-22 18:52:23 +01:00
Jakub Zelenka
bc85cdf849
Finish porting gnupg.c using phpc
2016-05-22 17:54:19 +01:00
Jakub Zelenka
4229b54fd6
Port to phpc some functions and fix CS
2016-05-22 12:07:13 +01:00
Jakub Zelenka
fdf573ac73
Make initial port to phpc
2016-05-21 21:27:06 +01:00
Sean DuBois
d9aacb1358
Fix gnupg_verify, invalid reference handling and depended on invalid behavior with ZVAL types
2016-05-03 02:20:51 -05:00
Sean DuBois
9d30ee407a
Fix gnupg_decryptverify, before it didn't properly handle plaintext as a reference
2016-05-03 01:46:51 -05:00