summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/crypto
Commit message (Collapse)AuthorAgeFilesLines
* Remove golang vendored directory (#18277)techknowlogick2022-01-14134-35220/+0
| | | | | | | * rm go vendor * fix drone yaml * add to gitignore
* Support webauthn (#17957)Lunny Xiao2022-01-1412-0/+2455
| | | | | | | Migrate from U2F to Webauthn Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Add support for ssh commit signing (#17743)Wim2021-12-1918-23/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update caddyserver/certmagic (#16789)zeripath2021-08-236-0/+36
| | | | | | | Fixes issue with windows users & letsencrypt Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Vendor Update (#16121)65432021-06-1026-2876/+1243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-git/go-billy/v5 * update github.com/go-git/go-git/v5 * update github.com/go-redis/redis/v8 * update github.com/go-testfixtures/testfixtures/v3 * update github.com/jaytaylor/html2text * update github.com/json-iterator/go * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mattn/go-isatty * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/prometheus/client_golang * update github.com/unrolled/render * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * update github.com/yuin/goldmark-highlighting Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [Vendor] update certmagic (#15590)65432021-04-222-21/+20
| | | | | * update github.com/caddyserver/certmagic v0.12.0 -> v0.13.0 * migrate
* go1.16 (#14783)techknowlogick2021-02-2824-79/+92
|
* Use caddy's certmagic library for extensible/robust ACME handling (#14177)techknowlogick2021-01-2511-4375/+789
| | | | | | | | | | * use certmagic for more extensible/robust ACME cert handling * accept TOS based on config option Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* dep: update crypto. info: ↵techknowlogick2020-12-2032-38/+151
| | | | | https://golangtutorial.dev/news/fix-in-crypto-package/ (#14067) Co-authored-by: zeripath <art27@cantab.net>
* [Vendor] update macaron related (#13409)65432020-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * Vendor: update gitea.com/macaron/session to a177a270 * make vendor * Vendor: update gitea.com/macaron/macaron to 0db5d458 * make vendor * Vendor: update gitea.com/macaron/cache to 905232fb * make vendor * Vendor: update gitea.com/macaron/i18n to 4ca3dd0c * make vendor * Vendor: update gitea.com/macaron/gzip to efa5e847 * make vendor * Vendor: update gitea.com/macaron/captcha to e8597820 * make vendor
* Vendor Update Go Libs (#13166)65432020-10-161-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update github.com/alecthomas/chroma v0.8.0 -> v0.8.1 * github.com/blevesearch/bleve v1.0.10 -> v1.0.12 * editorconfig-core-go v2.1.1 -> v2.3.7 * github.com/gliderlabs/ssh v0.2.2 -> v0.3.1 * migrate editorconfig.ParseBytes to Parse * github.com/shurcooL/vfsgen to 0d455de96546 * github.com/go-git/go-git/v5 v5.1.0 -> v5.2.0 * github.com/google/uuid v1.1.1 -> v1.1.2 * github.com/huandu/xstrings v1.3.0 -> v1.3.2 * github.com/klauspost/compress v1.10.11 -> v1.11.1 * github.com/markbates/goth v1.61.2 -> v1.65.0 * github.com/mattn/go-sqlite3 v1.14.0 -> v1.14.4 * github.com/mholt/archiver v3.3.0 -> v3.3.2 * github.com/microcosm-cc/bluemonday 4f7140c49acb -> v1.0.4 * github.com/minio/minio-go v7.0.4 -> v7.0.5 * github.com/olivere/elastic v7.0.9 -> v7.0.20 * github.com/urfave/cli v1.20.0 -> v1.22.4 * github.com/prometheus/client_golang v1.1.0 -> v1.8.0 * github.com/xanzy/go-gitlab v0.37.0 -> v0.38.1 * mvdan.cc/xurls v2.1.0 -> v2.2.0 Co-authored-by: Lauris BH <lauris@nix.lv>
* update (#12481)65432020-08-131-10/+12
| | | Co-authored-by: zeripath <art27@cantab.net>
* Update to go-git v5.1.0 (#11936)zeripath2020-06-171-1/+22
| | | | | Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [Vendor] mssqldb: 2019-11-28 -> 2020-04-28 (#11364)65432020-05-1017-1329/+599
| | | | | update go-mssqldb 2019-11-28 (1d7a30a10f73) -> 2020-04-28 (06a60b6afbbc)
* Migrate to go-git/go-git v5.0.0 (#10735)Lauris BH2020-03-172-18/+63
|
* update: macaron cores,gzip,session (#10522)65432020-02-2818-26/+63
| | | | Co-authored-by: zeripath <art27@cantab.net>
* update crypto vendors (#10385)techknowlogick2020-02-208-482/+259
|
* Fix the intermittent TestGPGGit failures (#9360)zeripath2019-12-154-52/+294
| | | | | | * Fix the intermittent TestGPGGit failures Reattempt to open the listener if the port is busy with a delay up to a second Switch from generating a private key each time, just use a known good key
* update golang.org/x/crypto vendor to use acme v2 (#9056)techknowlogick2019-11-2049-2939/+3424
|
* Update to github.com/lafriks/xormstore@v1.3.0 (#8317)Antoine GIRARD2019-10-027-98/+407
|
* Update swagger to 0.20.1 (#8010)Antoine GIRARD2019-08-281-1/+7
| | | | | | * update swagger to 0.20.1 * fiw swagger version for validate
* Update src-d/go-git to v4.13.0 (#7688)Antoine GIRARD2019-07-314-0/+55
| | | | | | | | * update gopkg.in/src-d/go-git.v4 v4.13.0 * mod tidy * vendor
* Add additional password hash algorithms (closes #5859) (#6023)EpicCoder2019-07-0716-0/+2815
|
* update go-git to v4.12.0 - fixes #7248 (#7249)techknowlogick2019-06-1918-26/+1861
|
* Handle CORS requests (#6289)Tamal Saha2019-05-1343-365/+1185
|
* Use Go1.11 module (#5743)Mura Li2019-03-2727-566/+2797
| | | | | | | | | | | | | | | | | | * Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
* Integrate OAuth2 Provider (#5378)Jonas Franz2019-03-085-0/+779
|
* Implement git refs API for listing references (branches, tags and other) (#5354)Lauris BH2018-11-2733-0/+9453
| | | | | | | | | | | | | | | | * Inital routes to git refs api * Git refs API implementation * Update swagger * Fix copyright * Make swagger happy add basic test * Fix test * Fix test again :)
* add letsencrypt to Gitea (#4189)Fluf2018-08-2129-278/+4444
|
* Migrate to dep (#3972)Antoine GIRARD2018-05-212-0/+6
| | | | | | | | | | | | * Update makefile to use dep * Migrate to dep * Fix some deps * Try to find a better version for golang.org/x/net * Try to find a better version for golang.org/x/oauth2
* Fix govendor for x/crupto curve25519 (#2925)Lauris BH2017-11-171-0/+834
|
* Update golang x/crypto dependencies (#2923)Lauris BH2017-11-1630-1290/+1305
|
* Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)Antoine GIRARD2017-06-1428-7361/+0
| | | | | | | | | | | | * Switch to keybase go-crypto (for some elliptic curve key) + test * Use assert.NoError and add a little more context to failing test description * Use assert.(No)Error everywhere 🌈 and assert.Error in place of .Nil/.NotNil
* Implement GPG api (#710)Antoine GIRARD2017-03-1628-0/+7361
| | | | | | | | | | * Implement GPG API * Better handle error * Apply review recommendation + simplify database operations * Remove useless comments
* Enables mssql support (#383)btrepp2016-12-242-0/+207
| | | | | | | | | | | | | | | | | | | * Enables mssql support Port of dlobs work in gogs. Enables options in index.js Enables MSSQL as a database option in go. Sets ID to 0 on initial migration. Required for MSSQL insert statements. Signed-off-by: Beau Trepp <beautrepp@gmail.com> * Vendors in denisenkom/go-mssqldb Includes golang.org/x/crypto/md4 as this is required by go-msssqldb Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Don't use custom PBKDF2 function (#382)Lunny Xiao2016-12-151-0/+77
|
* Added all required dependenciesThomas Boerger2016-11-0433-0/+14274