0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-13 07:02:01 -05:00
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
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 (#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
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 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
ssh_key_test.go fix: native parsing of ssh certificate key (#6953) 2025-02-15 15:42:57 +00:00
ssh_key_verify.go