You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Store encrypted data alongside your existing data:
13
13
- Encrypted data is stored using a `jsonb` column type
14
14
- Query encrypted data with specialized SQL functions
15
15
- Index encrypted columns to enable searchable encryption
16
-
- Integrate with [CipherStash Proxy](/docs/tutorials/PROXY.md) for transparent encryption/decryption
16
+
- Integrate with [CipherStash Proxy](/docs/tutorials/PROXY.md) for transparent encryption/decryption.
17
17
18
18
## Table of Contents
19
19
@@ -65,6 +65,8 @@ The simplest way to get up and running with EQL is to execute the install SQL fi
65
65
EQL relies on [CipherStash Proxy](docs/tutorials/PROXY.md) for low-latency encryption & decryption.
66
66
We plan to support direct language integration in the future.
67
67
68
+
If you want to use CipherStash Proxy with the below examples or the [helper packages](#helper-packages-and-examples), you can use the [playground environment](playground/README.md).
69
+
68
70
## Documentation
69
71
70
72
You can read more about the EQL concepts and reference guides in the [documentation directory](docs/README.md).
Copy file name to clipboardExpand all lines: examples/go/xorm/README.md
+24-72Lines changed: 24 additions & 72 deletions
Original file line number
Diff line number
Diff line change
@@ -10,63 +10,15 @@
10
10
11
11
## Running / Development
12
12
13
-
Create an [account](https://cipherstash.com/signup).
14
-
15
-
Install the CLI:
16
-
17
-
```shell
18
-
brew install cipherstash/tap/stash
19
-
```
20
-
21
-
Login:
22
-
23
-
```shell
24
-
stash login
25
-
```
26
-
27
-
Create a [dataset](https://cipherstash.com/docs/how-to/creating-datasets) and [client](https://cipherstash.com/docs/how-to/creating-clients), and record them as `CS_CLIENT_ID` and `CS_CLIENT_KEY`.
# grab the client access key and export CS_CLIENT_ACCESS_KEY=
45
-
```
46
-
47
-
Copy over the example `.envrc` file:
48
-
49
-
```shell
50
-
cp .envrc.example .envrc
51
-
```
52
-
53
-
Update the `.envrc` file with these environment variables `CS_WORKSPACE_ID`, `CS_CLIENT_ACCESS_KEY`, `CS_CLIENT_ID`, `CS_CLIENT_KEY` and `CS_DATASET_ID`:
54
-
55
-
```shell
56
-
source .envrc
57
-
```
58
-
59
-
Start Postgres and CipherStash Proxy and install EQL:
60
-
61
-
```shell
62
-
./run.sh setup
63
-
```
64
-
65
-
Run tests:
66
-
67
-
```shell
68
-
./run.sh tests
69
-
```
13
+
1. Set up the [playground environment](../../playground/README.md).
14
+
2. Run the setup script:
15
+
```shell
16
+
./run.sh setup
17
+
```
18
+
3. Run tests:
19
+
```shell
20
+
./run.sh tests
21
+
```
70
22
71
23
## Integrating EQL into a Xorm app
72
24
@@ -115,8 +67,8 @@ Example for a text field:
115
67
```go
116
68
func (et EncryptedTextField) ToDB() ([]byte, error) {
117
69
etCs := goeql.EncryptedText(et)
118
-
// e.g table name is "examples" and field is "encrypted_text_field"
0 commit comments