[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Gettor should include signatures



commit 3d75cb6fe8eb4c04a3944a73806af7b4f4c976bc
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Fri Sep 6 14:03:17 2019 +0200

    Gettor should include signatures
---
 gettor/services/email/sendmail.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gettor/services/email/sendmail.py b/gettor/services/email/sendmail.py
index 15cb728..7951e9d 100644
--- a/gettor/services/email/sendmail.py
+++ b/gettor/services/email/sendmail.py
@@ -183,11 +183,14 @@ class Sendmail(object):
                         arch = link[3]
                         url = link[0]
                         file = link[6]
+                        sig_url = url + ".asc"
 
-                        link_str = "Tor Browser {} for {}-{}-{} ({}): {}".format(
+                        link_str = "Tor Browser {} for {}-{}-{} ({}): {}\n".format(
                             version, platform, locale, arch, provider, url
                         )
 
+                        link_str += "Signature file: {}\n".format(sig_url)
+
                         if link_msg:
                             link_msg = "{}\n{}".format(link_msg, link_str)
                         else:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits