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
Updated the introduction with the proper extension name, updated the
intro to reflect this. Removed important note about not meant for
production and added the No upgrade warning from previous versions (like
RC2) to GA. Updates:
* removed the block announcement for RC2 at the top of the HTML page in
the intro
* Added the warning note before installation begins too.
* Updated site name to full name.
For database specific providers, the function first checks if the provider is used or not, and the provider is only deleted if it's not used.
252
250
253
251
For global providers, the function checks if the provider is used anywhere, WAL or any specific database, and returns an error if it is.
254
252
255
-
This somewhat goes against the principle that `pg_tde` should not interact with other databases than the one the user is connected to, but on the other hand, it only does this lookup in the internal `pg_tde` metadata, not in postgres catalogs, so it is a gray zone. Making this check makes more sense than potentially making some databases inaccessible.
256
-
257
253
### Listing/querying providers
258
254
259
255
`pg_tde` provides 2 functions to show providers:
@@ -263,17 +259,6 @@ This somewhat goes against the principle that `pg_tde` should not interact with
263
259
264
260
These functions return a list of provider names, type and configuration.
265
261
266
-
### Provider permissions
267
-
268
-
`pg_tde` implements access control based on execution rights on the administration functions.
269
-
270
-
For keys and providers administration, it provides two pair of functions:
271
-
272
-
```sql
273
-
pg_tde_GRANT_database_key_management_TO_role
274
-
pg_tde_REVOKE_database_key_management_FROM_role
275
-
```
276
-
277
262
### Creating and rotating keys
278
263
279
264
Principal keys can be created using the following functions:
@@ -325,12 +310,6 @@ The `pg_tde_delete_key()` function unsets the principal key for the current data
325
310
326
311
`pg_tde_verify_key()` checks that the key provider is accessible, that the current principal key can be downloaded from it, and that it is the same as the current key stored in memory - if any of these fail, it reports an appropriate error.
327
312
328
-
### Key permissions
329
-
330
-
Users with management permissions to a specific database `(pg_tde_(grant/revoke)_(global/databse)_key_management_(to/from)_role)` can change the keys for the database, and use the current key functions. This includes creating keys using global providers, if `pg_tde.inherit_global_providers` is enabled.
331
-
332
-
Also the `pg_tde_(grant/revoke)_database_key_management_to_role` function deals with only the specific permission for the above function: it allows a user to change the key for the database, but not to modify the provider configuration.
333
-
334
313
### Creating encrypted tables
335
314
336
315
To create an encrypted table or modify an existing table to be encrypted, use the following commands:
Copy file name to clipboardExpand all lines: contrib/pg_tde/documentation/docs/faq.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Using TDE helps you avoid the following risks:
27
27
28
28
If to translate sensitive data to files stored in your database, these are user data in tables, temporary files, WAL files. TDE has you covered encrypting all these files.
29
29
30
-
`pg_tde` does not encrypt system catalogs yet. This means that statistics data and database metadata are not encrypted. The encryption of system catalogs is planned for future releases.
30
+
`pg_tde` does not encrypt system catalogs yet. This means that statistics data and database metadata are not encrypted.
31
31
32
32
## Will logical replication work with pg_tde?
33
33
@@ -121,7 +121,9 @@ We advise encrypting the whole database only if all your data is sensitive, like
121
121
122
122
For WAL encryption, AES-CTR-128 is used.
123
123
124
-
The support of other encryption mechanisms such as AES256 is planned for future releases. Reach out to us with your requirements and usage scenarios of other encryption methods are needed.
124
+
## Is post-quantum encryption supported?
125
+
126
+
No, it's not yet supported. In our implementation we reply on OpenSSL libraries that don't yet support post-quantum encryption.
Copy file name to clipboardExpand all lines: contrib/pg_tde/documentation/docs/functions.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,6 @@
2
2
3
3
The `pg_tde` extension provides functions for managing different aspects of its operation:
4
4
5
-
## Permission management
6
-
7
-
By default, `pg_tde` is locked down. No one is allowed to do any operations until you grant them permissions. Only superusers may add or alter global key providers.
8
-
9
-
However, database owners can run the “view keys” and “set principal key” functions on their own databases. You can delegate these rights to other roles with the following commands:
10
-
11
-
*`GRANT EXECUTE ON FUNCTION`
12
-
*`REVOKE EXECUTE ON FUNCTION`
13
-
14
5
## Key provider management
15
6
16
7
A key provider is a system or service responsible for managing encryption keys. `pg_tde` supports the following key providers:
Copy file name to clipboardExpand all lines: contrib/pg_tde/documentation/docs/index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
-
# pg_tde Documentation
1
+
# Percona Transparent Data Encryption for PostgreSQL documentation
2
2
3
-
`pg_tde` is the open source, community driven and futureproof PostgreSQL extension that provides Transparent Data Encryption (TDE) to protect data at rest. `pg_tde` ensures that the data stored on disk is encrypted, and that no one can read it without the proper encryption keys, even if they gain access to the physical storage media.
3
+
Percona Transparent Data Encryption for PostgreSQL (`pg_tde`) is an open source, community driven and futureproof PostgreSQL extension that provides Transparent Data Encryption (TDE) to protect data at rest. `pg_tde` ensures that the data stored on disk is encrypted, and that no one can read it without the proper encryption keys, even if they gain access to the physical storage media.
4
4
5
-
!!! important
6
-
This is the {{release}} version of the extension and **it is not meant for production use yet**. We encourage you to use it in testing environments and [provide your feedback](https://forums.percona.com/c/postgresql/pg-tde-transparent-data-encryption-tde/82).
5
+
!!! warning "No upgrade path from RC to GA"
6
+
There is no safe upgrade path from the previous versions, such as Release Candidate 2, to the General Availability (GA) version of `pg_tde`.
7
+
We recommend starting with a **clean installation** for GA deployments. Avoid using RC environments in production.
0 commit comments