Could you please expand the "secrets" library (or your memory model) to allow for secret strings that must not be swapped to disk or auto-relocated in memory? An official method for erasing these objects would also help.
It should not be this difficult or fraught to input and use passcodes and keys in #Python.
TYVM #infosec #passwords