forgejo/models/asymkey
Giteabot b47482d58e
Retry SSH key verification with additional CRLF if it failed (#28392) (#28464)
Backport #28392 by @nekrondev

Windows-based shells will add a CRLF when piping the token into
ssh-keygen command resulting in
verification error. This resolves #21527.

Co-authored-by: nekrondev <heiko@noordsee.de>
Co-authored-by: Heiko Besemann <heiko.besemann@qbeyond.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-12-14 12:50:26 +08:00
..
error.go
gpg_key.go Fix comment permissions (#28213) (#28216) 2023-11-25 23:43:23 +00:00
gpg_key_add.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
gpg_key_commit_verification.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
gpg_key_common.go
gpg_key_import.go
gpg_key_test.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
gpg_key_verify.go
main_test.go
ssh_key.go
ssh_key_authorized_keys.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
ssh_key_authorized_principals.go
ssh_key_commit_verification.go
ssh_key_deploy.go
ssh_key_fingerprint.go Respect SSH.KeygenPath option when calculating ssh key fingerprints (#27536) (#27551) 2023-10-10 07:37:58 +00:00
ssh_key_parse.go
ssh_key_principals.go
ssh_key_test.go
ssh_key_verify.go Retry SSH key verification with additional CRLF if it failed (#28392) (#28464) 2023-12-14 12:50:26 +08:00