Commit graph

33 commits

Author SHA1 Message Date
Jakub Zelenka
74993ff4a2
Fix #32: Decryption of message encrypted with multiple keys (#55)
When the message is encrypted with multiple keys and the decryption
key(s) added is not the first encrypted key, then it was failing due to
invalid early failure when uid was not found in decrypted keys. This
changes such behavior and just returns empty key instead in such case.
2025-05-20 18:23:58 +02:00
Remi Collet
91e92a2690
fix tests with 5.6 (#53) 2025-04-22 15:36:00 +02:00
Remi Collet
5a8bf5aa93
clean hidden files (#54) 2025-04-22 15:32:07 +02:00
Jakub Zelenka
312655c7ce
Fix GH-46: gnupg_decrypt() segfault when password callback uid hint not supplied (#51) 2025-03-18 17:47:27 +01:00
Jakub Zelenka
c365ff0835
Fix GH-37: decryption of an encrypted empty string returns false (#50)
Closes GH-50
2025-03-18 14:54:49 +01:00
Remi Collet
68055f20f9 also cleanup socket files 2021-02-15 07:17:40 +01:00
Jakub Zelenka
100a19ce40 Fix arginfos and tests for PHP 8 2021-02-14 19:18:00 +00:00
Jakub Zelenka
542d121eca Fix tests to work correctly with gpg1 and older gpgme versions 2021-02-14 18:49:40 +00:00
Jakub Zelenka
75a9b387ea Fix tests with gpg2 2021-02-14 18:29:37 +00:00
Jakub Zelenka
474a2b9e97 Add gnupg_geterrorinfo and cover gnupg_geterror 2021-01-16 20:46:52 +00:00
Jakub Zelenka
467980cf56 Update tests to match new test key 2021-01-16 20:46:52 +00:00
Jakub Zelenka
0d91de88ab Add stronger key for tests 2021-01-16 20:46:52 +00:00
Jakub Zelenka
7c040788ad Test secret_only param in keyinfo 2018-08-27 18:49:33 +01:00
Jakub Zelenka
c1666d093c Port and fix gnupg_res_listsignatures test 2018-07-07 17:49:29 +01:00
Jakub Zelenka
b0b783b604 Port and fix gnupg_res_keyinfo test 2018-07-07 17:47:33 +01:00
Jakub Zelenka
e95d53f2e0 Port listsignatures oo test to the new array check 2018-06-22 19:28:41 +01:00
Jakub Zelenka
2778396423 Finalize fix for updated gnupg_oo_keyinfo 2018-06-20 19:49:00 +01:00
Jakub Zelenka
4390ac3df8 Add checks for previous subkey values in oo keyinfo test 2018-06-18 15:36:48 +01:00
Jakub Zelenka
f3864c33da Add generic oo keyinfo checks 2018-06-15 18:59:33 +01:00
Jakub Zelenka
7d979e4e60 Add helpers for checking arrays in tests 2018-06-14 20:14:33 +01:00
Jakub Zelenka
1779a02f74 Add complete coverage for init 2018-06-04 19:29:56 +01: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
2f99f8696a Add initial test for object creation with home dir 2018-05-23 20:47:15 +01:00
Jakub Zelenka
2a07550357 Make a full clean up of the imported key in tests 2018-05-22 17:43:05 +01:00
Jakub Zelenka
4aabe3c966 Refactore all test to be independent 2018-05-17 20:15:14 +01:00
Jakub Zelenka
a0ffb76eca Fix export test public key block header 2016-12-07 20:30:00 +00:00
Jakub Zelenka
f89f8d9411 Use fixed PHPC_HASH_CSTR_ADD_PTR 2016-05-29 18:53:20 +01: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
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
ba4ad8960b more tests
removed examples
2006-11-03 12:39:53 +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
dc666cc840 tests 2006-05-18 19:32:32 +00:00