electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

sign_packages (334B)


      1 #!/usr/bin/env python3
      2 import os
      3 import getpass
      4 
      5 if __name__ == '__main__':
      6 
      7     os.chdir("dist")
      8     password = getpass.getpass("Password:")
      9     for f in os.listdir('.'):
     10         if f.endswith('asc'):
     11             continue
     12         os.system( "gpg --sign --armor --detach --passphrase \"%s\" %s"%(password, f) )
     13 
     14     os.chdir("..")
     15 
     16 
     17