Merge pull request #545 from vladimir-v-diaz/copyright_license_per_file

Add copyright and license identifiers to source files
This commit is contained in:
Vladimir Diaz 2017-11-30 13:55:04 -05:00 committed by GitHub
commit ca7bb6d99a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 230 additions and 66 deletions

View file

@ -1,4 +1,7 @@
#! /usr/bin/env python
#!/usr/bin/env python
# Copyright 2013 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
@ -11,7 +14,7 @@
March 2013.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
BUILD SOURCE DISTRIBUTION

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2013 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
aggregate_tests.py
@ -16,7 +19,7 @@
unit tests. -Zane Fisher
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Run all the unit tests from every .py file beginning with "test_" in

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
generate.py
@ -11,7 +14,7 @@
February 26, 2014.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Provide a set of pre-generated key files and a basic repository that unit

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
generate_project_data.py
@ -7,8 +10,11 @@
<Author>
Santiago Torres <torresariass@gmail.com>
<Started>
January 22, 2014.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Generate a pre-fabricated set of metadata files for 'test_developer_tool.py'

View file

@ -1,9 +1,12 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program>
simple_https_server.py
<Author>
Vladimir Diaz.
@ -11,17 +14,17 @@
June 17, 2014
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Provide a simple https server that can be used by the unit tests. For
example, 'download.py' can connect to the https server started by this module
to verify that https downloads are permitted.
<Reference>
ssl.wrap_socket:
https://docs.python.org/2/library/ssl.html#functions-constants-and-exceptions
SimpleHTTPServer:
http://docs.python.org/library/simplehttpserver.html#module-SimpleHTTPServer
"""
@ -50,7 +53,7 @@ def _generate_random_port():
PORT = int(sys.argv[1])
if PORT < 30000 or PORT > 45000:
raise ValueError
except ValueError:
PORT = _generate_random_port()

View file

@ -1,21 +1,24 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program>
simple_server.py
<Author>
Konstantin Andrianov.
<Started>
February 15, 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt or LICENSE-APACHE.txt for licensing information.
<Purpose>
This is a basic server that was designed to be used in conjunction with
test_download.py to test download.py module.
This is a basic server that was designed to be used in conjunction with
test_download.py to test download.py module.
<Reference>
SimpleHTTPServer:
@ -45,7 +48,7 @@ def _port_gen():
PORT = int(sys.argv[1])
if PORT < 30000 or PORT > 45000:
raise ValueError
except ValueError:
PORT = _port_gen()

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
slow_retrieval_server.py
@ -11,7 +14,7 @@
March 13, 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Server that throttles data by sending one byte at a time (specified time
@ -54,19 +57,19 @@ def do_GET(self):
data = None
with open(filepath, 'r') as fileobj:
data = fileobj.read()
self.send_response(200)
self.send_header('Content-length', str(len(data)))
self.end_headers()
if self.server.test_mode == 'mode_1':
# Before sending any data, the server does nothing for a long time.
DELAY = 40
DELAY = 40
time.sleep(DELAY)
self.wfile.write(data)
return
# 'mode_2'
else:
DELAY = 1
@ -78,7 +81,7 @@ def do_GET(self):
for i in range(len(data)):
self.wfile.write(data[i].encode('utf-8'))
time.sleep(DELAY)
return
except IOError as e:

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_arbitrary_package_attack.py
@ -16,7 +19,7 @@
discontinue use of the old repository tools. -vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Simulate an arbitrary package attack, where an updater client attempts to

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_developer_tool.py.
@ -8,8 +11,11 @@
Santiago Torres Arias <torresariass@gmail.com>
Zane Fisher <zanefisher@gmail.com>
<Started>
January 22, 2014.
<Copyright>
See LICENSE for licensing inforation.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing inforation.
<Purpose>
Unit test for the 'developer_tool.py' module.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program>
test_download.py
@ -11,7 +14,7 @@
March 26, 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'download.py'.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_endless_data_attack.py
@ -17,7 +20,7 @@
-vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Simulate an endless data attack, where an updater client tries to download a

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_exceptions.py
@ -11,7 +14,7 @@
July 13, 2017.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Test cases for exceptions.py (mainly the exceptions defined there).

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2013 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_extraneous_dependencies_attack.py
@ -15,10 +18,11 @@
than verifying text output), use pre-generated repository files, and
discontinue use of the old repository tools. Modify the previous scenario
simulated for the mix-and-match attack. The metadata that specified the
dependencies of a project modified (previously a text file.) -vladimir.v.diaz
dependencies of a project modified (previously a text file.)
-vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Simulate an extraneous dependencies attack. The client attempts to download

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_formats.py
@ -11,7 +14,7 @@
October 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'formats.py'

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_indefinite_freeze_attack.py
@ -25,7 +28,7 @@
-sebastien.awwad
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Simulate an indefinite freeze attack. In an indefinite freeze attack,

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2015 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_init.py
@ -11,7 +14,7 @@
March 30, 2015.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Test cases for __init__.py (mainly the exceptions defined there).

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2016 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_key_revocation_integration.py
@ -11,7 +14,7 @@
April 28, 2016.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Integration test that verifies top-level roles are updated after all of their

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_keydb.py
@ -11,7 +14,7 @@
October 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'keydb.py'.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_log.py
@ -11,7 +14,7 @@
May 1, 2014.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'log.py'.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program>
test_mirrors.py
@ -11,7 +14,7 @@
March 26, 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'mirrors.py'.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_mix_and_match_attack.py
@ -17,7 +20,7 @@
simulated for the mix-and-match attack. -vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Simulate a mix-and-match attack. In a mix-and-match attack, an attacker is

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_multiple_repositories_integration.py
@ -11,7 +14,7 @@
February 2, 2017
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Verify that clients are able to keep track of multiple repositories and

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_replay_attack.py
@ -17,10 +20,10 @@
-vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Simulate a replay, or rollback, attack. In a replay attack, a client is
Simulate a replay, or rollback, attack. In a replay attack, a client is
tricked into installing software that is older than that which the client
previously knew to be available.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_repository_lib.py
@ -11,7 +14,7 @@
June 1, 2014.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'repository_lib.py'.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_repository_tool.py
@ -11,7 +14,7 @@
April 7, 2014.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'repository_tool.py'.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_roledb.py
@ -11,7 +14,7 @@
October 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Unit test for 'roledb.py'.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2016 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_root_versioning_integration.py
@ -11,7 +14,7 @@
July 21, 2016.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Test root versioning for efficient root key rotation.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_sig.py
@ -12,7 +15,7 @@
February 28, 2012. Based on a previous version of this module.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Test cases for for sig.py.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_slow_retrieval_attack.py
@ -17,7 +20,7 @@
previous setup. -vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Simulate a slow retrieval attack, where an attacker is able to prevent clients

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_unittest_toolbox.py
@ -11,7 +14,7 @@
July 14, 2017.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Test cases for unittest_toolbox.py.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_updater.py
@ -15,7 +18,7 @@
exact repositories, and add realistic retrieval of files. -vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
'test_updater.py' provides a collection of methods that test the public /

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2016 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
test_updater_root_rotation_integration.py
@ -11,7 +14,7 @@
August 8, 2016.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
'test_updater_root_rotation.py' provides a collection of methods that test

View file

@ -1,2 +0,0 @@
import os
os.environ['SIMPLE_SETTINGS'] = "tuf.settings"

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
updater.py
@ -10,7 +15,7 @@
July 2012. Based on a previous version of this module. (VLAD)
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
'updater.py' is intended to be the only TUF module that software update

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
developer_tool.py
@ -14,7 +17,7 @@
January 22, 2014.
<Copyright>
See LICENSE for licensing information.
See LICENCE-MIT.txt OR LICENCE-APACHE.txt for licensing information.
<Purpose>
See 'tuf/README-developer-tools.md' for a complete guide on using

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
download.py
@ -10,7 +15,7 @@
Vladimir Diaz <vladimir.v.diaz@gmail.com>
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Download metadata and target files and check their validity. The hash and

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
exceptions.py
@ -9,7 +14,7 @@
January 10, 2017
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Define TUF Exceptions.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
formats.py
@ -12,7 +15,7 @@
Refactored April 30, 2012. -vladimir.v.diaz
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
A central location for all format-related checking of TUF objects.

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
keydb.py
@ -9,7 +14,7 @@
March 21, 2012. Based on a previous version of this module by Geremy Condra.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Represent a collection of keys and their organization. This module ensures

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
log.py
@ -9,7 +14,7 @@
April 4, 2012. Based on a previous version of this module by Geremy Condra.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
A central location for all logging-related configuration. This module should

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
mirrors.py
@ -10,7 +15,7 @@
March 12, 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Extract a list of mirror urls corresponding to the file type and the location

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2014 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
repository_lib.py
@ -11,7 +14,7 @@
June 1, 2014.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Provide a library for the repository tool that can create a TUF repository.

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2013 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
repository_tool.py
@ -11,7 +14,7 @@
October 19, 2013
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Provide a tool that can create a TUF repository. It can be used with the

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
roledb.py
@ -9,7 +14,7 @@
March 21, 2012. Based on a previous version of this module by Geremy Condra.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Represent a collection of roles and their organization. The caller may

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
basic_client.py
@ -11,7 +14,7 @@
September 2012
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Provide a basic TUF client that can update all of the metatada and target

View file

@ -1,5 +1,8 @@
#!/usr/bin/env python
# Copyright 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
settings.py
@ -11,7 +14,7 @@
January 11, 2017
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
A central location for TUF configuration settings. Example options include

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program Name>
sig.py
@ -9,7 +14,7 @@
February 28, 2012. Based on a previous version by Geremy Condra.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Survivable key compromise is one feature of a secure update system

View file

@ -1,3 +1,8 @@
#!/usr/bin/env python
# Copyright 2012 - 2017, New York University and the TUF contributors
# SPDX-License-Identifier: MIT OR Apache-2.0
"""
<Program>
unittest_toolbox.py
@ -9,7 +14,7 @@
March 26, 2012.
<Copyright>
See LICENSE for licensing information.
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
<Purpose>
Provides an array of various methods for unit testing. Use it instead of