-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
openpgp error on Debian package upload #28324
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
Labels
Comments
What "name" did you give to Gitea in your settings? Looks like you used an invalid character there. |
lunny
pushed a commit
that referenced
this issue
Dec 5, 2023
Fixes #28324 The name parameter can't contain some characters (https://github.com/keybase/go-crypto/blob/master/openpgp/keys.go#L680) but is optional. Therefore just use an empty string.
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Dec 5, 2023
Fixes go-gitea#28324 The name parameter can't contain some characters (https://github.com/keybase/go-crypto/blob/master/openpgp/keys.go#L680) but is optional. Therefore just use an empty string.
lunny
pushed a commit
that referenced
this issue
Dec 5, 2023
Backport #28352 by @KN4CK3R Fixes #28324 The name parameter can't contain some characters (https://github.com/keybase/go-crypto/blob/master/openpgp/keys.go#L680) but is optional. Therefore just use an empty string. Co-authored-by: KN4CK3R <[email protected]>
In my docker-compose it was set to: |
says: // NewUserId returns a UserId or nil if any of the arguments contain invalid
// characters. The invalid characters are '\x00', '(', ')', '<' and '>' |
fuxiaohei
pushed a commit
to fuxiaohei/gitea
that referenced
this issue
Jan 17, 2024
Fixes go-gitea#28324 The name parameter can't contain some characters (https://github.com/keybase/go-crypto/blob/master/openpgp/keys.go#L680) but is optional. Therefore just use an empty string.
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Feb 20, 2024
Fixes go-gitea#28324 The name parameter can't contain some characters (https://github.com/keybase/go-crypto/blob/master/openpgp/keys.go#L680) but is optional. Therefore just use an empty string.
project-mirrors-bot-tu bot
pushed a commit
to project-mirrors/forgejo-as-gitea-fork
that referenced
this issue
Jan 23, 2025
Backport go-gitea#28352 by @KN4CK3R Fixes go-gitea#28324 The name parameter can't contain some characters (https://github.com/keybase/go-crypto/blob/master/openpgp/keys.go#L680) but is optional. Therefore just use an empty string. Co-authored-by: KN4CK3R <[email protected]> (cherry picked from commit b71d4c3)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I did not configure anything in the gitea config for packages. Maybe I am missing something ?
This error can maybe be handled upper in the code and provide a better hint
Gitea Version
1.21.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
See: https://docs.gitea.com/next/usage/packages/packages/debian#publish-a-package
the curl command outputs the server reply:
openpgp: invalid argument: user id field contained invalid characters
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker rootless
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: