Skip to content

Commit

Permalink
Complete README.md and gen_data_secure_key.sh (#30)
Browse files Browse the repository at this point in the history
* Combine GM version and non-GM version into one binary program

* Remove BUILD_GM related in cmake

* 1. README.md added the instructions for using the guomi version 2. gen_data_secure_key.sh modified the key-manager address to a two-tuple format
  • Loading branch information
chuwen95 authored May 27, 2022
1 parent 7bbc19d commit a10aaac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ make
#The execution: "key-manager" generated.
```

Note:Use ``` -DBUILD_GM=On ``` to build guomi Key Manager if needed.

### Start

``` shell
./key-manager 8150 123xyz # key-manager <port> <superkeyString>
./key-manager 8150 123xyz -g # key-manager <port> <superkeyString> <guomi version>
```

### Check
Expand Down
3 changes: 1 addition & 2 deletions scripts/gen_data_secure_key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ echo "CiherDataKey generated: $cypherDataKey"
LOG_INFO "Append these into config.ini to enable disk encryption:"
echo "[storage_security]
enable=true
key_manager_ip=$1
key_manager_port=$2
key_center_url=$1:$2
cipher_data_key=$cypherDataKey"

0 comments on commit a10aaac

Please sign in to comment.