mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-02-23 11:55:48 -05:00
- 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> |
||
---|---|---|
.. | ||
error.go | ||
gpg_key.go | ||
gpg_key_add.go | ||
gpg_key_commit_verification.go | ||
gpg_key_common.go | ||
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 | ||
ssh_key_authorized_keys.go | ||
ssh_key_authorized_principals.go | ||
ssh_key_deploy.go | ||
ssh_key_fingerprint.go | ||
ssh_key_object_verification.go | ||
ssh_key_object_verification_test.go | ||
ssh_key_parse.go | ||
ssh_key_principals.go | ||
ssh_key_test.go | ||
ssh_key_verify.go |