Skip to content

Add an option to automatically verify SSH keys from LDAP#35927

Merged
lafriks merged 14 commits into
go-gitea:mainfrom
ivan-tkatchev:main
Dec 27, 2025
Merged

Add an option to automatically verify SSH keys from LDAP#35927
lafriks merged 14 commits into
go-gitea:mainfrom
ivan-tkatchev:main

Conversation

@ivan-tkatchev
Copy link
Copy Markdown
Contributor

This pull request adds an option to automatically verify SSH keys from LDAP authentication sources.

This allows a correct authentication and verification workflow for LDAP-enabled organizations; under normal circumstances SSH keys in LDAP are not managed by users manually.

@GiteaBot

This comment was marked as outdated.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Nov 11, 2025
Comment thread options/locale/locale_en-US.ini Outdated
auths.attribute_mail = Email Attribute
auths.attribute_ssh_public_key = Public SSH Key Attribute
auths.attribute_avatar = Avatar Attribute
auths.ssh_keys_are_verified = SSH keys in LDAP are automatically verified
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... are considered as verified

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 25, 2025
@lunny
Copy link
Copy Markdown
Member

lunny commented Dec 25, 2025

Sorry for the translation source file changed again. The keys now should be flatten.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 26, 2025
@lafriks lafriks enabled auto-merge (squash) December 27, 2025 12:04
@lafriks lafriks merged commit 19e1997 into go-gitea:main Dec 27, 2025
24 checks passed
@GiteaBot GiteaBot added this to the 1.26.0 milestone Dec 27, 2025
zjjhot added a commit to zjjhot/gitea that referenced this pull request Dec 29, 2025
* giteaofficial/main:
  [skip ci] Updated translations via Crowdin
  Use gitrepo's push function (go-gitea#36245)
  Support closing keywords with URL references (go-gitea#36221)
  Add an option to automatically verify SSH keys from LDAP (go-gitea#35927)
  remove nolint (go-gitea#36252)
  Use the requested host for LFS links (go-gitea#36242)
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants