gitea/models/asymkey
wxiaoguang 83f83019ef
Clean up log messages ()
`log.Xxx("%v")` is not ideal, this PR adds necessary context messages.
Remove some unnecessary logs.

Co-authored-by: Giteabot <teabot@gitea.io>
..
error.go Improve error report when user passes a private key ()
gpg_key.go Move more functions to db.Find ()
gpg_key_add.go Another round of `db.DefaultContext` refactor ()
gpg_key_commit_verification.go Fix missing 0 prefix of GPG key id ()
gpg_key_common.go Fix missing 0 prefix of GPG key id ()
gpg_key_import.go Final round of `db.DefaultContext` refactor ()
gpg_key_list.go Move more functions to db.Find ()
gpg_key_test.go Fix missing 0 prefix of GPG key id ()
gpg_key_verify.go Fix GPG subkey verify ()
main_test.go make writing main test easier ()
ssh_key.go Move more functions to db.Find ()
ssh_key_authorized_keys.go Fix some pending problems ()
ssh_key_commit_verification.go Use db.Find instead of writing methods for every object ()
ssh_key_deploy.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods ()
ssh_key_fingerprint.go Clean up log messages ()
ssh_key_parse.go Prefer native parser for SSH public key parsing ()
ssh_key_principals.go Move some asymkey functions to service layer ()
ssh_key_test.go Replace assert.Fail with assert.FailNow ()
ssh_key_verify.go Retry SSH key verification with additional CRLF if it failed ()