APT 3.3.9 Package Manager Updates Cryptographic Policies

APT 3.3.9 disables NIST P-256 in GnuPG, adopts json-c for JSON output, and improves download handling and memory allocation.

APT 3.3.9, the package manager used by Debian, Ubuntu, and their derivatives, has arrived in Debian Unstable with updated cryptographic policies, a new JSON library, and improved download handling.

On the security side, APT now disables the NIST P-256 elliptic curve in its GnuPG backend. The same restriction is 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 based on json-c, which is now responsible for generating JSON output.

Download handling has been improved as well by refactoring URI decoding. It now prevents unnecessary scheduler loops when acquisition items are deferred and rejects HTTP redirects without a specified destination.

Memory management also improves, with APT’s FileFd implementation allocating its 64 KiB buffer only when needed and explicitly setting the gzip buffer size.

For unattended upgrades, APT’s Debian-specific configuration now lets the unattended-upgrade utility decide whether automatic updates should run on battery power.

Other changes include improved error reporting through the External Dependency Solver Protocol, correct handling of empty Source fields in package metadata, and various build, CI, formatting, and GCC 16 compatibility fixes.

For additional details, refer to the APT package tracker.

APT 3.3.9 is part of the development series for Debian’s unstable branch. Users running Debian Stable or Ubuntu should not expect this version to appear in their regular repositories, as these distros generally maintain their own APT versions rather than adopting new upstream releases.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Leave a Reply

Your email address will not be published. Required fields are marked *