Skip to content

Commit 9e8efd2

Browse files
committed
update Readme
1 parent 44bd5c6 commit 9e8efd2

File tree

4 files changed

+37
-33
lines changed

4 files changed

+37
-33
lines changed

README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,23 @@ The content is encrypted with AES-256 in Python using PyCryptodome and decrypted
2424
>
2525
> Additionally password levels can be defined in mkdocs.yml or external yaml file with user/password credentials.
2626
27-
## Todos for 3.0.x
28-
29-
* ~~Rework password handling or inventory of some sort~~
30-
* ~~Rework crypto (PBKDF2 + AES256)~~
31-
* ~~Save the generated random keys instead of passwords to session storage (remember_keys)~~
32-
* ~~Sign generated generated and javascript files used in encrypted pages to make it more tamper proof~~
33-
* ~~Add urlencode for latin1 encoding in passwords, as it pycryptodome's implementation of PBKDF2 requires it~~
34-
* ~~find an equivalent way to define multiple passwords in the password inventory as global password~~
35-
* ~~make it possible to define passwords in external yaml file(s)~~
36-
* ~~decrypt all possible keys by one login (replace path fallback)~~
37-
* ~~optional replace crypto-js by webcrypto functions~~
38-
* ~~localStorage option is rather useless now (being unsafe to start with). Fix it nevertheless by saving credentials instead of keys~~
39-
* Update/Restructure documentation
40-
* Quick share links
41-
* ~~Implement keystore cache to speed up build time~~
27+
## New features (compared to version 2.5.x)
28+
29+
* Stronger cryptography (PBKDF2 for key derivation)
30+
* Faster cryptography (Webcrypto as alternative to crypto-js)
31+
* Allow password inventory or levels in mkdocs.yml or external file for credential handling
32+
* Allow user name + password as credentials
33+
* If credential is reused in different levels it also decrypts all of their content
34+
* Optional adding of credentials to URLs for sharing
35+
* Optional tamper check by signing generated files with Ed25519
36+
* New [Documentation](https://unverbuggt.github.io/mkdocs-encryptcontent-plugin/) and [Test bench](https://unverbuggt.github.io/mkdocs-encryptcontent-plugin/testbench/)
37+
38+
## Upgrading from version 2.5.x
39+
40+
The `use_secret` functionality was discontinued in the plugin configuration and as a meta tag.
41+
42+
In order to use environment variables in user names or passwords, use the
43+
[special yaml tag](https://www.mkdocs.org/user-guide/configuration/#special-yaml-tags) `!ENV`.
4244

4345
## Todos for 3.1.x
4446
* optional server side keystore (allows throtteling)
@@ -92,7 +94,7 @@ Install the package from source with pip:
9294
```bash
9395
cd mkdocs-encryptcontent-plugin/
9496
python setup.py sdist bdist_wheel
95-
pip install --force-reinstall --no-deps dist/mkdocs_encryptcontent_plugin-3.0.0.dev4-py3-none-any.whl
97+
pip install --force-reinstall --no-deps dist/mkdocs_encryptcontent_plugin-3.0.0.dev5-py3-none-any.whl
9698
```
9799

98100
Enable the plugin in your `mkdocs.yml`:

documentation/docs/index.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,23 @@ The content is encrypted with AES-256 in Python using PyCryptodome and decrypted
2020
>
2121
> Additionally password levels can be defined in mkdocs.yml or external yaml file with user/password credentials.
2222
23-
## Todos for 3.0.x
24-
25-
* ~~Rework password handling or inventory of some sort~~
26-
* ~~Rework crypto (PBKDF2 + AES256)~~
27-
* ~~Save the generated random keys instead of passwords to session storage (remember_keys)~~
28-
* ~~Sign generated generated and javascript files used in encrypted pages to make it more tamper proof~~
29-
* ~~Add urlencode for latin1 encoding in passwords, as it pycryptodome's implementation of PBKDF2 requires it~~
30-
* ~~find an equivalent way to define multiple passwords in the password inventory as global password~~
31-
* ~~make it possible to define passwords in external yaml file(s)~~
32-
* ~~decrypt all possible keys by one login (replace path fallback)~~
33-
* ~~optional replace crypto-js by webcrypto functions~~
34-
* ~~localStorage option is rather useless now (being unsafe to start with). Fix it nevertheless by saving credentials instead of keys~~
35-
* Update/Restructure documentation
36-
* Quick share links
37-
* ~~Implement keystore cache to speed up build time~~
23+
## New features (compared to version 2.5.x)
24+
25+
* Stronger cryptography (PBKDF2 for key derivation)
26+
* Faster cryptography (Webcrypto as alternative to crypto-js)
27+
* Allow password inventory or levels in mkdocs.yml or external file for credential handling
28+
* Allow user name + password as credentials
29+
* If credential is reused in different levels it also decrypts all of their content
30+
* Optional adding of credentials to URLs for sharing
31+
* Optional tamper check by signing generated files with Ed25519
32+
* New [Documentation](https://unverbuggt.github.io/mkdocs-encryptcontent-plugin/) and [Test bench](https://unverbuggt.github.io/mkdocs-encryptcontent-plugin/testbench/)
33+
34+
## Upgrading from version 2.5.x
35+
36+
The `use_secret` functionality was discontinued in the plugin configuration and as a meta tag.
37+
38+
In order to use environment variables in user names or passwords, use the
39+
[special yaml tag](https://www.mkdocs.org/user-guide/configuration/#special-yaml-tags) `!ENV`.
3840

3941
## Todos for 3.1.x
4042
* optional server side keystore (allows throtteling)

documentation/docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Install the package from source with pip:
1313
```bash
1414
cd mkdocs-encryptcontent-plugin/
1515
python setup.py sdist bdist_wheel
16-
pip install --force-reinstall --no-deps dist/mkdocs_encryptcontent_plugin-3.0.0.dev4-py3-none-any.whl
16+
pip install --force-reinstall --no-deps dist/mkdocs_encryptcontent_plugin-3.0.0.dev5-py3-none-any.whl
1717
```
1818

1919
Enable the plugin in your `mkdocs.yml`:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def read(fname):
1111

1212
setup(
1313
name='mkdocs-encryptcontent-plugin',
14-
version='3.0.0.dev4',
14+
version='3.0.0.dev5',
1515
author='unverbuggt',
1616
author_email='[email protected]',
1717
description='A MkDocs plugin that encrypt/decrypt markdown content with AES',

0 commit comments

Comments
 (0)