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
`https://your-domain.com/your-site/protected-page/#!password`for only password.
485
+
486
+
> Then another condition applies: If non-aphanumeric characters are used in user/password,
487
+
> they need to be URLencoded (f.ex. %20 = space character). Some browsers may do that automatically (Do a copy/paste from the browsers address bar then).
488
+
465
489
title: Modify pages
466
490
467
491
## Modify generated pages
@@ -864,6 +888,22 @@ plugins:
864
888
selfhost_dir: 'theme_overrides'
865
889
```
866
890
891
+
#### KDF key generation caching
892
+
893
+
Either way (webcrypto or crypto-js) the [KDF](https://en.wikipedia.org/wiki/Key_derivation_function)
894
+
key generation needs to be done for each credential.
895
+
This may take some additional time when building the site, especially when there are many different ones.
896
+
That's why these keys and salt are cached by default to a yaml file named "encryptcontent.cache".
897
+
898
+
```yaml
899
+
plugins:
900
+
- encryptcontent:
901
+
cache_file: 'encryptcontent.cache' # change file name if needed
902
+
```
903
+
904
+
Caching can be disabled by setting `cache_file: ''`.
905
+
906
+
867
907
### File name obfuscation
868
908
869
909
Imagine your pages contain many images and you labeled them "1.jpg", "2.jpg" and so on for some reason.
`https://your-domain.com/your-site/protected-page/#!password`for only password.
145
+
146
+
> Then another condition applies: If non-aphanumeric characters are used in user/password,
147
+
> they need to be URLencoded (f.ex. %20 = space character). Some browsers may do that automatically (Do a copy/paste from the browsers address bar then).
0 commit comments