Debian Patches
Status for php-crypt-gpg/1.6.9-5
Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
Group-write-if-write-access-is-needed.patch | Group write if write access is needed In the build and autopkgtest environment ~/.gnupg is not accessible and cannot be created, failing GeneralTestCase::testSetEngine with Crypt_GPG_FileException: The 'homedir' "…/.gnupg" is not readable or does not exist and cannot be created. This can happen if 'homedir' is not specified in the Crypt_GPG options, Crypt_GPG is run as the web user, and the web user has no home directory. |
David Prévot <david@tilapin.org> | not-needed | 2016-03-25 | ||
Handle-OpenPGP-compliant-CSF-message-verfication.patch | [PATCH] Handle OpenPGP-compliant CSF message verification GnuPG has traditionally emitted a spurious newline when outputting the text verified from a cleartext signing framework message, if the signed message doesn't contain a trailing newline. This is clearly wrong according to the OpenPGP specification, which says: > The line ending (i.e., the <CR><LF>) before the '-----BEGIN PGP > SIGNATURE-----' line that terminates the signed text is not > considered part of the signed text. The test in Crypt_GPG presumes that the trailing newline is returned, as that has been traditional GnuPG (mis)behavior. This change adjusts the test suite so that it passes regardless of whether GnuPG conforms to the specification or misbehaves in the traditional way. See https://dev.gnupg.org/T7106 for discussion with upstream. See also https://gitlab.com/freepg/gnupg/-/merge_requests/15, where the FreePG project is bringing a patched version of GnuPG into compliance with the specification. Finally, please also see the discussion over on https://bugs.debian.org/1099043 -- debian's GnuPG is being brought into compliance with the OpenPGP standard for CSF messages, so we need something like this to ensure that the Crypt_GPG test suite succeeds. |
Daniel Kahn Gillmor <dkg@fifthhorseman.net> | yes | 2025-03-13 | ||
testExportPrivateKey_with_bad_pass-Ignore-E_NOTICE-report.patch | testExportPrivateKey_with_bad_pass(): Ignore E_NOTICE reporting. Depending on the output of a race condition gpg(1) might terminate before the call to `fwrite($fdCommand,,)` which then issues an E_NOTICE report about the EPIPE. That is allowed behavior for which we don't want PHPUnit to convert the notice into an exception. |
Guilhem Moulin <guilhem@debian.org> | no | debian | 2022-02-20 | |
Tests-Fix-race-condition-during-GNUPGHOME-cleanup.patch | Test suite: Fix race condition during $GNUPGHOME cleanup. gpg tries to remove sockets hence races against tearDown(). We therefore ignore unlink()/rmdir() errors. |
Guilhem Moulin <guilhem@debian.org> | no | debian | 2024-09-03 |
Showing 1 to 4 of 4 entries
All known versions for source package 'php-crypt-gpg'
- 1.6.9-5 (sid, trixie)
- 1.6.7-2 (bookworm)
- 1.6.4-2+deb11u1 (bullseye)