Distro News

APT 3.3.9 lands in Debian Unstable with NIST P-256 disabled in GnuPG and json-c output

Key Takeaway

APT 3.3.9 drops the NIST P-256 curve from its GnuPG backend, swaps its handwritten JSON writer for a json-c based library, and tightens download and memory handling.

Summary

APT 3.3.9 has arrived in Debian Unstable, bringing a set of cryptographic policy, output-format and download-handling changes to the package manager used by Debian, Ubuntu and their derivatives. On the security side, the GnuPG backend now disables the NIST P-256 elliptic curve, with the same restriction scheduled to take effect in the Sequoia OpenPGP backend on March 15, 2027. The release also replaces APT's handwritten JSON writer with a new library built on json-c, which now generates all JSON output.

Download handling was refactored around URI decoding, preventing unnecessary scheduler loops when acquisition items are deferred and rejecting HTTP redirects that lack a specified destination. Memory management improves as FileFd allocates its 64 KiB buffer only when needed and explicitly sets the gzip buffer size. Debian's unattended-upgrade configuration now lets the utility decide whether automatic updates run on battery power, and the release includes better error reporting through the External Dependency Solver Protocol, correct handling of empty Source fields, and GCC 16 compatibility fixes. Because this is a development-series release, Debian Stable and Ubuntu users should not expect it in their regular repositories.

What changes in APT 3.3.9

  • JSON output: APT's handwritten JSON writer is replaced by a new library based on json-c, which is now responsible for generating JSON output.
  • Unattended upgrades and metadata: Debian's configuration lets unattended-upgrade decide whether automatic updates run on battery power, empty Source fields in package metadata are handled correctly, and the External Dependency Solver Protocol gains improved error reporting alongside GCC 16 compatibility fixes.

Why it matters

APT is the package manager beneath Debian, Ubuntu and a large family of derivatives, so changes to its cryptographic policy and JSON output propagate to mirror tooling, configuration management and repository automation that parse APT's machine-readable output. Disabling NIST P-256 in the GnuPG backend affects signing and verification workflows for repository maintainers and anyone scripting around APT's OpenPGP handling, with the Sequoia backend following on a published date. The json-c switch and download refactoring matter for tools that consume APT's JSON and for large mirror-based deployments where scheduler behavior and memory use are visible.

Original reference: linuxiac.com →