修复使用命令修改加密key失败的问题 (#141)

* 修改首页卡片间距

* 修改普通用户分享资产时只能查看到普通用户 close #133

* 修复普通用户访问非自己创建的资产无法打开原生ssh的bug

* release v0.4.1

* 修复使用命令修改加密key失败的问题
This commit is contained in:
dushixiang
2021-05-17 20:33:44 +08:00
committed by GitHub
parent 8622e77d5a
commit 969abe2202
6 changed files with 3 additions and 11 deletions

View File

@ -48,18 +48,8 @@ test/test
[截图](docs/screenshot.md) [截图](docs/screenshot.md)
## 捐赠
如果您觉得 next-terminal 对你有帮助,欢迎给予我们一定的捐助来维持项目的长期发展。
![截图](screenshot/donate_wx.png)
![截图](screenshot/donate_zfb.png)
## 联系方式 ## 联系方式
- 邮箱 helloworld1024@foxmail.com
- QQ群 938145268 - QQ群 938145268
- Telegram - Telegram

View File

@ -124,7 +124,7 @@ Mar 5 20:00:16.923 [DEBU] 用户「admin」已重置TOTP
执行命令 执行命令
```shell ```shell
./next-terminal --encryption-key 旧的加密key new-encryption-key 新的的加密key ./next-terminal --encryption-key 旧的加密key --new-encryption-key 新的的加密key
``` ```
成功之后会输出 成功之后会输出

View File

@ -64,6 +64,8 @@ func SetupConfig() *Config {
pflag.String("server.cert", "", "tls cert file") pflag.String("server.cert", "", "tls cert file")
pflag.String("server.key", "", "tls key file") pflag.String("server.key", "", "tls key file")
pflag.String("reset-password", "", "") pflag.String("reset-password", "", "")
pflag.String("encryption-key", "", "")
pflag.String("new-encryption-key", "", "")
pflag.Parse() pflag.Parse()
_ = viper.BindPFlags(pflag.CommandLine) _ = viper.BindPFlags(pflag.CommandLine)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB