6fe756dc93
* 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> |
||
---|---|---|
.. | ||
asm_aix_ppc64.s | ||
byteorder.go | ||
cpu.go | ||
cpu_aix.go | ||
cpu_arm.go | ||
cpu_arm64.go | ||
cpu_arm64.s | ||
cpu_gc_arm64.go | ||
cpu_gc_s390x.go | ||
cpu_gc_x86.go | ||
cpu_gccgo_arm64.go | ||
cpu_gccgo_s390x.go | ||
cpu_gccgo_x86.c | ||
cpu_gccgo_x86.go | ||
cpu_linux.go | ||
cpu_linux_arm.go | ||
cpu_linux_arm64.go | ||
cpu_linux_mips64x.go | ||
cpu_linux_noinit.go | ||
cpu_linux_ppc64x.go | ||
cpu_linux_s390x.go | ||
cpu_mips64x.go | ||
cpu_mipsx.go | ||
cpu_netbsd_arm64.go | ||
cpu_other_arm.go | ||
cpu_other_arm64.go | ||
cpu_other_mips64x.go | ||
cpu_ppc64x.go | ||
cpu_riscv64.go | ||
cpu_s390x.go | ||
cpu_s390x.s | ||
cpu_wasm.go | ||
cpu_x86.go | ||
cpu_x86.s | ||
cpu_zos.go | ||
cpu_zos_s390x.go | ||
hwcap_linux.go | ||
syscall_aix_gccgo.go | ||
syscall_aix_ppc64_gc.go |