[commits] Crypt branch FRAMEWORK_5_2 updated. 7702ffdfbde55802405123382e17a9520a84e169
jan at horde.org
jan at horde.org
Thu Nov 17 21:55:12 UTC 2022
The branch "FRAMEWORK_5_2" has been updated.
The following is a summary of the commits.
from: 9306988f7f92503ab63c6b862a869239f1d5c788
49f1406 This server is completely broken now.
a0c1c34 Horde_Crypt_Pgp_Backend: Fix generateKey() method with GnuPG 2.2 onwards.
87fd313 Simplify, fix CS, and fix variable name on GPG 1.
073f4a3 Make this version 2.8.0.
463e9d1 [jan] Fix key generation with GnuPG 2 (PR #2, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>).
430e5b6 PHP 8.0 compatibility
dbc4a7d Fix fatal error "$string must be of type string, array given", happens when subject fields in certs contains multiple-values.
e308ba8 fix PHP 8.0 TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given
035209d Use the same technique like above.
7702ffd [jan] Improve PHP 8 compatibility in S/MIME backend (PR #4, Hadi Nategh <hnategh at gmail.com>, Hadi Nategh <hnategh at gmail.com>).
Summary: https://github.com/horde/Crypt/compare/9306988f7f92...7702ffdfbde5
-----------------------------------------------------------------------
commit 49f1406c81aa6f2fc4273cd8e09af39b137bd5d7
Author: Jan Schneider <jan at horde.org>
Date: Thu, 17 Nov 2022 21:58:42 +0100
This server is completely broken now.
M test/Horde/Crypt/PgpKeyserverTest.php
https://github.com/horde/Crypt/commit/49f1406c81aa6f2fc4273cd8e09af39b137bd5d7
-----------------------------------------------------------------------
commit a0c1c346f9ac7bca0a7cb90bbc75e7eb61c49272
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu, 17 Nov 2022 22:00:18 +0100
Horde_Crypt_Pgp_Backend: Fix generateKey() method with GnuPG 2.2 onwards.
The batch macros %secring and %pubring have been deprecated since GnuPG
2.1 and, in fact, %secring% is not available anymore starting with
GnuPG 2.2.x.
With GnuPG 2.1 and above, in the generateKey() method, we now don't
obtain the pub/secret keys directly from the ASCII keyring files
anymore, but generate the pub/secret key pair in the keyrings of the
ephemeral home directory and then export/obtain them from there (via
capturing stdout), instead.
See:
https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html
M lib/Horde/Crypt/Pgp/Backend/Binary.php
https://github.com/horde/Crypt/commit/a0c1c346f9ac7bca0a7cb90bbc75e7eb61c49272
-----------------------------------------------------------------------
commit 87fd3135900f54f9da837facf056532d4cead0ae
Author: Jan Schneider <jan at horde.org>
Date: Thu, 17 Nov 2022 22:00:18 +0100
Simplify, fix CS, and fix variable name on GPG 1.
M lib/Horde/Crypt/Pgp/Backend/Binary.php
https://github.com/horde/Crypt/commit/87fd3135900f54f9da837facf056532d4cead0ae
-----------------------------------------------------------------------
commit 073f4a39972921234176bc4d2fdf5cca45f4a122
Author: Jan Schneider <jan at horde.org>
Date: Thu, 17 Nov 2022 22:06:30 +0100
Make this version 2.8.0.
M .horde.yml
M composer.json
M doc/Horde/Crypt/CHANGES
M doc/Horde/Crypt/changelog.yml
M package.xml
https://github.com/horde/Crypt/commit/073f4a39972921234176bc4d2fdf5cca45f4a122
-----------------------------------------------------------------------
commit 463e9d12d280973255db56913f3ec2d2caa748f6
Author: Jan Schneider <jan at horde.org>
Date: Thu, 17 Nov 2022 22:08:22 +0100
[jan] Fix key generation with GnuPG 2 (PR #2, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>).
M doc/Horde/Crypt/changelog.yml
https://github.com/horde/Crypt/commit/463e9d12d280973255db56913f3ec2d2caa748f6
-----------------------------------------------------------------------
commit 430e5b66934c5b8dde85ed1e1ca67069be56acf8
Author: Hadi Nategh <hnategh at gmail.com>
Date: Thu, 17 Nov 2022 22:30:15 +0100
PHP 8.0 compatibility
Make verifyPassphrase compatible with PHP 8.0 since openssl_pkey_get_private returns OpenSSLAsymmetricKey instead of resource.
M lib/Horde/Crypt/Smime.php
https://github.com/horde/Crypt/commit/430e5b66934c5b8dde85ed1e1ca67069be56acf8
-----------------------------------------------------------------------
commit dbc4a7dda5f5df4420390c4492ae1c9d32b59edd
Author: Hadi Nategh <hnategh at gmail.com>
Date: Thu, 17 Nov 2022 22:30:15 +0100
Fix fatal error "$string must be of type string, array given", happens when subject fields in certs contains multiple-values.
M lib/Horde/Crypt/Smime.php
https://github.com/horde/Crypt/commit/dbc4a7dda5f5df4420390c4492ae1c9d32b59edd
-----------------------------------------------------------------------
commit e308ba8ec7542b868c3d26b90687077e9be3ef93
Author: Ralf Becker <RalfBecker at outdoor-training.de>
Date: Thu, 17 Nov 2022 22:30:15 +0100
fix PHP 8.0 TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given
M lib/Horde/Crypt/Smime.php
https://github.com/horde/Crypt/commit/e308ba8ec7542b868c3d26b90687077e9be3ef93
-----------------------------------------------------------------------
commit 035209d63ab62e93bba283a3bfa15acae830fbae
Author: Jan Schneider <jan at horde.org>
Date: Thu, 17 Nov 2022 22:31:25 +0100
Use the same technique like above.
M lib/Horde/Crypt/Smime.php
https://github.com/horde/Crypt/commit/035209d63ab62e93bba283a3bfa15acae830fbae
-----------------------------------------------------------------------
commit 7702ffdfbde55802405123382e17a9520a84e169
Author: Jan Schneider <jan at horde.org>
Date: Thu, 17 Nov 2022 22:34:14 +0100
[jan] Improve PHP 8 compatibility in S/MIME backend (PR #4, Hadi Nategh <hnategh at gmail.com>, Hadi Nategh <hnategh at gmail.com>).
M doc/Horde/Crypt/changelog.yml
https://github.com/horde/Crypt/commit/7702ffdfbde55802405123382e17a9520a84e169
More information about the commits
mailing list