Skip to content

Public keys are not (any more) public #28898

Open
@f403

Description

@f403

Description

Starting from some of recent releases user's public keys have different visibility as before.

Previously pages like https://try.gitea.io/f403.keys were visible for anybody ignoring user's visibility settings.
Now it returns 404 for users with "limited" or "private" visibility, if requested by guests. This breaks pipelines relying on Gitea.

I couldn't find in the changelog anything about public keys, is this a bug or a feature?
If this is a desired behavior, I'd like to suggest an option in user settings to make public keys public even for limited/private accounts.

Gitea Version

1.21.3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker / https://try.gitea.io/

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions