|
5 | 5 | - Authentication errors: |
6 | 6 | - [Database](#authentication-failed-database) |
7 | 7 | - [Client](#authentication-failed-client) |
| 8 | + - [ZeroKMS](#zerokms-authentication-failed) |
8 | 9 |
|
9 | 10 | - Mapping errors: |
10 | 11 | - [Invalid parameter](#mapping-invalid-parameter) |
|
15 | 16 |
|
16 | 17 | - Encrypt errors: |
17 | 18 | - [Column could not be encrypted](#encrypt-column-could-not-be-encrypted) |
18 | | - - [Column could not be encrypted](#encrypt-column-could-not-be-encrypted) |
19 | | - - [Could not decrypt data for keyset](#encrypt-encrypt-could-not-decrypt-data-for-keyset) |
| 19 | + - [Could not decrypt data for keyset](#encrypt-could-not-decrypt-data-for-keyset) |
20 | 20 | - [KeysetId could not be parsed](#encrypt-keyset-id-could-not-be-parsed) |
21 | 21 | - [KeysetId could not be set](#encrypt-keyset-id-could-not-be-set) |
22 | 22 | - [KeysetName could not be set](#encrypt-keyset-name-could-not-be-set) |
|
26 | 26 | - [Unknown table](#encrypt-unknown-table) |
27 | 27 | - [Unknown index term](#encrypt-unknown-index-term) |
28 | 28 | - [Column configuration mismatch](#encrypt-column-config-mismatch) |
| 29 | + - [Missing encrypt configuration](#encrypt-missing-encrypt-configuration) |
| 30 | + - [Unexpected SET keyset](#encrypt-unexpected-set-keyset) |
29 | 31 |
|
30 | 32 | - Decrypt errors: |
31 | 33 | - [Column could not be deserialised](#encrypt-column-could-not-be-deserialised) |
@@ -91,7 +93,7 @@ Client authentication failed. Check username and password. |
91 | 93 | <!-- ---------------------------------------------------------------------------------------------------- --> |
92 | 94 |
|
93 | 95 |
|
94 | | -## ZeroKMS <a id='authentication-failed-zerokms'></a> |
| 96 | +## ZeroKMS <a id='zerokms-authentication-failed'></a> |
95 | 97 |
|
96 | 98 | Authentication failed when connecting to ZeroKMS. |
97 | 99 |
|
@@ -184,7 +186,7 @@ The parameter type is not supported. |
184 | 186 | ### Error message |
185 | 187 |
|
186 | 188 | ``` |
187 | | -Encryption of PostgreSQL {name} (OID {oid}) types is not currently supported. |
| 189 | +Encryption of EQL column {column_type} using strategy {eql_term} is not supported. |
188 | 190 | ``` |
189 | 191 |
|
190 | 192 | ### How to fix |
@@ -577,6 +579,41 @@ If the error persists, please contact CipherStash [support](https://cipherstash. |
577 | 579 | <!-- ---------------------------------------------------------------------------------------------------- --> |
578 | 580 |
|
579 | 581 |
|
| 582 | +## Missing encrypt configuration <a id='encrypt-missing-encrypt-configuration'></a> |
| 583 | + |
| 584 | +The encrypted column type does not have a matching encrypt configuration. |
| 585 | + |
| 586 | + |
| 587 | +### Error message |
| 588 | + |
| 589 | +``` |
| 590 | +Missing encrypt configuration for column type `{plaintext_type}`. |
| 591 | +``` |
| 592 | + |
| 593 | +### How to fix |
| 594 | + |
| 595 | +1. Define the encrypted configuration for the column type using [EQL](https://github.com/cipherstash/encrypt-query-language). |
| 596 | +2. If this error persists, please contact CipherStash [support](https://cipherstash.com/support) as this may indicate a bug. |
| 597 | + |
| 598 | + |
| 599 | +<!-- ---------------------------------------------------------------------------------------------------- --> |
| 600 | + |
| 601 | + |
| 602 | +## Unexpected SET keyset <a id='encrypt-unexpected-set-keyset'></a> |
| 603 | + |
| 604 | +A `SET CIPHERSTASH.KEYSET` statement was used when a default keyset has already been configured. |
| 605 | + |
| 606 | + |
| 607 | +### Error message |
| 608 | + |
| 609 | +``` |
| 610 | +Cannot SET CIPHERSTASH.KEYSET if a default keyset has been configured. |
| 611 | +``` |
| 612 | + |
| 613 | +### How to fix |
| 614 | + |
| 615 | +1. Remove the `SET CIPHERSTASH.KEYSET` statement from your application code. |
| 616 | +2. Or remove the `default_keyset_id` from the proxy configuration to allow dynamic keyset selection. |
580 | 617 |
|
581 | 618 |
|
582 | 619 | <!-- ---------------------------------------------------------------------------------------------------- --> |
|
0 commit comments