1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-04 19:12:53 +00:00
forgejo/models/asymkey
Lunny Xiao d5500422c9
Fix panic of ssh public key page after deletion of auth source ()
Fix 

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 models/asymkey: Implement Tag verification 2024-03-30 16:22:05 +01:00
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 models/asymkey: Implement Tag verification 2024-03-30 16:22:05 +01:00
gpg_key_test.go Add testifylint to lint checks () 2024-07-30 19:41:10 +00:00
gpg_key_verify.go Fix GPG subkey verify () 2024-04-07 15:40:31 +02:00
main_test.go
ssh_key.go Fix panic of ssh public key page after deletion of auth source () 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 () 2024-04-15 20:01:35 +02:00
ssh_key_object_verification.go models/asymkey: Implement Tag verification 2024-03-30 16:22:05 +01:00
ssh_key_object_verification_test.go Add testifylint to lint checks () 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 () 2024-08-18 06:28:26 +02:00
ssh_key_verify.go