feat: v0.3.5, add subcommand yubikey-init-master-key

This commit is contained in:
2024-09-03 23:19:17 +08:00
parent d6c49a15ea
commit b188a2bc1e
5 changed files with 94 additions and 24 deletions

View File

@@ -2,8 +2,21 @@
Mini-KMS runs local written by Rust
## Generate Yubikey encrypted master key
Generate encrypted master key with Yubikey:
```shell
local-mini-kms yubikey-init-master-key --generate-key [--yubikey-challenge *challenge*]
```
## Startup Server
Startup without init:
```shell
local-mini-kms serve
```
Init with Yubikey:
```shell
local-mini-kms serve [--init-encrypted-master-key LKMS:*** [--yubikey-challenge *challenge*]]
```