Commit graph

45 commits

Author SHA1 Message Date
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
Rasmus Lerdorf
da03741809 Fix bug #60916 2012-01-29 02:42:28 +00:00
Rasmus Lerdorf
7bba784b63 More cleanup based on patch from fedora at famillecollet dot com in bug #60915 2012-01-29 02:38:33 +00:00
Rasmus Lerdorf
71d97801e9 - PHP 5.4 support
- include vars.inc in package.xml
- Fix tests to be gnupg version independent
fixes bug 60913
fixes bug 60915
2012-01-29 02:29:40 +00:00
Michael Maclean
d250dd3eb7 Another 64-bit fix - patch from #17616 2010-07-20 19:27:25 +00:00
Michael Maclean
b88e82603f Apply patch from bug #17615 to fix segfaults on 64-bit systems 2010-07-20 19:05:22 +00:00
Michael Maclean
8f439b534f Fix compatibility with gpgme > 1.2.0 2010-07-20 18:48:19 +00:00
Steph Fox
3fa6d442a7 - Bring the majority of PECL extensions into line with macro/x.x.x versioning.
- Please use the -dev tag during the development cycle so that snapshots can easily be distinguished from releases.
2008-03-31 09:39:35 +00:00
Thilo Raufeisen
42c62c0ee8 fixed double-free with recent gpgme-lib
adjusted testfiles
going 1.3.1
2007-05-04 12:26:17 +00:00
Thilo Raufeisen
19dcb9fda3 going 1.3 2006-11-06 14:53:44 +00:00
Thilo Raufeisen
f98e3c57e4 proper macro usage
deletekey now accepts a secret key in procedural mode
fixed erealloc in addencryptkey
2006-11-03 12:38:35 +00:00
Thilo Raufeisen
6803be309c - fixed build-issues in config.m4
- make sure that 'plain_text' is passed on 'verify'
- set error_reporting to E_ALL during tests
2006-10-24 14:04:02 +00:00
Thilo Raufeisen
abaa52b97a fixed bug #7587
cleaned up verify-method
2006-05-18 19:27:52 +00:00
Thilo Raufeisen
f3a9027773 improved PHP4 compatibility and config.m4
passphrase-errors now takes care of the actual errormode
2006-03-16 15:52:43 +00:00
Thilo Raufeisen
52985b59a5 removed in_get/in_set on object creation to avoid build-failure with php 5.1x 2005-11-30 12:13:18 +00:00
Thilo Raufeisen
631a9890d9 - finally changed licence to BSD, revised
- bumped date in package.xml
2005-11-29 20:54:36 +00:00
Thilo Raufeisen
5056a035da changed licence to PHP licence 3.01
updated package.xml
2005-11-28 20:27:30 +00:00
Thilo Raufeisen
c00c45c6e2 fixed error, when an invalid errormode is passed 2005-11-28 14:55:33 +00:00
Thilo Raufeisen
d0ae5002f1 fixed segfault during import, when keyring is not writeable 2005-11-25 14:31:36 +00:00
Thilo Raufeisen
28b2f5ebeb fixed bug #5943 (build failure if ZTS is enabled)
thanks to adamg at pld-linux dot org for the patch
2005-11-12 18:35:08 +00:00
Thilo Raufeisen
315ad0ecbf added seterrormode
fixed freeing of encryptkeys
2005-11-12 14:07:59 +00:00
Thilo Raufeisen
1bf61c6980 various memory optimizations 2005-11-10 20:24:27 +00:00
Thilo Raufeisen
95ed1d656f merged both gnupg structs
simplified dtors
various memleaks fixed
2005-11-03 21:13:28 +00:00
Thilo Raufeisen
05a9819d33 fixed bug in verify + typos 2005-10-25 19:36:10 +00:00
Thilo Raufeisen
9df69f2cec added gettrustlist
added listsignatures
changed verify, so that it is no longer limited to clearsign signatures
decrypt can now handle multiple keys too
2005-10-25 16:28:23 +00:00
Thilo Raufeisen
012e445989 definition of separate passphrases per signkey is now possible
setsignkey now takes an optional second parameter for the passphrase
setpassphrase was removed
2005-10-24 20:40:55 +00:00
Thilo Raufeisen
d927552662 added possibility to handle specify mulitple keys for all operations
therefore the api has changed a bit and this release is not compatible with the previously betareleases
2005-10-24 17:33:59 +00:00
Thilo Raufeisen
2f0f17e6e7 added procedural style
added PHP 4.3 support
2005-10-18 12:40:03 +00:00
Thilo Raufeisen
584b0947f5 added import and export methods
additional checks
better errormessages
2005-10-15 14:42:56 +00:00
Thilo Raufeisen
af81003551 split the iterator into separate file
generic code cleanup
updated package-xmls
2005-10-10 17:37:19 +00:00
Thilo Raufeisen
6bacc28bb6 fixed memleak in keylistiterator
added encryptsign and decryptverify
moved gpgme-init into objects_new
2005-10-09 15:55:02 +00:00
Thilo Raufeisen
f70929193a added keylistiterator 2005-10-08 19:42:50 +00:00
Thilo Raufeisen
04b0e31929 initial release 2005-10-07 18:59:50 +00:00