Jeremy Johnstone
e7cd93ba73
Adding messagekeys($enctext) method which returns recipient info
...
The return type is an associative array of keyid -> status, where status
is true if we have a secret key locally for that key or false if not. If
the provided $enctext is invalid, it returns false and sets the error
state appropriately.
2017-09-07 17:29:31 -06: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
Sean DuBois
f7d42c6bc3
Port to PHP 7, only 33.3% of the tests pass though (same as PHP 5). May be as stable
...
as the last release, but more work may be needed.
2015-12-27 06:46:27 +00:00
Jim Jagielski
54a1220900
Bug #70432 segfault on import function
2015-09-09 11:28:12 +00:00
Jim Jagielski
b6f6663639
fix compilation issue
2015-02-11 18:10:16 +00:00
Jim Jagielski
d8be544dea
Bug #65342
...
Add simple error reporting
2015-02-11 17:51:41 +00:00
Jim Jagielski
48472e9516
error checking and ensure we check version
2013-07-17 12:54:49 +00:00
Jim Jagielski
0bfb5d8a50
Bugz # 59598
...
The gpgme_data_release_and_get_mem() call already free'd out
2013-07-17 12:11:24 +00:00
Remi Collet
c8ed0ccba4
fix warning: 'sig_arr' may be used uninitialized in this function [-Wmaybe-uninitialized] (don't need to be a parameter)
2013-07-09 13:09:18 +00:00
Remi Collet
db7fde633f
fix warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
2013-07-09 12:48:04 +00:00
Jim Jagielski
e6cc6a9c74
Update w/ lead change info...
2013-07-08 14:11:30 +00:00
Remi Collet
f009cd036d
fix type
2012-05-06 07:43:30 +00:00