diff options
author | Meisam <39205857+MFTabriz@users.noreply.github.com> | 2022-12-17 07:22:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 01:22:34 -0500 |
commit | f3370eeaeefecdcc06940edd0377264a5c0c7212 (patch) | |
tree | 54369a301acb00acd7fb5dc77d466f563247e3eb /go.mod | |
parent | c4c4151f7d7a6aa18b354ae45c6ed93570d5de77 (diff) | |
download | gitea-f3370eeaeefecdcc06940edd0377264a5c0c7212.tar.gz gitea-f3370eeaeefecdcc06940edd0377264a5c0c7212.zip |
verify nodeinfo response by schema (#22137)
... using
[github.com/xeipuuv/gojsonschema](https://github.com/xeipuuv/gojsonschema)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -88,6 +88,7 @@ require ( github.com/unrolled/render v1.5.0 github.com/urfave/cli v1.22.10 github.com/xanzy/go-gitlab v0.73.1 + github.com/xeipuuv/gojsonschema v1.2.0 github.com/yohcop/openid-go v1.0.0 github.com/yuin/goldmark v1.5.2 github.com/yuin/goldmark-highlighting/v2 v2.0.0-20220924101305-151362477c87 @@ -266,6 +267,8 @@ require ( github.com/valyala/fastjson v1.6.3 // indirect github.com/x448/float16 v0.8.4 // indirect github.com/xanzy/ssh-agent v0.3.2 // indirect + github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect + github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect go.etcd.io/bbolt v1.3.6 // indirect |