mirror of
1
Fork 0
forgejo/models/asymkey
Giteabot 64c7687308
Fix panic of ssh public key page after deletion of auth source (#31829) (#31836)
Backport #31829 by @lunny

Fix #31730

This PR rewrote the function `PublicKeysAreExternallyManaged` with a
simple test. The new function removed the loop to make it more readable.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 5fa90ad9bc7fe800d657e909462e5e1caefc7193)
2024-08-18 07:11:32 +02:00
..
error.go
gpg_key.go
gpg_key_add.go
gpg_key_commit_verification.go models/asymkey: Implement Tag verification 2024-04-01 13:42:11 +00:00
gpg_key_common.go Fix missing 0 prefix of GPG key id (#30245) 2024-04-08 11:46:40 +02:00
gpg_key_import.go
gpg_key_list.go
gpg_key_object_verification.go Fix missing 0 prefix of GPG key id (#30245) 2024-04-08 11:46:40 +02:00
gpg_key_tag_verification.go models/asymkey: Implement Tag verification 2024-04-01 13:42:11 +00:00
gpg_key_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
gpg_key_verify.go Fix GPG subkey verify (#30193) (#30203) 2024-04-08 11:31:31 +02:00
main_test.go
ssh_key.go Fix panic of ssh public key page after deletion of auth source (#31829) (#31836) 2024-08-18 07:11:32 +02:00
ssh_key_authorized_keys.go
ssh_key_authorized_principals.go
ssh_key_deploy.go
ssh_key_fingerprint.go Clean up log messages (#30313) 2024-04-15 16:11:14 +02:00
ssh_key_object_verification.go models/asymkey: Implement Tag verification 2024-04-01 13:42:11 +00:00
ssh_key_object_verification_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
ssh_key_parse.go
ssh_key_principals.go
ssh_key_test.go Fix panic of ssh public key page after deletion of auth source (#31829) (#31836) 2024-08-18 07:11:32 +02:00
ssh_key_verify.go