删除秘钥

This commit is contained in:
pointer-to-bios 2024-02-29 12:58:16 +08:00
parent 8efd10d765
commit 30299a1cbf
3 changed files with 8 additions and 29 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
/target /target
/southbay.sqlite3 /southbay.sqlite3
/src/id_rsa

View File

@ -2,6 +2,12 @@
南湾用户登录服务。 南湾用户登录服务。
## 编译
在运行服务端的服务器上生成密钥对,并把私钥命名为`id_rsa`放在`src/`中后编译。
运行`cargo build --release`编译。
## 登录流程 ## 登录流程
用户只能每3秒发送一次登录请求。每3秒发送超过30次登录请求视为攻击行为禁止请求的ip`3600`秒。 用户只能每3秒发送一次登录请求。每3秒发送超过30次登录请求视为攻击行为禁止请求的ip`3600`秒。

View File

@ -1,28 +0,0 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC0zG3gOS43O72S
bL/l3RWtP3eHlxAbn0fT13tfzrFXa3IyWSg4b1rtrEUqgO8ZLaYDpqeYuszLqcW9
6r45l5CGqY3Iuf7RSmlmM3SI3R5x6QefsR0KWj7pdTJZ6uZzJb49e9PcQffQWQuk
tFH0Y6YpSOfH7frBTj/ipv51NkniRgh6pTUeBv9vFsvmm4HIhPhtle7L+wlTdRuQ
X+MVPH1kYqRBb7PioQONNEuefKRG4MnPtIb9mqtJ92EanzELnal9ypG8ZtajFFpx
uE18wIT+/n4CTR0q4dQyrbphVfEW4fwvtcJeQoKLG5m8QjrDqcQPv3chvZyaHfmz
S63A4eQjAgMBAAECggEAEQGxzDJUwJP5WblVC7WSK8EZPe3dxrC4PEW8Bd/BcBcG
n5R3Y2ebcVk6YFcke9p+upUwlVNCSbNnNbLLwKBwfdpGdf0uP62fiyIynLUqqfhg
49/werV7ztCxXc0/btFmuw3XeJPT+wsv5zGhtpAGZJfGWwNttO/ms9aVf50Nsh+l
LKfBe87gOcfEz4706lXtVHpyBtsRg+pZSIA4tF6TH3PgUHWUAj7dsC9+jd7MG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