php-crypt-gpg (2.0.0-1) unstable; urgency=medium

  * New upstream release.
  * d/control: Drop php-mbstring and php-pear (Build-)Depends.
  * d/control: Require gpg 2.2~ or later.
  * Refresh d/patches.
  * Adjust packaging to upstream's v2.0.0 changes:
    + Port to composer from PEAR
    + Add Build-Depends: phpab
    + Add autoload.php and ship a pkg-php-tools autoloader
    + Remove unused lintian overrides
  * DEP-8: Revert previous attempt at making the upstream test suite more
    robust since it did not help.
  * DEP-8: Only run the upstream test suite on amd64 and i386 (closes:
    #1116354).

 -- Guilhem Moulin <guilhem@debian.org>  Sun, 09 Aug 2026 19:54:05 +0200

php-crypt-gpg (1.9.0-1) unstable; urgency=medium

  * New upstream release.
    + Experimental key editing tool: add key signing and trust functions.
  * DEP-8: Attempt at making the upstream test suite more robust, see
    #1116354.

 -- Guilhem Moulin <guilhem@debian.org>  Fri, 31 Jul 2026 00:52:11 +0200

php-crypt-gpg (1.8.0-1) unstable; urgency=medium

  * New upstream release.
    + Drop dependency on deprecated Console_CommandLine.
    + Add experimental key editing tool.
  * d/control, d/watch: Point homepage and source to GitHub as
    https://pear.php.net/package/Crypt_GPG fell out of sync.
  * Update Standards-Version to 4.7.4 (no changes necessary).
  * Adjust d/rules and d/t/control to account for the tree structure.
  * d/control: Add `(Build-)Depends: php-pear` for `PEAR_Exception`.
  * Refresh d/patches.

 -- Guilhem Moulin <guilhem@debian.org>  Wed, 22 Jul 2026 22:32:14 +0200

php-crypt-gpg (1.6.11-3) unstable; urgency=medium

  [ David Prévot ]
  * Add patch for compatibility with recent PHPUnit (13).

  [ Guilhem Moulin ]
  * d/control: Remove `Rules-Requires-Root: no`.
  * Update Standards-Version to 4.7.3.
    + Remove "Priority: optional" which is the current default and spelling it
      out is no longer recommended per Policy.
  * d/watch: Port to Version 5.

 -- Guilhem Moulin <guilhem@debian.org>  Sun, 08 Feb 2026 22:45:26 +0100

php-crypt-gpg (1.6.11-2) unstable; urgency=medium

  * d/p/Group-write-if-write-access-is-needed.patch: Use group attributes
    rather than annotations for compatibility with phpunit ≥12.
    (Closes: #1117417)

 -- Guilhem Moulin <guilhem@debian.org>  Sat, 18 Oct 2025 01:45:53 +0200

php-crypt-gpg (1.6.11-1) unstable; urgency=medium

  * New upstream bugfix release.
  * Refresh d/patches.

 -- Guilhem Moulin <guilhem@debian.org>  Sun, 25 May 2025 18:35:07 +0200

php-crypt-gpg (1.6.10-1) unstable; urgency=medium

  * New upstream bugfix release.
  * Refresh d/patches and remove those applied upstream.
  * Update Standards-Version to 4.7.2 (no changes necessary).
  * d/copyright: Replace FSF's old postal address with an URL.

 -- Guilhem Moulin <guilhem@debian.org>  Mon, 07 Apr 2025 16:54:38 +0200

php-crypt-gpg (1.6.9-5) unstable; urgency=medium

  * Team upload

  [ Guilhem Moulin ]
  * Revert "Skip tests appropriately"
  * Add DEP-3 header.

  [ Daniel Kahn Gillmor ]
  * Gracefully handle CSF verification, with or without corrected GnuPG

 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>  Thu, 13 Mar 2025 21:22:58 -0400

php-crypt-gpg (1.6.9-4) unstable; urgency=medium

  * Team upload
  * Avoid breakage with Cleartext Signature Framework-compliant gpg
    (Closes: #1099043)
  * don't run tests under notest profile
  * override lintian about package description and summary

 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>  Thu, 27 Feb 2025 11:56:39 -0500

php-crypt-gpg (1.6.9-3) unstable; urgency=medium

  * Team upload
  * Allow stderr during debci (for PHPUnit 11)

 -- David Prévot <taffit@debian.org>  Tue, 31 Dec 2024 16:27:24 +0100

php-crypt-gpg (1.6.9-2) unstable; urgency=medium

  * Test suite: Fix race condition during $GNUPGHOME cleanup which was causing
    occasional FTBFS. (Closes: #1080394)
  * Update Standards-Version to 4.7.0 (no changes necessary).

 -- Guilhem Moulin <guilhem@debian.org>  Tue, 03 Sep 2024 13:33:56 +0200

php-crypt-gpg (1.6.9-1) unstable; urgency=medium

  * New upstream bugfix release:
    + Fix numerous PHPDoc and code issues found by static code analyzer.
  * d/sample.php: Force system dependencies loading.
  * Refresh d/patches.

 -- Guilhem Moulin <guilhem@debian.org>  Sun, 24 Mar 2024 23:40:19 +0100

php-crypt-gpg (1.6.8-1) unstable; urgency=medium

  * New upstream bugfix release:
    + Fix bug in parsing USERID_HINT status causing missing real user name in
      BadPassphrases array.
  * Salsa CI: Include recipes/debian.yml not its dependencies, per
    recommendation from the Salsa CI maintainers.
  * Update standards version to 4.6.2, no changes needed.
  * Refresh d/patches.
  * d/s/lintian-overrides: Remove mismatched lintian override.

 -- Guilhem Moulin <guilhem@debian.org>  Fri, 24 Nov 2023 13:06:55 +0100

php-crypt-gpg (1.6.7-2) unstable; urgency=medium

  * Add 'Crypt_GPG-*/tests/debug.log' to d/clean.
  * testExportPrivateKey_with_bad_pass(): Ignore E_NOTICE reporting.  fwrite()
    calls might fail with EPIPE when gpg(1) terminates early, and PHPUnit
    converts the notice into an exception thereby making the test flaky.
    (Closes: #1006028)

 -- Guilhem Moulin <guilhem@debian.org>  Sun, 20 Feb 2022 19:06:11 +0100

php-crypt-gpg (1.6.7-1) unstable; urgency=high

  * New upstream bugfix/security release, with fix for CVE-2022-24953:
    Crypt_GPG <1.6.7 does not prevent additional options in GPG calls, which
    presents a risk for certain environments and GPG versions.
    (Closes: #1005921)

  [ Guilhem Moulin ]
  * d/watch: Use substitution strings.
  * Update standards version to 4.6.0, no changes needed.
  * Override lintian's 'very-long-line-length-in-source-file' tag for
    tests/data-files.

 -- Guilhem Moulin <guilhem@debian.org>  Thu, 17 Feb 2022 11:36:52 +0100

php-crypt-gpg (1.6.6-1) unstable; urgency=medium

  * New upstream release.
  * d/p: Refresh patches, and remove those which where applied upstream or are
    no longer relevant.
  * d/control: Require phpunit ≥9 in Build-Depends.

 -- Guilhem Moulin <guilhem@debian.org>  Fri, 10 Sep 2021 16:20:45 +0200

php-crypt-gpg (1.6.5-2) unstable; urgency=medium

  * d/rules: Use execute_after_dh_* from Debhelper compatibility level 13 when
    relevant.
  * Fix FTBFS with debianutils 5.1-2.

 -- Guilhem Moulin <guilhem@debian.org>  Thu, 19 Aug 2021 21:40:03 +0200

php-crypt-gpg (1.6.5-1) unstable; urgency=medium

  * New upstream release.

 -- Guilhem Moulin <guilhem@debian.org>  Sun, 15 Aug 2021 00:09:33 +0200

php-crypt-gpg (1.6.4-2) unstable; urgency=medium

  * Require phpunit ≥8 in Build-Depends.
  * Preemptively fix FTBFS with phpunit 10.

 -- Guilhem Moulin <guilhem@debian.org>  Thu, 07 Jan 2021 16:05:51 +0100

php-crypt-gpg (1.6.4-1) unstable; urgency=low

  * New upstream version 1.6.4. (Closes: #882896)
  * Add self to Uploaders.
  * Remove Joey from Uploaders per MIA team request. (Closes: #934432)
  * Use secure URI in Homepage field.
  * Bump debhelper from deprecated 9 to 12.
  * Set debhelper-compat version in Build-Depends.
  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
    Repository-Browse.
  * Update Vcs-* headers to use salsa repository.
  * Remove unnecessary get-orig-source-target.
  * Set Rules-Requires-Root: no.
  * Update watch file format version to 4.
  * Use secure URIs in debian/watch.
  * Bump Standards-Version to 4.5.1 from ancient 4.0.0.
  * Set debian-branch=debian/latest in d/gbp.conf.
  * Bump Debhelper compatibility level to 13.
  * Add d/salsa-ci.yml file for GitLab CI.
  * Replace (Build-)Depends: gnupg2 with gpg (>= 2.1.13~) and add Recommends:
    gpg-agent. (Closes: #911852)
  * No longer ship /usr/bin/crypt-gpg-pinentry.
  * Exclude phpunit, gpg etc. from Build-Depends under nocheck profile.
  * Remove check for DEB_BUILD_OPTIONS=nocheck in override_dh_auto_test.
    (No longer necessary under debhelper compatibility level 13.)
  * Add debian/.gitattributes.
  * Re-encode debian/sample.php to UTF-8.
  * Fix FTBFS with phpunit 8.5.13-1 and 9.5.0-1.
  * Add .phpunit.result.cache to debian/clean.
  * Clarify "@group write" annotation and --exclude-group write option.

 -- Guilhem Moulin <guilhem@debian.org>  Mon, 21 Dec 2020 00:41:52 +0100

php-crypt-gpg (1.6.0-1) unstable; urgency=medium

  * New upstream version 1.6.0
    - Adds GnuPG 2.1 support (Closes: #835592)
  * Drop (build-)depend on gnupg (Closes: #863182)
  * refresh patch
  * Update Standards-Version to 4.0.0

 -- Prach Pongpanich <prach@debian.org>  Wed, 02 Aug 2017 12:58:39 +0700

php-crypt-gpg (1.4.1-1) unstable; urgency=medium

  * Imported Upstream version 1.4.1
  * Update Standards-Version to 3.9.8
  * Refresh patch 0001-Group-write-if-write-access-is-needed

 -- Prach Pongpanich <prach@debian.org>  Tue, 10 May 2016 13:26:17 +0700

php-crypt-gpg (1.4.0-2) unstable; urgency=medium

  * Team upload
  * Use standard gbp layout
  * PHP 7.0 transition:
    - Use now split php-mbstring for the tests
    - Rebuild with recent pkg-php-tools
  * Update Standards-Version to 3.9.7
  * Work around failing test needing write access

 -- David Prévot <taffit@debian.org>  Fri, 25 Mar 2016 14:25:09 -0400

php-crypt-gpg (1.4.0-1) unstable; urgency=medium

  [ Prach Pongpanich ]
  * Bump Standards-Version to 3.9.6
  * Run test during package build
  * Add DEP-8 tests

  [ David Prévot ]
  * Track latest release
  * Update copyright
  * Let pkg-php-tools take care of dependencies

  [ Christian Weiske ]
  * Implement #20939: Methods to retrieve status about encryption and
    signing keys
  * Implement request #20940: Information about recently created signature

  [ Aleksander Machniak ]
  * Add possibility to get/set all usage flags of the subkey
  * Return all fingerprintes from key import methods (Request #17815)
  * Fix issue where PinEntry could not find Console/CommandLine (Bug #19914)
  * Fix converting HTML entities in debug output (Bug #20512)
  * Fix path to pinentry-cli.xml file on composer installs (Bug #20527)
  * Fix key import tests after adding 'fingerprints' item to the result
  * Get rid of @-operator, better variables naming
  * Prepare 1.4.0 release

 -- Prach Pongpanich <prach@debian.org>  Tue, 24 Nov 2015 19:15:25 +0700

php-crypt-gpg (1.3.2-1) unstable; urgency=low

  * New upstream release
  * Now using PKG-PHP-PEAR team as maintainer
  * Switch to pkg-php-tools and dh-sequencer
    - Drop debian/{postinst,prerm} file (Closes: #689324)
  * Add Depends on misc-depends
  * Add myself as uploader
  * Switch VCS to git (Closes: #638505)
  * Switch to 3.0 (quilt) source format (Closes: #664382)
  * Switch debian/copyright to format 1.0
  * Bump debhelper compat to 9
  * Bump Standards-Version to 3.9.4

 -- Prach Pongpanich <prachpub@gmail.com>  Thu, 20 Jun 2013 21:15:34 +0700

php-crypt-gpg (1.1.1-1) unstable; urgency=low

  * New upstream source
  * Corrects problem with specifying trustdb

 -- Joey Schulze <joey@infodrom.org>  Sat, 19 Jun 2010 17:06:22 +0200

php-crypt-gpg (1.1.0-1) unstable; urgency=low

  * Change section from web to php to accomplish an override disparity
  * New upstream version

 -- Joey Schulze <joey@infodrom.org>  Sat, 15 May 2010 20:54:46 +0200

php-crypt-gpg (1.0.0-2) unstable; urgency=low

  * Add possibility to add --textmode to signing command line, required
    for digitally signing mail [patches/sign-textmode.dpatch], extracted
    from PEAR feature request <http://pear.php.net/bugs/bug.php?id=17006>

 -- Joey Schulze <joey@infodrom.org>  Sat, 23 Jan 2010 11:03:11 +0100

php-crypt-gpg (1.0.0-1) unstable; urgency=low

  * New upstream version
    . Includes improved subkeys handling
  * Final release 1.0.0
  * Removed subkeys patch since this problem is fixed upstream

 -- Joey Schulze <joey@infodrom.org>  Sun, 25 Jan 2009 09:39:09 +0100

php-crypt-gpg (1.0.0~RC1-3) unstable; urgency=low

  * Removed pear post-install installation call until draf PHP policy is
    fixed, this will make the package installable again

 -- Joey Schulze <joey@infodrom.org>  Tue, 13 Jan 2009 22:15:06 +0100

php-crypt-gpg (1.0.0~RC1-2) unstable; urgency=low

  * Added a simple example
  * Added calls to pear install/uninstall to the postinst/prerm script as
    per draft PHP policy, section 4.2.2

 -- Joey Schulze <joey@infodrom.org>  Wed, 07 Jan 2009 17:21:26 +0100

php-crypt-gpg (1.0.0~RC1-1) unstable; urgency=low

  * Initial packaging
  * Improved rules file by dynamically importing dpatch snippets from dpatch
  * Search for keys with passphrases not only for the particularly used
    subkey but also for the main key id in case the passphrase is stored
    under the main key id [01-not_only_subkeys.dpatch]
  * Remove executable bit for patches on clean target

 -- Joey Schulze <joey@infodrom.org>  Fri, 26 Dec 2008 20:37:24 +0100
