v0.4
This release adds experimental support for encryption of database notebooks using the cryptography
library.
- Adds new configurable
crypto
attributes to PostgresContentsManager
and PostgresCheckpoints.crypto
objects must provideencrypt
anddecrypt
methods, which will be called on data being written to
and read from the database, respectively. - The default
crypto
implementation isNoEncryption
, which returns
its inputs unchanged. - The built-in
crypto
implementation isFernetEncryption
, which
usescryptography.fernet
to implement symmetric-key encryption of
all notebooks and files in the database. - Adds re-encryption utilities to
pgcontents.utils.sync
.