Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for signing uploaded RPM #27031

Closed
ExplodingDragon opened this issue Sep 12, 2023 · 0 comments · Fixed by #27069
Closed

Support for signing uploaded RPM #27031

ExplodingDragon opened this issue Sep 12, 2023 · 0 comments · Fixed by #27069
Labels
topic/packages type/proposal The new feature has not been accepted yet but needs to be discussed first.
Milestone

Comments

@ExplodingDragon
Copy link
Contributor

Feature Description

if RPM Metadata does not contain a GPG signature, it will not be possible to install using yum/dnf.

curl --user user:pass --upload-file golang-static-1.20.6-1.el9.x86_64.rpm  https://git.example.com/api/packages/packages/rpm/upload
dnf config-manager --add-repo https://git.example.com/api/packages/packages/rpm.repo
dnf makecache
dnf install golang-static -y

图片

Screenshots

No response

@ExplodingDragon ExplodingDragon added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Sep 12, 2023
DennisRasey pushed a commit to DennisRasey/forgejo that referenced this issue Aug 2, 2024
This pull request comes from go-gitea/gitea#27069.

If the rpm package does not contain a matching gpg signature, the installation will fail. See ([gitea/gitea#27031](go-gitea/gitea#27031)) , now auto-signing all new rpm uploads.

This option is turned off by default for compatibility.

<!--start release-notes-assistant-->

## Draft release notes
<!--URL:https://codeberg.org/forgejo/forgejo-->
- Features
  - [PR](https://codeberg.org/forgejo/forgejo/pulls/4780): <!--number 4780 --><!--line 0 --><!--description QWRkIHNpZ25hdHVyZSBzdXBwb3J0IGZvciB0aGUgUlBNIG1vZHVsZQ==-->Add signature support for the RPM module<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4780
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Exploding Dragon <explodingfkl@gmail.com>
Co-committed-by: Exploding Dragon <explodingfkl@gmail.com>
@lunny lunny added this to the 1.23.0 milestone Aug 6, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/packages type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants