mirror of
1
Fork 0
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
gpg_key_add.go
gpg_key_commit_verification.go
gpg_key_common.go Fix linting issues 2024-08-18 16:25:13 +02:00
gpg_key_import.go
gpg_key_list.go
gpg_key_object_verification.go
gpg_key_tag_verification.go
gpg_key_test.go
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 chore: Remove `ChangeMilestoneStatus` (#6741) 2025-01-30 11:09:53 +00:00
ssh_key_fingerprint.go
ssh_key_object_verification.go
ssh_key_object_verification_test.go
ssh_key_parse.go fix: native parsing of ssh certificate key (#6953) 2025-02-15 15:42:57 +00:00
ssh_key_principals.go
ssh_key_test.go fix: native parsing of ssh certificate key (#6953) 2025-02-15 15:42:57 +00:00
ssh_key_verify.go