chiark / gitweb /
overwrite password files if they exist
authorHans-Christoph Steiner <hans@eds.org>
Wed, 16 Apr 2014 03:48:48 +0000 (23:48 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 23 Apr 2014 02:59:27 +0000 (22:59 -0400)
commita7d1d9a54d53a66a16a2724569126a1c91a2375d
tree71c8391c7d366e393d7ae1909319251b960afe08
parent0cbe9690c91703c95d91a6cc82e6e0509767f7d9
overwrite password files if they exist

The .fdroid.*.txt password files are only meant to be a conduit for the
passwords, so blow them away everytime.  The canonical password is stored
in config.py.

It might makes sense to replace these files with env vars using
-storepass:env and -keypass:env.  I figured that the passwords are already
in a file, config.py, so adding more files in the same location with the
same perms would not increase the risk at all.
fdroidserver/common.py