Skip to content

Commit

Permalink
Crypto: Encrypt and Decrypt (#491)
Browse files Browse the repository at this point in the history
* Implement high-level crypto APIs: encrypt/decrypt

Signed-off-by: ItalyPaleAle <[email protected]>

* WIP

Signed-off-by: ItalyPaleAle <[email protected]>

* 💄

Signed-off-by: ItalyPaleAle <[email protected]>

* Updated methods to allow both duplex streams and buffers

Signed-off-by: ItalyPaleAle <[email protected]>

* Various fixes

Signed-off-by: ItalyPaleAle <[email protected]>

* Fixes

Signed-off-by: ItalyPaleAle <[email protected]>

* Fixed typescript test

Signed-off-by: ItalyPaleAle <[email protected]>

* Added E2E tests

Signed-off-by: ItalyPaleAle <[email protected]>

* Update src/interfaces/Client/IClientCrypto.ts

Co-authored-by: Shubham Sharma <[email protected]>
Signed-off-by: Xavier Geerinck <[email protected]>

* Updated per review feedback

Signed-off-by: ItalyPaleAle <[email protected]>

---------

Signed-off-by: ItalyPaleAle <[email protected]>
Signed-off-by: Xavier Geerinck <[email protected]>
Co-authored-by: Xavier Geerinck <[email protected]>
Co-authored-by: Shubham Sharma <[email protected]>
  • Loading branch information
3 people authored Jun 8, 2023
1 parent 1114591 commit af71496
Show file tree
Hide file tree
Showing 19 changed files with 5,363 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
test-e2e:
runs-on: ubuntu-latest
env:
GOVER: 1.19
GOVER: 1.20
DAPR_CLI_VER: 1.10.0
DAPR_RUNTIME_VER: 1.11.0-rc.5
DAPR_RUNTIME_VER: 1.11.0-rc.7
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
DAPR_CLI_REF: ""
DAPR_REF: ""
Expand Down
1 change: 1 addition & 0 deletions examples/grpc/crypto/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.out
11 changes: 11 additions & 0 deletions examples/grpc/crypto/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Examples - Crypto

## Running

```bash
# Install
npm install

# Run the example
npm run start:dapr
```
Loading

0 comments on commit af71496

Please sign in to comment.