Commit graph

14 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
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
467980cf56 Update tests to match new test key 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
4390ac3df8 Add checks for previous subkey values in oo keyinfo test 2018-06-18 15:36:48 +01:00
Jakub Zelenka
7d979e4e60 Add helpers for checking arrays in tests 2018-06-14 20:14:33 +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