0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 15:14:13 +01:00
gitea/templates/repo
Wim 6fe756dc93
Add support for ssh commit signing (#17743)
* Add support for ssh commit signing

* Split out ssh verification to separate file

* Show ssh key fingerprint on commit page

* Update sshsig lib

* Make sure we verify against correct namespace

* Add ssh public key verification via ssh signatures

When adding a public ssh key also validate that this user actually
owns the key by signing a token with the private key.

* Remove some gpg references and make verify key optional

* Fix spaces indentation

* Update options/locale/locale_en-US.ini

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* Update templates/user/settings/keys_ssh.tmpl

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* Update options/locale/locale_en-US.ini

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* Update options/locale/locale_en-US.ini

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* Update models/ssh_key_commit_verification.go

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* Reword ssh/gpg_key_success message

* Change Badsignature to NoKeyFound

* Add sign/verify tests

* Fix upstream api changes to user_model User

* Match exact on SSH signature

* Fix code review remarks

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-12-19 00:37:18 -05:00
..
branch Switch archive URL code back to href attributes (#17796) 2021-11-29 21:50:43 +08:00
diff
editor
graph Fix overflow in commit graph (#17947) 2021-12-11 16:12:18 +02:00
issue Add option to define refs in issue templates (#17842) 2021-12-17 21:29:09 +00:00
migrate Use disable_form_autofill on Codebase and Gitbucket (#17936) 2021-12-08 22:33:14 +00:00
projects
pulls
release Switch archive URL code back to href attributes (#17796) 2021-11-29 21:50:43 +08:00
settings Add Reindex buttons to repository settings page (#17494) 2021-12-16 23:55:12 +08:00
wiki Add hints for special Wiki pages (#17283) 2021-12-03 15:28:54 +08:00
activity.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
commit_page.tmpl Add support for ssh commit signing (#17743) 2021-12-19 00:37:18 -05:00
commit_status.tmpl
commit_statuses.tmpl
commits_list_small.tmpl Improve ellipsis buttons (#17773) 2021-11-22 21:44:38 -05:00
commits_list.tmpl Improve ellipsis buttons (#17773) 2021-11-22 21:44:38 -05:00
commits_table.tmpl
commits.tmpl
create.tmpl
empty.tmpl More pleasantly handle broken or missing git repositories (#17747) 2021-11-22 22:32:16 +00:00
forks.tmpl
graph.tmpl
header.tmpl Improve behavior of "Fork" button (#17288) 2021-12-13 09:59:09 +08:00
home.tmpl Switch archive URL code back to href attributes (#17796) 2021-11-29 21:50:43 +08:00
icon.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl Removed SizeFmt. (#17890) 2021-12-03 11:33:34 +08:00
upload.tmpl
user_cards.tmpl
view_file.tmpl Remove whitespace inside rendered code <td> (#17859) 2021-11-30 00:01:56 +02:00
view_list.tmpl Render issue references in file table (#17897) 2021-12-04 00:15:53 +08:00
watchers.tmpl