[Python-ideas] secrets module -- secret.keeper?

Steven D'Aprano steve at pearwood.info
Thu Oct 1 19:12:38 CEST 2015


On Wed, Sep 30, 2015 at 01:55:49PM -0400, Jim J. Jewett wrote:

> Will the secrets module offer any building blocks to actually protect a secret?
> 
> e.g.,
> 
> an easy way to encrypt a file with a given password?
> an encrypted datastore?

I don't know. I think probably not -- they sound a bit too high level, 
at least for a first version. But if people want to propose functions to 
do so, they can be considered.


> a getpass that works even in IDLE?

I would expect that if getpass doesn't work in IDLE, that's a bug (in 
IDLE or getpass, I'm not sure :-)


-- 
Steve


More information about the Python-ideas mailing list