This repository was archived by the owner on Nov 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ import { EnvVariableConfig } from '@components/EnvVariableConfig'
71
71
- ** ` 加密密钥 ` ** :如果你不知道这是什么,那么不建议开启此功能,具体内容可参考 https://mx-space.js.org/usage/security.html
72
72
73
73
<Callout type = " warning" >
74
- 若开启加密,则需注意密钥长度** 必须为 64 位 ** ,不然会在初始化时报错。注意这是** 不可逆** 的,务必保存自己的秘钥。所以并不是非常推荐使用,除非你真的需要加密
74
+ 若开启加密,则需注意密钥长度** 必须为 64 位且只有小写字母和数字 ** ,不然会在初始化时报错。注意这是** 不可逆** 的,务必保存自己的秘钥。所以并不是非常推荐使用,除非你真的需要加密
75
75
API Key.
76
76
77
77
密钥可以通过 ` openssl rand -hex 32 ` 命令生成。请务必牢记。
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ import { Callout } from 'nextra/components'
18
18
node index.js --encrypt_enable
19
19
```
20
20
21
- 可以通过附加 ` --encrypt_key <key> ` 来指定加密密钥,长度必须为 64 位。请牢记此密钥。或者通过环境变量 ` MX_ENCRYPT_KEY ` 也可以指定密钥。
21
+ 可以通过附加 ` --encrypt_key <key> ` 来指定加密密钥,长度必须为 64 位,且只有小写字母和数字 。请牢记此密钥。或者通过环境变量 ` MX_ENCRYPT_KEY ` 也可以指定密钥。
22
22
23
23
<Callout type = " warning" >
24
- 若开启加密,则需注意密钥长度** 必须为 64 位 ** ,不然会在初始化时报错。注意这是** 不可逆** 的,务必保存自己的秘钥。
24
+ 若开启加密,则需注意密钥长度** 必须为 64 位且只有小写字母和数字 ** ,不然会在初始化时报错。注意这是** 不可逆** 的,务必保存自己的秘钥。
25
25
API Key.
26
26
27
27
</Callout >
You can’t perform that action at this time.
0 commit comments