Skip to content

Releases: sassoftware/go-rpmutils

v0.4.0

07 May 15:52
Compare
Choose a tag to compare

Breaking Changes

The PGP implementation has been changed to github.com/ProtonMail/go-crypto/openpgp. This was necessary due to the stdlib implementation being deprecated for some time, and also generating invalid PGP signatures which the gpg2 version in RHEL 9 has started rejecting entirely.

If you are creating or validating signatures you will need to adjust your imports correspondingly. See the note in the README:
https://github.com/sassoftware/go-rpmutils/blob/master/README.md#upgrading-from-versions-before-v040

You may encounter an error parsing PGP v3 signatures which are found in many places despite being extremely obsolete:

basesystem-11-13.el9.noarch.rpm ERROR: openpgp: unsupported feature: signature packet version 3

In particular, CentOS 9 still contains some RPMs with v3 signatures, although newer builds seem to have been updated. If this is important to you, see the workaround in the README.

Note that rpmutils has never generated v3 signatures.

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

26 Jan 18:18
Compare
Choose a tag to compare

Features

Bug Fixes

Full Changelog: v0.2.0...v0.3.0