This commit is contained in:
parent
42df8b2909
commit
71904bf08f
|
@ -27,7 +27,9 @@ Secret loading order:
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
- [ ] Mlock secrets to prevent leakage to swap file.
|
- [ ] Avoid leakage to swap files.
|
||||||
|
* Possibly Mlock? [Does not seem to work](https://stackoverflow.com/questions/29524020/prevent-ram-from-paging-to-swap-area-mlock)
|
||||||
|
* Alternatively use [mmap](https://docs.python.org/3/library/mmap.html) and [memoryview](https://stackoverflow.com/questions/18655648/what-exactly-is-the-point-of-memoryview-in-python)?§
|
||||||
- [ ] Wrap secrets in intelligent strings:
|
- [ ] Wrap secrets in intelligent strings:
|
||||||
* Instead of returning None on unloaded, return UnknownSecret, that produce
|
* Instead of returning None on unloaded, return UnknownSecret, that produce
|
||||||
error when formatted.
|
error when formatted.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user