0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:44:40 +01:00
gitea/modules
Gusted aa23f477b7
Use CryptoRandomBytes instead of CryptoRandomString (#18439)
- Switch to use `CryptoRandomBytes` instead of `CryptoRandomString`, OAuth's secrets are copied pasted and don't need to avoid dubious characters etc.
- `CryptoRandomBytes` gives ![2^256 = 1.15 * 10^77](https://render.githubusercontent.com/render/math?math=2^256%20=%201.15%20\cdot%2010^77) `CryptoRandomString` gives ![62^44 = 7.33 * 10^78](https://render.githubusercontent.com/render/math?math=62^44%20=%207.33%20\cdot%2010^78) possible states.
- Add a prefix, such that code scanners can easily grep these in source code.
- 32 Bytes + prefix
2022-02-04 18:03:15 +01:00
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset
context Change some logging levels (#18421) 2022-01-29 20:52:37 +00:00
convert API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
csv
doctor
emoji
eventsource
generate Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
git Remove go 1.15 support (#18511) 2022-02-01 10:46:45 +08:00
gitgraph Collaborator trust model should trust collaborators (#18539) 2022-02-02 11:10:06 +01:00
graceful
hcaptcha hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
highlight
hostmatcher Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
httpcache format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
httplib
indexer Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
json
lfs
log
markup Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 2022-01-31 01:48:47 +02:00
metrics
migration add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
nosql format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notification Pause queues (#15928) 2022-01-22 21:22:14 +00:00
options
password
pprof
private Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
process
proxy
public
queue add gitea-fmt back (#18526) 2022-02-01 12:43:09 -05:00
recaptcha refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
references
repository Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
secret Use CryptoRandomBytes instead of CryptoRandomString (#18439) 2022-02-04 18:03:15 +01:00
session
setting Warn at startup if the provided SCRIPT_TYPE is not on the PATH (#18467) 2022-01-30 16:33:36 +00:00
ssh
storage
structs API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
svg
sync
templates
test
timeutil format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
translation
typesniffer
updatechecker format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
upload
uri
user
util Fix non-ASCII search on database (#18437) 2022-02-01 20:59:25 +08:00
validation
web