forgejo/models/asymkey
Lunny Xiao d5500422c9
Fix panic of ssh public key page after deletion of auth source (#31829)
Fix #31730

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

(cherry picked from commit b491b2104f83ee8fc4956c099c427b339291b3be)
2024-08-18 06:28:26 +02:00
..
error.go
gpg_key.go [CHORE] Use github.com/ProtonMail/go-crypto 2024-07-15 17:27:37 +02:00
gpg_key_add.go [CHORE] Use github.com/ProtonMail/go-crypto 2024-07-15 17:27:37 +02:00
gpg_key_commit_verification.go
gpg_key_common.go [CHORE] Use github.com/ProtonMail/go-crypto 2024-07-15 17:27:37 +02:00
gpg_key_import.go
gpg_key_list.go
gpg_key_object_verification.go [CHORE] Use github.com/ProtonMail/go-crypto 2024-07-15 17:27:37 +02:00
gpg_key_tag_verification.go
gpg_key_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
gpg_key_verify.go
main_test.go
ssh_key.go Fix panic of ssh public key page after deletion of auth source (#31829) 2024-08-18 06:28:26 +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 20:01:35 +02:00
ssh_key_object_verification.go
ssh_key_object_verification_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +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) 2024-08-18 06:28:26 +02:00
ssh_key_verify.go