URI: 
       tadd password to script - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit af045b47c0dd9b66f75205076b20aeb5b2a23f8b
   DIR parent e290ea66c3a78172ba73157214c7583a982bae94
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Mon, 16 Dec 2013 22:19:23 +0100
       
       add password to script
       
       Diffstat:
         M make_packages                       |      13 +++++++++----
       
       1 file changed, 9 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/make_packages b/make_packages
       t@@ -38,11 +38,16 @@ if __name__ == '__main__':
            e4a_name = "e4a-%s.zip"%version
            e4a_name2 = e4a_name.replace(".","")
            os.system( "mv %s %s"%(e4a_name, e4a_name2) )
       -    os.chdir("..")
        
       -    md5_tgz = hashlib.md5(file('dist/'+_tgz, 'r').read()).digest().encode('hex')
       -    md5_zip = hashlib.md5(file('dist/'+_zip, 'r').read()).digest().encode('hex')
       -    md5_android = hashlib.md5(file('dist/'+e4a_name2, 'r').read()).digest().encode('hex')
       +    import getpass
       +    password = getpass.getpass("Password:")
       +    for f in os.listdir("."):
       +        os.system( "gpg --sign --armor --detach --passphrase \"%s\" %s"%(password, f) )
       +
       +    md5_tgz = hashlib.md5(file(_tgz, 'r').read()).digest().encode('hex')
       +    md5_zip = hashlib.md5(file(_zip, 'r').read()).digest().encode('hex')
       +    md5_android = hashlib.md5(file(e4a_name2, 'r').read()).digest().encode('hex')
       +    os.chdir("..")
        
            print ""
            print "Packages are ready:"