...
1# Magpie: Edge Data Decryption
2
3To run locally you need a jwt secret
4
5```shell
6go run main.go
7curl --location 'http://localhost:8080/v1/decrypt' \
8--header 'Authorization: Bearer {your token}' \
9--data-binary '@./tlog.bin'
10```
11
12# Generate Swagger File
13
14From the root of the repo
15
16```shell
17brew tap go-swagger/go-swagger
18brew install go-swagger
19swagger generate spec -w pkg/edge/datasync/magpie -o docs/edge/components/datasync/encryption/decryption.json -m
20```
View as plain text