12 releases
0.3.1 | Jan 18, 2024 |
---|---|
0.3.0 | Jan 18, 2024 |
0.2.2 | Aug 21, 2023 |
0.2.1 | May 21, 2023 |
0.1.6 | Apr 18, 2023 |
#527 in Cryptography
44 downloads per month
61KB
1.5K
SLoC
file store service
Click to [File Store Client]
make config
fss create
root="./store"
[service]
# the local IP address and port that the service listens on.
addr = "0.0.0.0:7556"
# used to verify whether the service_name in the client configuration is correct
service_name = "file-store-service"
# used to verify whether the verify_key in the client configuration is correct.
verify_key = ""
# the timeout period for the server to request the client
request_out_time = 5000
# the existence time of the client peer session. If it exceeds this time, the client peer will be cleared
session_save_time = 5000
## used to configure TLS communication encryption (optional).
## if not provided, TLS will not be used for communication encryption
[tls]
## ca file path (optional)
## if not provided, the client’s certificate will not be verified.
ca = "./tls/ca.crt"
## cert file path
cert = "./tls/server-crt.pem"
## key file path
key = "./tls/server-key.pem"
exec
fss exec
service install
fss service install
service start
fss service start
service stop
fss service stop
service uninstall
fss service uninstall
Dependencies
~18–31MB
~580K SLoC