From 30f00c211483afebb2ee1d970b010ed2b021d5e5 Mon Sep 17 00:00:00 2001 From: yakamok <38737288+yakamok@users.noreply.github.com> Date: Mon, 24 Sep 2018 15:16:47 +0200 Subject: [PATCH] Update upload-file.py --- upload-file.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/upload-file.py b/upload-file.py index 6ed0b6e..5f15d95 100644 --- a/upload-file.py +++ b/upload-file.py @@ -49,8 +49,6 @@ with open(file_to_upload, 'rb') as infile: i = 0 for x in chunk_list: new_uid = str(i) + "@" + base64.b64encode(x) - #below you need to use --batch so you only have to type the password in once, - #could not get --passphrase to work for some reason p = subprocess.Popen("gpg2 --batch --pinentry-mode=loopback --passphrase " + passphrase\ + " --quick-add-uid " + email + " " + new_uid, shell=True, stdout=subprocess.PIPE) out, err = p.communicate()