Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
4 years ago
Chris Lu
60f5c0a2f5
fix security alert on github.com/dgrijalva/jwt-go
resolve https://github.com/chrislusf/seaweedfs/security/dependabot/go.mod/github.com%2Fdgrijalva%2Fjwt-go/open
4 years ago
Konstantin Lebedev
348e21a08c
add comments
5 years ago
Konstantin Lebedev
831953c55c
allowed wildcard domain
5 years ago
Konstantin Lebedev
0e02f7e258
comma-separated SSL certificate common names
5 years ago
Konstantin Lebedev
190fada1ef
TLS allowed commonNames
5 years ago
Konstantin Lebedev
c6d3735605
permitCommonNames
https://github.com/chrislusf/seaweedfs/issues/1841
https://jbrandhorst.com/post/grpc-auth/
5 years ago
Chris Lu
cfb9342a15
avoid concurrent map updates to viper
5 years ago
limd
e8296104fc
fix tls grpc ca path
5 years ago
Chris Lu
c2faab23b6
refactor
5 years ago
Chris Lu
d013d09a9b
adjust logging
5 years ago
bingoohuang
ecdeef8c66
simplify func(w http.ResponseWriter, r *http.Request) to http.HandlerFunc
5 years ago
Chris Lu
e83bfd0a35
adjust log level
6 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
6 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
6 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
6 years ago
Chris Lu
50aa769554
jwt for read access control
6 years ago
Chris Lu
3f9ecee40f
working with reading remote intervals
6 years ago
Chris Lu
25941e0500
master: add jwt expires_after_seconds
7 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
7 years ago
Chris Lu
74fb237727
benchmark can work in secure mode
7 years ago
Chris Lu
215cd27b37
add authorizing fileId write access
need to secure upload/update/delete for benchmark/filer/mount
need to add secure grpc
7 years ago
Chris Lu
4ff4a147b2
cleanup security.Secret
7 years ago
Sergey
aa5ccff6d2
fixing of typos
7 years ago
Mike Tolman
ce99bb927d
Revert "Adding HTTP verb whitelisting options."
This reverts commit 34837afc7a
.
9 years ago
Mike Tolman
34837afc7a
Adding HTTP verb whitelisting options.
9 years ago
Chris Lu
d0dbf6d2ea
adjust logging
9 years ago
Chris Lu
356b8048c5
fix compilation problem due to API changes
9 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
10 years ago