[ethereum/go-ethereum] cmd/swarm, swarm: added access control functionality (#17404)

This PR introduces access control functionality in Swarm.
Users can now choose to control access to content using password or elliptic curve keys.

Co-authored-by: Janos Guljas
Co-authored-by: Anton Evangelatov
Co-authored-by: Balint Gabor
You can view, comment on, or merge this pull request online at:

https://github.com/ethereum/go-ethereum/pull/17404

— Commit Summary —

* cmd/swarm, swarm: added access control functionality

— File Changes —

A cmd/swarm/access.go (219)
A cmd/swarm/access_test.go (581)
M cmd/swarm/config.go (1)
M cmd/swarm/download.go (40)
M cmd/swarm/list.go (2)
M cmd/swarm/main.go (95)
M cmd/swarm/run_test.go (25)
A swarm/api/act.go (468)
M swarm/api/api.go (129)
M swarm/api/api_test.go (68)
M swarm/api/client/client.go (48)
M swarm/api/client/client_test.go (4)
A swarm/api/encrypt.go (76)
M swarm/api/filesystem.go (4)
M swarm/api/filesystem_test.go (4)
M swarm/api/http/middleware.go (12)
M swarm/api/http/response.go (2)
M swarm/api/http/server.go (111)
M swarm/api/manifest.go (69)
M swarm/api/manifest_test.go (8)
M swarm/api/storage.go (6)
M swarm/api/uri.go (13)
M swarm/fuse/swarmfs_test.go (2)
M swarm/network_test.go (2)
M swarm/sctx/sctx.go (15)
M swarm/swarm.go (4)
M swarm/testutil/http.go (2)

— Patch Links —

https://github.com/ethereum/go-ethereum/pull/17404.patch
https://github.com/ethereum/go-ethereum/pull/17404.diff

Добавить комментарий