You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
367 B
20 lines
367 B
9 years ago
|
#!/usr/bin/python
|
||
|
|
||
|
import sys, re, shutil, os, hashlib
|
||
|
import imp
|
||
|
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("..")
|
||
|
|
||
|
|
||
|
|