1
0
Files
electrum/contrib/sign_packages
2021-03-21 00:36:23 -04:00

15 lines
329 B
Python
Executable File

#!/usr/bin/env python3
import os
import getpass
if __name__ == '__main__':
os.chdir("dist")
password = getpass.getpass("Password:")
for f in os.listdir('.'):
if f.endswith('asc'):
continue
os.system("gpg --sign --armor --detach --passphrase \"%s\" %s"%(password, f))
os.chdir("..")