forgejo/models/asymkey
Gusted d3a125aad0 fix: native parsing of ssh certificate key (#6953)
- In the case of parsing an public SSH certificate key, use the underlying key type instead of the certificate type. This means `ed25519-cert-v01` would be seen as `ed25519` type and thus correctly parsed. Certificates do not
change the keysize or otherwise parsing of the key.
- Add unit test.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6953
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-02-15 15:42:57 +00:00
..
error.go chore: Remove ChangeMilestoneStatus (#6741) 2025-01-30 11:09:53 +00:00
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 Fix linting issues 2024-08-18 16:25:13 +02:00
gpg_key_import.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
gpg_key_list.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
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 (#4535) 2024-07-30 19:41:10 +00:00
gpg_key_verify.go Fix GPG subkey verify (#30193) 2024-04-07 15:40:31 +02:00
main_test.go [GITEA] Add noreply email address as verified for SSH signed Git commits 2024-02-05 16:09:40 +01:00
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 Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
ssh_key_authorized_principals.go Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
ssh_key_deploy.go chore: Remove ChangeMilestoneStatus (#6741) 2025-01-30 11:09:53 +00:00
ssh_key_fingerprint.go Clean up log messages (#30313) 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 (#4535) 2024-07-30 19:41:10 +00:00
ssh_key_parse.go fix: native parsing of ssh certificate key (#6953) 2025-02-15 15:42:57 +00:00
ssh_key_principals.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
ssh_key_test.go fix: native parsing of ssh certificate key (#6953) 2025-02-15 15:42:57 +00:00
ssh_key_verify.go Retry SSH key verification with additional CRLF if it failed (#28392) 2023-12-14 02:39:32 +00:00