Skip to content

GPG signing_service script corrupts my InRelease and Release.gpg. files #1245

@Mav-Joel

Description

@Mav-Joel

Version
pulpcore version : 3.71.2
pulp_deb version : 3.5.1
Installed via Docker with pulp/pulp image

Describe the bug
When using the signing service created via : https://pulpproject.org/pulp_deb/docs/user/guides/signing_service/

I encounter a "File exists" error. To bypass this, I added the --yes parameter to the GPG commands to force the signing. While this resolves the error, it causes unexpected changes in the InRelease file:

The "Codename" and "Suite" values are altered to "trixie".
The InRelease file becomes unusable because the package paths are modified or missing compared to a correctly generated InRelease file.

To Reproduce
Steps to reproduce the behavior:

  • Create a signing service via https://pulpproject.org/pulp_deb/docs/user/guides/signing_service/
  • Add --yes to the gpg commands in the script (otherwise it won't work at all and will return "File exists")
  • Generate an InRelease file with a specific Suite and Codename
  • Try to use the signing service to sign a deb package
  • Check the created InRelease file

Expected behavior
I expected the InRelease file to be signed without any modifications to the "Suite", "Codename", or package paths.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions