Forgot your password?
typodupeerror
Encryption Open Source Programming Linux

Ubuntu 26.10 Will Offer a Rust-based GnuPG Replacement Option (itsfoss.com) 38

The blog It's FOSS reports: You already know that Canonical has been selectively replacing Ubuntu's C-based system components with Rust-written equivalents that don't compromise in terms of functionality, most of the time. Now it looks like the distro's OpenPGP implementation is next, with Sequoia PGP coming preinstalled in Ubuntu 26.10. Canonical wants it to eventually replace GnuPG [the dominant Linux implementation of PGP, written in C] as the default toolchain, though that switch has not happened yet... [The Ubuntu 26.10 release notes say Sequoia PGP's default status will be a future goal...]

[Sequoia PGP] was started in 2017 by three former GnuPG developers who chose to build a new OpenPGP implementation in Rust rather than keep evolving GnuPG's existing codebase. Sequoia PGP is designed as a library that other software can use directly, rather than a standalone command-line tool. sq sits on top of that for encryption, decryption, signing, and key management, and sqv handles signature verification, filling in for gpg and gpgv in GnuPG.

Sequoia also implements RFC 9580, the 2024 revision of the OpenPGP standard, whereas GnuPG has continued from the RFC 4880 branch, pursuing its own newer extensions and the LibrePGP specification rather than adopting RFC 9580 as its primary standard.

From the It's FOSS Weekly newsletter, which also notes that the founder of the It's FOSS blog has also created a Linux-themed game called TUXDLE — a variation on Wordle where all the answers are Linux terms.

Ubuntu 26.10 Will Offer a Rust-based GnuPG Replacement Option

Comments Filter:
  • by Anonymous Coward on Saturday October 10, 2026 @06:11PM (#66370258)

    Replace a long proven security program used for the most essential functions of the operation system by a clone written in rust.

    People, you are signing you fucking packages with PGP. Using some rust clone just because is a catastrophe waiting to happen. When the replacement got 20 years of stable releases without major bugs, you can start considering to use it. Until then, stick to the proven solution. What's next, rewriting gnutls in rust and hoping the best? There is so much things that you can fuck up with cryptography, and memory safety is not the important trade-off. Who cares if gnupg may crash, when its clone may fail to check signatures?

    • Re: (Score:2, Insightful)

      by Anonymous Coward
      Rust is the future of code old man
      • Then I guess it's good I'm going to retire in ~5 years. I haven't used C professionally for larger programs in some years (just small ones), but I still remember it well enough from the 10 years that I did that I can look at a C program and know what's doing in fairly short order. By changing programs/libs to Rust, you're limiting the number of people who can/will work on OSS projects, as I and I'm sure others don't know Rust and have no plans to pick it up.

        There are a number of other tasks I can do for OSS

    • So your preference is the sometimes standards compatible version which has decided to diverge from OpenPGP rather than the standards compatible one - just because the language its written in?
  • by Gravis Zero ( 934156 ) on Saturday October 10, 2026 @08:26PM (#66370352)

    This is how it starts, an option... right up until they steamroll you by making it mandatory and a dependency. I recall how systemd was "optional" until it suddenly wasn't.

    • by drnb ( 2434720 )

      This is how it starts, an option... right up until they steamroll you by making it mandatory and a dependency.

      So Rust is the new Ada? :-;

  • But as it turns out, it's damned hard to keep them out without a bunch of convoluted witchcraft that snapd hooks could route around tomorrow. Especially since build-essential is hard-coded to depend on them. I tried, but I'm now looking at Canonical the same was I do Oracle and Broadcom. "Now you have two problems."
  • GnuPGs divergence from (rejection of) the IETF standards means you have to choose a side (agree with the standards, or go this other way). I wish GnuPG had chosen to follow the standards, in which case, let the best implementation win, but now that only one implementation follows the standard, there is no real choice.
  • Done (Score:4, Insightful)

    by CAIMLAS ( 41445 ) on Sunday October 11, 2026 @01:08AM (#66370514)

    That's it, I'm done with Ubuntu.

    So many shitty things are being done "with AI". I love AI, but it doesn't help that the devs doing all these AI Rust tools seem to have little to zero experience with development, or thoroughness.

    And for encryption? Fuck outta here.

    • I was done with Ubuntu the instant they switched to the Unity interface in 2012 or so. Made the os seem very mickey mouse. Like it was a plastic toy made for children.
      • They haven't used unity since 2017, it was active 2010-2017 - it's just gnome since then.
        • Well I used it a few years ago and I didn't see much difference. It wouldnt even let me go to the root directory unless I confirmed i really wanted to do that. UIs that get in my way really piss me off.
    • Canonical is run by wingnuts whom don't value rigor or stability.
  • Debian has offered Sequoia-PGP for awhile now, and works fine with its GnuPG compatibility interface. The shining feature of Sequoa-PGP is it has a well thought out command line interface and reduces several pain points I have had for decades when interacting with GnuPG.

    I don't really give a hoot if it's written in rust or not, it's more useful to me than GnuPG compatibility and that's what counts.

    • by allo ( 1728082 )

      If it is about the interface you can create a thin wrapper around gnupg. If you have to you can even use rust for the wrapper. Don't reinvent the wheel and don't think you can replace decades of experience with a few years of rust.

  • ...and it's kind of a beast to work with; there is a "chameleon" GPG wrapper which handles interop (not tried it yet), but at the base level it looks like this:

    $ gpg -c calibration.html
    $ file calibration.html.gpg
    calibration.html.gpg: PGP symmetric key encrypted data - AES with 256-bit key salted & iterated - SHA512 .

    $ sq encrypt --with-password --without-signature --compression=zlib --bina

    • by allo ( 1728082 )

      Wait ... wasn't compression necessary for secure cryptography because if the encrypted data is not maximum entropy, cracking becomes easier?

  • I guarantee they are incompatible.

The decision doesn't have to be logical; it was unanimous.

Working...