From 17924213fd31e5a0d6da64d1cc1ff69cba68de7a Mon Sep 17 00:00:00 2001 From: PandaSPUR Date: Wed, 27 Nov 2013 15:30:41 -0500 Subject: [PATCH 1/3] Update SlowRetrievalError Updating on behalf of "Red Team" of App. Sec. Undescriptive error found while testing gemsontuf. --- tuf/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuf/__init__.py b/tuf/__init__.py index 70324314..f99b43aa 100755 --- a/tuf/__init__.py +++ b/tuf/__init__.py @@ -238,7 +238,7 @@ def __init__(self, average_download_speed): self.__average_download_speed = average_download_speed #bytes/second def __str__(self): - return "Average download speed: "+str(self.__average_download_speed)+\ + return "Download speed below acceptable minimum. Avg. speed: "+str(self.__average_download_speed)+\ " bytes/second" From ed4fe4453022e1033289441a85ec2140e25fda60 Mon Sep 17 00:00:00 2001 From: dachshund Date: Thu, 28 Nov 2013 11:22:50 -0500 Subject: [PATCH 2/3] Fix #150. --- tuf/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuf/__init__.py b/tuf/__init__.py index f99b43aa..7fa5e4af 100755 --- a/tuf/__init__.py +++ b/tuf/__init__.py @@ -238,8 +238,8 @@ def __init__(self, average_download_speed): self.__average_download_speed = average_download_speed #bytes/second def __str__(self): - return "Download speed below acceptable minimum. Avg. speed: "+str(self.__average_download_speed)+\ - " bytes/second" + return "Download was too slow. Average speed: "+\ + str(self.__average_download_speed)+" bytes/second" From 9f0f80fab47385a04fc294177131ef2f0c69132c Mon Sep 17 00:00:00 2001 From: Nektarios Tsoutsos Date: Tue, 3 Dec 2013 16:46:24 -0500 Subject: [PATCH 3/3] Modified the maximum timestamp.txt size (#bug 159) --- tuf/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuf/conf.py b/tuf/conf.py index 249ab870..542bc81b 100755 --- a/tuf/conf.py +++ b/tuf/conf.py @@ -39,7 +39,7 @@ # Since the timestamp role does not have signed metadata about itself, we set a # default but sane upper bound for the number of bytes required to download it. -DEFAULT_TIMESTAMP_REQUIRED_LENGTH = 2048 #bytes +DEFAULT_TIMESTAMP_REQUIRED_LENGTH = 16384 #bytes # Set a timeout value in seconds (float) for non-blocking socket operations. SOCKET_TIMEOUT = 1 #seconds