forgejo/vendor/github.com
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
..
42wim/sshsig Add support for ssh commit signing (#17743) 2021-12-19 00:37:18 -05:00
acomagu/bufpipe Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
alecthomas/chroma Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
andybalholm Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
anmitsu/go-shlex
asaskevich/govalidator [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
aymerick/douceur
Azure/go-ntlmssp
beorn7/perks
bits-and-blooms/bitset Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
blevesearch Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
boombuler/barcode
bradfitz/gomemcache
caddyserver/certmagic Update caddyserver/certmagic (#16789) 2021-08-23 18:07:40 -04:00
cespare/xxhash/v2
chi-middleware/proxy
couchbase
cpuguy83/go-md2man/v2
danwakefield/fnmatch
davecgh/go-spew
denisenkom/go-mssqldb [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
dgryski/go-rendezvous
djherbis Use git log name-status in get last commit (#16059) 2021-06-21 01:00:46 +03:00
dlclark/regexp2
dsnet/compress
dustin/go-humanize
editorconfig/editorconfig-core-go/v2 [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
emirpasic/gods
ethantkoenig/rupture
felixge/httpsnoop
fsnotify/fsnotify
gliderlabs/ssh Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback (#16278) 2021-06-28 13:05:27 -04:00
go-asn1-ber/asn1-ber
go-chi Update chi/middleware to chi/v5/middleware (#17888) 2021-12-02 21:58:08 +01:00
go-enry Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
go-git Update Go-Git to take advantage of LargeObjectThreshold (#16316) 2021-06-30 22:58:45 +02:00
go-ldap/ldap/v3 [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-openapi [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-redis/redis/v8 Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
go-sql-driver/mysql [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-stack/stack
go-swagger/go-swagger [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-testfixtures/testfixtures/v3 Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
gobwas/glob
goccy/go-json Upgrade xorm to v1.2.2 (#16663) 2021-08-13 01:11:42 +02:00
gogs
golang Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
golang-jwt/jwt Upgrade to golang-jwt 3.2.2 (#16590) 2021-08-03 14:32:01 -04:00
golang-sql/civil
google Upgrade go-github to v39 (#17437) 2021-10-26 08:19:21 +01:00
gorilla Simplify Gothic to use our session store instead of creating a different store (#17507) 2021-11-03 08:33:54 +08:00
hashicorp Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
huandu/xstrings
imdario/mergo [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
jaytaylor/html2text
jbenet/go-context
jessevdk/go-flags [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
josharian/intern
json-iterator/go Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
kballard/go-shellquote
kevinburke/ssh_config [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
keybase/go-crypto
klauspost Update caddyserver/certmagic (#16789) 2021-08-23 18:07:40 -04:00
kr
lib/pq Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
libdns/libdns Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
lunny/dingtalk_webhook
magiconair/properties [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
mailru/easyjson
markbates Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
mattn Upgrade xorm to v1.2.2 (#16663) 2021-08-13 01:11:42 +02:00
matttproud/golang_protobuf_extensions
mholt
microcosm-cc/bluemonday Upgrade Bluemonday to v1.0.16 (#17372) 2021-10-20 16:58:39 -04:00
Microsoft/go-winio Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
miekg/dns Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
minio Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
mitchellh
modern-go
mrjones/oauth
mschoch/smat
msteinert/pam
nfnt/resize
niklasfasching/go-org [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
nwaples/rardecode
NYTimes/gziphandler
oklog/ulid [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
olekukonko/tablewriter
oliamb/cutter
olivere/elastic/v7 Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
pelletier/go-toml [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
pierrec/lz4/v4 Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
pkg/errors
pmezard/go-difflib
pquerna/otp
prometheus Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
ProtonMail/go-crypto Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04:00
PuerkitoBio Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
quasoft/websspi
rivo/uniseg
RoaringBitmap/roaring Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04:00
rs/xid Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
russross/blackfriday/v2
sergi/go-diff [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
shurcooL
sirupsen/logrus Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
spf13 [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
ssor/bom
steveyen/gtreap
stretchr/testify
subosito/gotenv
syndtr/goleveldb
toqueteos/webbrowser
tstranex/u2f
ulikunitz/xz
unknwon
unrolled/render Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
urfave/cli
xanzy Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
xi2/xz
yohcop/openid-go
yuin Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04:00