Commit graph

519 commits

Author SHA1 Message Date
Lukas Puehringer
44aea45fd3 Add basic pre-commit configuration for tuf/api/*
Add optional pre-commit configuration to install and run
auto-formatters when committing new code to tuf/api/*.
Auto-formatters include:
- trailing-whitespace
- end-of-file-fixer
- black
- isort

This commit also adds pre-commit to the dev dependencies
and updates the contributor instructions accordingly.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2021-03-12 18:41:24 +01:00
Lukas Puehringer
5a626ca4b4 Require black and isort in tuf/api/* via tox
Configure lint build in tox.ini to check if code in tuf/api/* is
formatted according to black and isort style rules:
https://black.readthedocs.io/en/stable/the_black_code_style.html
https://pycqa.github.io/isort/

In addition to our new style guide (#1128) and corresponding linter
configuration, requiring auto-formatting should help to further
reduce reviewing effort. The auto-formatter black was chosen for
the following reasons:
- It seems to be the most popular formatter in the Python ecosystem
- It is well documented including integration instructions with
  most of the tools we use (git, GitHub Actions, pylint, a range of
  editors, pyproject.toml #1161)
- It checks that the reformatted code produces a valid AST that is
  equivalent to the original
- It has almost no ways of customization, which means no
  customization effort required, and more (cross-project) style
  uniformity, lowering contribution barriers
- It converts single to double quotes, where reasonable, which is
  exactly what we recommend
- The style choices it makes seem generally reasonable and don't
 conflict with our style guide, except for favoring hanging over
 aligned indentation, which is the opposite of what we recommend.
 But we are willing to update the adapt our style guide.

Auto-format pre-commit configuration will be added in a subsequent
commit.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2021-03-12 18:41:13 +01:00
Joshua Lock
76c0a54e75 Prepare v0.17.0 release
Signed-off-by: Joshua Lock <jlock@vmware.com>
2021-02-25 10:49:12 +00:00
Martin Vrachev
9ad55bdd84 Docs: change the editable venv installation order
If you follow the instructions we provide for our contributors in
docs/CONTRIBUTORS.rst your sys.path (used to search for imports)
will put securesystemlib project directory first and tuf directory
second.
This creates a problem with imports from tuf modules because we can
import the wrong file or on relative imports (as currently we
use in the tests when we import utils), the imports cannot be resolved.

If we change the installation order, then tuf directory will be the
first in the import resolution path and those problems will be fixed.

PS: I want to express my gratitude towards Jussi who helped me find
this problem.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2021-02-02 15:10:42 +02:00
Jussi Kukkonen
9e34c5fd9b MAINTAINERS: Add myself
I'd like to apply for this position, let me know if you need a CV :)

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2021-01-18 12:30:56 +02:00
Lukas Puehringer
9ec845cbc1 Adopt CI change in TUF docs
Replace mentions of travis/appveyor with GitHub Actions in
governance (contribution) and readme (badges) documents.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-12-17 10:28:38 +01:00
Lukas Puehringer
2385ebe7b0 Add style guide usage instructions to ADR0005
Similar instructions are in the style guide preamble, but we repeat
it here for emphasis.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-12-04 10:50:36 +01:00
Lukas Puehringer
b5252fed65 ADR0005: Decide on python code style guide
Use Google style guide with refinements, because the Google style
guide is a comprehensive, well-established style guide that is
mostly based on PEP-8 and was accepted by everyone on the TUF team.

There is no need to replicate these recommendations. However, we do
provide a very slim document with additional refinements, in order
to emphasize on items the we consider especially important, want to
be handled differently, or in one specific way, where the Google
guide would allow multiple.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
Co-authored-by: Joshua Lock <jlock@vmware.com>
2020-12-04 10:39:24 +01:00
Lukas Puehringer
229e9df630 ADR0004: Justify extent of OOP in metadata model
Add MADR that justifies why we want to add custom classes for
complex tuf metadata attributes.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-11-30 14:59:56 +01:00
Teodora Sechkova
3370005e7d
ADR003: Add pros and cons of the options
Describe pros of developing TUF 1.0.0 in a subdirectory
of the current implementation against the rest of the options.

Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
2020-11-27 12:26:52 +02:00
Teodora Sechkova
1e24977677
ADR003: describe transition to stand-alone TUF
Describe the steps for transitioning from TUF 1.0.0
in a subdirectory to stand-alone TUF 1.0.0

Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
2020-11-27 12:26:52 +02:00
Teodora Sechkova
3a1ec87d52
ADR0003: where to develop TUF 1.0.0
Document the outcome of #1126 to develop TUF 1.0.0
in a subdirectory of the current TUF implementation.

Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
2020-11-27 12:26:48 +02:00
Joshua Lock
7ff26717a1 Prepare 0.16.0 release
Update docs/CHANGELOG.md and bump version number for a 0.16.0 release

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-11-26 13:15:14 +00:00
Joshua Lock
35177fbe9c ADR0002: document deprecation strategy post 1.0
Per the discussion in #1127 opt to support the old release on a best-effort
basis.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-11-24 15:26:51 +00:00
Lukas Puehringer
d46ebd016e Update Travis CI build badge/docs after migration
Update badge URL in readme after migrating from travis-ci.org to
travis-ci.com, due to brownout on the former.

Migration was performed via Travis Web UI:
https://docs.travis-ci.com/user/migrate/open-source-repository-migration

NOTE: This is a quick fix to speed up Travis builds until we switch
to GitHub Actions (#1195)

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-11-12 10:07:53 +01:00
Lukas Puehringer
ff8819577b Adopt sslib keygen interface encryption changes
secure-systems-lab/securesystemslib#288 changes the key generation
interface functions in such a way that it is clear if a call opens
a blocking prompt, or writes the key unencrypted. To do this two
functions are added per key type:
 - `generate_and_write_*_keypair_with_prompt`
 - `generate_and_write_unencrypted_*_keypair`

The default `generate_and_write_*_keypair` function now only allows
encrypted keys and only using a passed password. This respects the
principle of secure defaults and least surprise.

sslib#288 furthermore adds a protected
`_generate_and_write_*_keypair`, which is not exposed publicly
because it does not encrypt by default, but is more flexible and
thus convenient e.g. to consume all arguments from a key generation
command line tool such as 'repo.py'.

This commit adds the new public functions to the tuf namespace and
adopts their usage accordingly.

NOTE regarding repo.py:
This commit does not fix any problematic password behavior of
'repo.py' like default passwords, etc. (see #881). It only adopts
the sslib#288 changes to maintain the current behvior, plus
removing one glaringly obsolete password prompt.

NOTE regarding key import:
The securesystemslib private key import functions were also changed
to no longer auto-prompt for decryption passwords , TUF, however,
only exposes custom wrappers (see repository_lib) that do
auto-prompt. sslib#288 changes to the prompt texts are nevertheless
propagated to tuf and reflected in this commit.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-11-11 10:27:56 +01:00
Joshua Lock
1b3f580dc9 ADR0001: clarify when/where Python 3.6+ is expected
Provide additional context to clarify where we expect Python 3.6+ to be used
exclusively (new modules) and link to other discussions around the future of
Python 2.7 supporting code.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-27 11:25:42 +00:00
Joshua Lock
71de3f64ef ADR: only use Python 3.6+
Document the decision drop support for EOL Python versions, most notable
Python 2.7

Fixes #1125

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-26 16:26:52 +00:00
Joshua Lock
e3d84391b4 docs/adr: start to keep ADRs in MADR format
In order to make decisions about the code and the design explicit and easier
to reference in future we want to record significant architectural decisions.

This commit introduces docs/adr with a template Architectural Decision Record
and index using the [MADR](https://adr.github.io/madr/) format.

It also adds ADR 0000 to document the decisions to use MADR.

Fixes #1141

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-26 16:26:52 +00:00
Lukas Puehringer
10b9db1e40 Prepare 0.15.0 release (II)
Update docs/CHANGELOG.md to include missing items.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-10-22 15:27:46 +02:00
Joshua Lock
33ac374184 Bump securesystemslib from 0.16.0 to 0.17.0
We just released securesystemslib 0.17.0 and it would be better if tuf did
not pin the prior version.

https://pypi.org/project/securesystemslib/0.17.0/
https://github.com/secure-systems-lab/securesystemslib/releases/tag/v0.17.0

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-21 18:39:25 +01:00
Joshua Lock
8169b00745 Prepare 0.15.0 release
Update docs/CHANGELOG.md and bump version number for a 0.15.0 release

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-21 11:42:21 +01:00
Joshua Lock
f4520317b1
Merge pull request #1163 from joshuagl/joshuagl/nits
Update release process and mark unit tests as executable
2020-10-15 10:38:26 +01:00
Joshua Lock
0db58df8aa Update release docs
* Strongly encourage the reader to use Python 3 for creating release
  artefacts
* Recommend cleaning the tuf directory before creating the release

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-05 11:22:08 +01:00
Martin Vrachev
cce6b7bb59 Add doc for the possible cmd args while testing
This information could be useful for newcomers
to better understand how to debug TUF.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2020-10-01 15:20:59 +03:00
Jussi Kukkonen
1e0a2a3103 docs: Mention how to run individual tests
Fixes #1076.

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2020-09-15 22:34:12 +03:00
Joshua Lock
3e68b3a07e Prepare 0.14.0 release
Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-09-09 11:11:48 +01:00
Joshua Lock
fcc6841247 More consistent formatting in RELEASE.md
Consistently enclose filenames referred to througout the release process in
backticks to ensure they are rendered in the code style.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-09-09 11:07:25 +01:00
Joshua Lock
96c00f319a Add tag pushing to RELEASE.md
Ensure someone following the release process pushes the tag they create
and include a tag message matching the common form, rather than requiring
somebody following the steps to figure out what to enter into their editor

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 15:11:21 +01:00
Joshua Lock
32ba3bbcad Fix CHANGELOG formatting
For some reason the first level 3 heading 'Added' was not rendering
correctly. The level 2 heading for 'Fixed' should be level 3.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 15:10:03 +01:00
Joshua Lock
2dc4651136 docs/CHANGELOG.md: update for v0.13.0
Categorise changes by type, per the recommendations at keepachangelog.com

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 11:47:47 +01:00
Joshua Lock
0714632edc docs/RELEASE.md: link to guidance on changelogs
https://keepachangelog.com provides good advice on curating a changelog

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 09:49:12 +01:00
Joshua Lock
ea958bc568 Prepare 0.13.0 release
Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 09:31:16 +01:00
Joshua Lock
506ae5552d Document release process steps
Write down the expected steps for a maintainer to follow when making a
release of tuf

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 09:31:16 +01:00
Trishank Karthik Kuppusamy
6a7c60485c
Delete ADOPTERS.md
Use a single source of truth on the .io website

Signed-off-by: Trishank Karthik Kuppusamy <trishank.kuppusamy@datadoghq.com>
2020-07-21 12:14:14 -04:00
Jussi Kukkonen
dc78d89f4f Update Tutorial on dependency installation
* Remove reference to deprecated settings
* Mention that the tutorial expects the dependencies and link to
  instructions

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2020-06-23 11:02:31 +03:00
Jussi Kukkonen
179892c1e9 Update Tutorial on cryptographic keys
Lot of changes in 7 lines:
* PyCrypto is no longer an option: remove mention of it
* RSA-PSS wiki page now redirects to a fairly useless stub: replace it
  with the RFC (it's not light reading but better than nothing)
* Mention ECDSA
* Remove mention of json for RSA keys: that does not seem to be true

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2020-06-17 18:01:45 +03:00
Jesús Castro
9badf8a51e
Add python 3 use case
This indication can be found on other documents.

Signed-off-by: Jesús Castro <x51v4n@gmail.com>
2020-06-10 06:30:23 -05:00
Joshua Lock
165cdfb3ee Update MAINTAINERS
Add Joshua's PGP fingerprint

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-05-05 21:30:28 +01:00
Teodora Sechkova
a71b3c2b67
Update TUTORIAL and test_tutorial
Improve the coding style in TUTORIAL in the case
where absolute path to a file is needed to perform file system
access and at the same time is rejected by Targets methods.

Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
2020-04-08 18:58:27 +03:00
Teodora Sechkova
ead737d4b0
Remove get_filepaths_in_directory() from tutorial
Replace the absolute paths returned by get_filepaths_in_directory()
in the tutorial with a hard-coded list of relaive filepaths since
add_target(s) and delegate() methods raise excception on absolute
paths.

Remove an obsolete warning about path pattern's location.

Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
2020-04-08 18:58:26 +03:00
Lukas Puehringer
6f94aa1653 Remove link to outdated client docs in tutorial
Remove link to incomplete and severely outdated
client_setup_and_repository_example.md in client section of
TUTORIAL.md.

Instead we should link (or move the entire client tutorial part) to
tuf/client/README.md, which is more comprehensive and less outdated
than above document (see #808).

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-03-16 10:31:14 +01:00
Joshua Lock
ca953c3335 Update MAINTAINERS
Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-03-11 14:58:51 +00:00
Joshua Lock
8dfee1a106 Update docs/METADATA.md to reflect recent spec change
The specification was updated in PR #40 to remove root.json from
snapshot.json

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-03-11 11:35:37 +00:00
Lukas Puehringer
c490a8daee Quickfix critical tutorial typo
In tutorial code snippet fix a call to repository.mark_dirty that
passes a non-existing bin role name raising:
"tuf.exceptions.UnknownRoleError: Role name does not exist: 90-7"

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-03-06 10:47:52 +01:00
Joshua Lock
eaefbd9fda Add securesystemslib[color] to packages installed in the tutorial
colorama is now an optional dependency for securesystemslib, and so isn't
installed by default. However, the repo script uses colorama and doesn't
handle its absence - add securesystemslib[colors] to ensure colorama is
installed.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-02-18 15:05:13 +00:00
Lukas Puehringer
15d1e933a0 Restructure requirements files
* Use suffixed instead of prefixed sub-requirements files to group
  them alphabetically in the file tree.
* Layer requirements files akin to the in-toto project
  (see in-toto/in-toto#294). The hierarchy is:

  - *requirements.in*
    tuf runtime requirements, including optional requirements
    (pynacl and cyrptography)

  - *requirements-pinned.txt*
    pinned tuf runtime requirements, including optional
    and transitive (1 level deep) requirements and their hashes.

    The file is generated semi-automatically using pip-compile
    and a bash script (see document header), based off of
    requirements.in, combining requirements from all supported
    Python versions.

    This file should be auto-updated, by e.g. dependabot, and be used
    for ci/cd tests, to catch issues with new dependencies.

  - *requirements-test.txt*
    additional test runtime requirements

  - *requirements-tox.txt*
    combines requirements.txt, requirements-test.txt and additional
    test tools (for linting and coverage), i.e. everything that is
    needed in each tox environment to run the tests.

  - *requirements-dev.txt*
    lists tox for local development and testing, and also
    requirements-tox.txt and tuf in editable mode to run
    the test suite or individual tests directly.

  - *requirements.txt*
    requirements-pinned.txt with the hashes of the dependencies
    as reported by pip at the time of creating the file.
    NOTE: this is not used for testing or  dev-install because pip
    doesn't allow mixed (with and without hashes) installations.

    This file should also be auto-updated, by e.g. dependabot.

* Removes an obsolete version constraint on coverage

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-02-06 17:35:51 +01:00
Santiago Torres
bea6496dc2
release: 0.12.2
Signed-off-by: Santiago Torres <santiago@archlinux.org>
2020-01-10 15:43:44 -05:00
Domenico Andreoli
feaf88e33b Fix typo in section "Release Verification"
Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com>
2019-12-20 10:06:44 +01:00
Lukas Puehringer
da26e9adcd doc: Revert accidental space deletion in tutorial
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
7e8b7e5db1 doc: Explicitly mark roles dirty in tutorial
TUF does not reliably mark roles as dirty whose metadata needs
to be re-generated.

Only roles that have changed are marked as dirty, but sometimes
roles metadata needs to be updated, although the role wasn't
changed directly (see #958).

Furthermore, the tutorial assumes at one point that the reader
leaves and re-enter the interpreter session, being forced to reload the
signing keys, roles that later need to be re-written, are marked as
dirty. If the reader does not leave the interpreter, the roles are
not marked as dirty (see #964).

To not confuse the reader with flawed state-keeping, and to never
write an inconsistent repository to disk, the tutorial lets the
reader explicitly mark all roles that need to be re-written as
"dirty".

This can be changed once above issues are fixed.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
fc23496e38 doc: Update "Delegate to Hashed Bins" in tutorial
Explain and show output of delegate_hashed_bins() function call in
tutorial snippet.

Also update the subsequent comment for better continuity.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
5a8dbd42cb doc: Update delegation section in tutorial
- Ask the reader to ignore a misleading warning about the location of
  a delegation path pattern.
  The comment may be removed when fixing the warning in
  theupdateframework/tuf#963.

- Comment out text that has become obsolete when commenting out
  the "Revoke Delegated Role" section (in an earlier commit).

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
lukpueh
9375885389 docs: Fix typos in tutorial code snippet comments
Co-Authored-By: Joshua Lock <jlock@vmware.com>
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
512c62daa3 doc: Update "How to Perform an Update" in tutorial
- Change directory names to what cli tool repo.py expects
- Remove unrelated "tufenv" note
- Mention that `tuf` must be installed

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
bb6a32ae27 doc: Comment out "Consistent Snapshots" snippet
The text above the snippet explains the basic idea of "consistent
snapshots" and how to generate them with `write` and `writeall`.

The commands in the snippet just leave the repo in an inconsistent
state (see comment).

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
ca8e9cc53a doc: Fix repo.dirty_roles() output in tutorial
- Fix expected output
- Update comments
- Add a few additional calls, to help the reader understand the
  repo state
- Also see theupdateframework/tuf#958

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
bd813d86a5 doc: Update delegation-related tutorial sections
In "Targets" section:
- Remove `repository.targets('<delegated rolename>').add_target(...)`
  command, because it is not copy-pastable and delegations
  have not yet been covered at that point.
- Update the "remove targets" snippet to remove the previously added
  "myproject/file4.txt" instead of "file3.txt", because we will add
  "myproject/file4.txt" to the delegated "unclaimed" role in the
  Delegation section.

In "Delegation" section:
- Change "unclaimed" delegation pattern from 'foo*.tgz', for which
  no file exists in the tutorial, to 'myproject/*.txt'.
- Add "myproject/file4.txt" to the delegated unclaimed targets role
- Remove the command that updates the version of the "unclaimed"
  role, because this should not be done manually, and the add_target
  call shows just as well how to access delegated roles.
- Comment out the revoke delgated role section, leaving a TODO note
  for required updates (should be ticketized).

In "Delegate to Hashed Bins":
- Add call to remove target "myproject/file4.txt" from "unclaimed",
  because it is further delgated to hashed bins
- Add dirty_roles() call to show all the newly created bins
- Add mark_dirty() and writeall() calls to create a consistent
  state of the repo

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
45c4f4c08e doc: Update "Dump Metadata and ..." tutorial
The section does not fit in the continuity of the tutorial and
misses commands to make it fully copy-pastable.

This commit marks the section as "Excursion" and updates the
snippets to make the commands fully copy-pastable, using files
created in prior tutorial sections.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
654e8dc3a0 doc: Fix targets file paths in tutorial snippets
- Correctly show that repo.get_filepaths_in_directory() returns
  absolute and not relative paths
- Pass absolute path to repo.targets.add_target() to fix exception
- Also see theupdateframework/tuf#957

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
5616fd206c doc: Fix repo.status() output in tutorial snippet
- Fix expected output
- Update comments
- Also see theupdateframework/tuf#955

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
eed900354a doc: Add "continuing..." line in tutorial snippets
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
b86b4aad5b doc: Remove Python prompt tutorial snippet
Reasons are:

- The prompt says 2.7.3  Sep 26 2013, which makes the tutorial look
  outdated
- There is another section that explains how snippets should be
  executed in a Python interactive interpreter
- The only activity in the snippet is importing tuf functions and
  creating a repo, both of which is done in another snippet below.
  And the here created repo is not re-used
- The tutorial is long enough

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Sebastien Awwad
8e22de5842 Correct remove_target() call in TUTORIAL.md and test_tutorial.py
Target removal is done relative to the root of the targets dir.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-12-16 15:16:24 +01:00
Sebastien Awwad
e24525c94c In repo tutorial, fix consistent snapshots instructions
to include loading the root signing keys and explaining why.

Also update test_tutorial.py

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-12-16 15:16:24 +01:00
Sebastien Awwad
608e377d83 Exclude leading '/' for target fnames in tutorial and its tester
Because leading '/' is no longer allowed in target filenames in
target addition or delegation.

See https://github.com/theupdateframework/tuf/issues/639

While we're at it, remove some other unnecessary '/' characters
in repository creation and loading in the tutorial and tutorial
test.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-12-16 15:16:24 +01:00
Sebastien Awwad
56f14c4342 Remove add_restricted_paths from TUTORIAL.md and test_tutorial.py
add_restricted_paths was renamed to add_path; however, this
function represents a problematic element of TUF that assumes
that roles are have a single delegator and delegatee, and that
one can refer to a role's expected keys without being concerned
about any delegation metadata....

So this is being removed from the tutorial. In time, add_paths
will either be removed or changed (to expect a delegator role
and a delegatee role, not just a delegatee role).

This comment does not do justice to the issue: please see TUF
GitHub Issue #660:
https://github.com/theupdateframework/tuf/issues/660

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-12-16 15:16:24 +01:00
Sebastien Awwad
e2ec3ef158 Remove keystore/ use from TUTORIAL.md and test_tutorial
While it may be nice, the use of a keystore/ directory for the
temporary keys created in the tutorial complicates the code a
good bit when it's done in a portable way (tons of os.path.join()
calls), and that's not worth it. It also is a slight complication
in a tutorial that profits from being as simple as possible.

Tests will be run in multiple environments (including non-Linux
environments) and to leave so many extra subdirectory uses in the
tutorial means that the tutorial test will deviate over a large
number of lines from the TUTORIAL.md content it is intended to
test, which would be bad.

This commit adjusts both the tutorial doc and the regression test
for the tutorial.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-12-16 15:16:24 +01:00
lukpueh
c5dac3136d Revert "Minor tutorial related tweaks made after reviewing PR #775"
- line-wraps are integrated with
190a736d297ef5d8d3c1e8761ac196666954f3a2 in #775
- sorting the value returned by `get_dirty_roles()` in
`dirty_roles()` is not necessary as `get_dirty_roles()` already
returns a sorted list per ac010337f0e154f9c183f8abe759ce26ed16731c
in #775.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-11-29 12:35:28 +01:00
Joshua Lock
282c9aa98b TUTORIAL: minor cleanup
An attempt to make part of the tutorial less jarring, and reformatting
of the surrounding text to keep the lines <80 characters.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2019-11-28 22:01:33 +00:00
Lukas Puehringer
733c2edfe0 CHANGELOG: Add v0.12.1 entry
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-11-14 15:49:10 +01:00
Justin Cappos
f6bd46fc13 Governance clarifications
Signed-off-by: Justin Cappos <justincappos@gmail.com>
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-11-11 15:51:52 +01:00
Justin Cappos
1f2df57ecd
Update docs/GOVERNANCE.md
Signed-off-by: Justin Cappos <justincappos@gmail.com>

Co-Authored-By: Trishank K Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>
2019-11-05 15:32:29 -05:00
Justin Cappos
35b97a1951
Update docs/GOVERNANCE.md
Signed-off-by: Justin Cappos <justincappos@gmail.com>

Co-Authored-By: Lois Anne DeLong <lad278@nyu.edu>
2019-11-05 15:25:36 -05:00
Justin Cappos
01b90c4245
Update docs/GOVERNANCE.md
Signed-off-by: Justin Cappos <justincappos@gmail.com>

Co-Authored-By: Lois Anne DeLong <lad278@nyu.edu>
2019-11-05 15:25:11 -05:00
Justin Cappos
7753af072c
Update docs/GOVERNANCE.md
Signed-off-by: Justin Cappos <justincappos@gmail.com>

Co-Authored-By: Lois Anne DeLong <lad278@nyu.edu>
2019-11-05 15:25:00 -05:00
Justin Cappos
6a13894fb5
CB term information
Signed-off-by: Justin Cappos <justincappos@gmail.com>
2019-11-05 13:28:11 -05:00
Justin Cappos
991b4f3ee3
Merge pull request #947 from theupdateframework/JustinCappos-CB-clarify+DCO
CB clarifications requested by Liz
2019-11-05 10:42:19 -05:00
Trishank K Kuppusamy
f067ff9e3e
Update MAINTAINERS.txt 2019-11-05 09:56:28 -05:00
Trishank K Kuppusamy
ccd8904a1e
Update MAINTAINERS.txt 2019-11-05 09:55:17 -05:00
Justin Cappos
bab230ff32
CB clarifications requested by Liz
Signed-off-by: Justin Cappos <justincappos@gmail.com>
2019-11-05 09:00:35 -05:00
Justin Cappos
3973e79b87
changes recommended by Liz
Signed-off-by: Justin Cappos  <justincappos@gmail.com>
2019-10-30 06:31:33 -04:00
Justin Cappos
2ad18feb27
quorum on CB
Signed-off-by: Justin Cappos <justincappos@gmail.com>
Signed-off-by: Santiago Torres <santiago@nyu.edu>
2019-10-16 11:52:12 -04:00
Lukas Puehringer
3b77a7d320 CHANGELOG: Add 0.12.0 entry
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-10-14 16:47:16 +02:00
Lukas Puehringer
42a4cee56c Add slow retrieval disclaimer
Since https://github.com/theupdateframework/tuf/pull/781 we
only provide limited protection against slow retrieval attacks.
So far this has only been discussed in above issue and hinted at
by a disabled test and a code comment in that test.

This change adds a corresponding disclaimer to a more prominent
place, i.e. the list of attacks in SECURITY.md.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
Co-Authored-By: Trishank K Kuppusamy <33133073+trishankatdatadog@users.noreply.github.com>
2019-10-10 16:43:46 +02:00
lukpueh
f79ee33501
Merge pull request #915 from lukpueh/tox-with-sslib-master
Add sslib master tox build + flesh out test docs
2019-09-18 10:28:05 +02:00
Lukas Puehringer
86257f2729 Add extra installation instruction to contrib doc
Add hint to install `coverage` before using it.

This should be installed via dev-requirements.txt, however it
does not seem to fit in there, because dev-requirements.txt pins
all its dependencies which does not seem to make sense for a
development tool.

Maybe a hierarchy of requirements.txt similar to
06a28987dc
could be established.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-09-18 10:21:53 +02:00
Lukas Puehringer
593490dd7d Add sslib master tox build + flesh out test docs
Add a tox build that runs tests against securesystemslib's tip of
development, i.e. master branch, to ease preparation of tuf for a
new securesystmeslib release.

The tox build is run on travis but is allowed to fail.

This commit also fleshes out the testing section of the
contribution documentation.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-09-16 19:04:16 +02:00
Lukas Puehringer
94d1c51611 Update link to historical tuf-spec.0.9.txt
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-09-16 15:43:39 +02:00
Lukas Puehringer
a799a69494 Update docs/MAINTAINERS.txt
- Remove alumni @vladimir-v-diaz
- Add @SantiagoTorres and Marina (@@mnm678)

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-07-16 12:00:18 +02:00
Sebastien Awwad
56a2928952
DOC: move full install instructions to INSTALLATION.rst
and note that if errors occur while installing the optional
crypto dependencies, that the non-Python dependencies section
should be consulted.

Also adds a git clone step to the development installation
instructions in the contributors' instructions, and other
minor installation notes for contributors.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-04-08 17:13:11 -04:00
Sebastien Awwad
67dd649680
DOC: cover possible environment requirements in QUICKSTART
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-04-08 15:21:52 -04:00
Sebastien Awwad
2af4d3f12e
DOC: simplify installation instructions in QUICKSTART
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-04-08 13:32:43 -04:00
Sebastien Awwad
ed6acd4ef1
minor DOC: label the advanced tutorial as such
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-04-08 11:56:45 -04:00
Sebastien Awwad
1f3e5b6483
DOC: collapse CLI_EXAMPLES.md into CLI.md
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-04-08 11:54:10 -04:00
Sebastien Awwad
5a94d5db3e
minor DOC: fix unfinished sentence, some punctuation
in the QUICKSTARD.md

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-04-08 11:49:25 -04:00
Sebastien Awwad
907186e6a4
DOC: revise quickstart and reorganize tutorials:
- correctly frame the CLI's current state as a tutorial toy.
- provide a friendlier quickstart that puts what it's doing into
  perspective and guides you to next steps.
- provide a better sense of what each tutorial/quickstart doc is
  for.
- make the getting started page slightly more friendly.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-04-05 13:44:07 -04:00
Sebastien Awwad
a4cf9c95c2
Merge pull request #833 from theupdateframework/roadmap_corrections
DOC: Update the outdated ROADMAP.md
2019-03-28 15:29:11 -04:00
Sebastien Awwad
24618a956b
DOC: Clarify repository_tool interface to delegated roles
Add note to make clear what was implicit: that once a delegated role is created,
it can be accessed (for the same purposes as you'd access the Targets role
using `repository.targets`) as: `repository.targets("<delegated rolename>")`.

Also add that specific note to the add_targets section of the tutorial.
2019-03-25 10:47:11 -04:00
Sebastien Awwad
e541d05f08
DOC: Note client dir creation in CLI instructions
Note that the `repo.py --init` call also sets up a client directory.

A student recently ran into some confusion on this point, and it's not properly documented here.
2019-03-11 10:31:24 -04:00
Sebastien Awwad
e97b0b091d
Merge pull request #824 from HavardLine/patch-1
Context to QUICKSTART.md
2019-02-26 12:51:11 -05:00
Sebastien Awwad
4847783001
DOC: Update the outdated ROADMAP.md
- refer to the authoritative sources for the latest releases
- include new packager information
- add tasks for upcoming releases
- generalize release schedule

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-02-26 11:22:47 -05:00
Vu Cong Tuan
0d58fae3a8 Update deprecated links in docs
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-26 08:58:59 +07:00
Vu Cong Tuan
bc50deb865 Fix some typos in docs
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-25 17:00:26 +07:00
Nguyen Quang Huy
4ad02f45ff Add signoff to commit
By the site support certification, so need update http to https url

Signed-off-by: Nguyen Quang Huy <huynq0911@gmail.com>
2019-02-22 09:08:52 +07:00
Nguyen Quang Huy
6a4d222df5 Update deprecated url
Update deprecated url to new url

Signed-off-by: Nguyen Quang Huy <huynq0911@gmail.com>
2019-02-21 16:50:19 +07:00
lukpueh
c3e28e7082
Merge pull request #827 from huynq0911/fix_some_typos
Fix some typos
2019-02-21 09:56:48 +01:00
huynq0911
3772ed3d2d Fix some typos
Correct some words spelling for reading more easily.

Signed-off-by: huynq0911 <huynq0911@gmail.com>
2019-02-21 00:02:24 +07:00
huynq0911
4af9cf5899 Change http to https for security links
For security, we should change http into https links.

Signed-off-by: huynq0911 <huynq0911@gmail.com>
2019-02-20 23:47:26 +07:00
Havard
7cc150af40 Context to QUICKSTART.md
Hi, I did the quick-start today and missed some context. This is my suggestion.

Thanks for a cool framework!
Regards Håvard

Signed-off-by: Håvard B Line <havard.line@gmail.com>
2019-02-17 20:05:38 +01:00
Justin Cappos
7e0c4cc29f
Update ADOPTERS.md 2018-10-16 15:10:06 -04:00
Justin Cappos
5d58ea7a81
Explaining GOVERNANCE structure to better match CNCF graduation ask 2018-10-11 10:50:47 -04:00
Vladimir Diaz
3c04c15150
Remove the notes about the doc being a work in progress in CLI.md and CLI_EXAMPLES.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 17:36:03 -04:00
Vladimir Diaz
dc63c07f42
Update GETTING_STARTED.rst
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 17:30:16 -04:00
Vladimir Diaz
8b42ea07d7
Update CLI_EXAMPLES.md with change to client.py and UnknownTargetError
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 12:56:53 -04:00
Vladimir Diaz
02d9980b10
Minor edits to text in CLI.md and CLI_EXAMPLES.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 12:14:40 -04:00
Vladimir Diaz
6bf8a95a71
Minor edits to relocate text and introduction
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:48:31 -04:00
Vladimir Diaz
3d88d8bde1
Remove obsolete text in the 'Clean' section of CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:31:00 -04:00
Vladimir Diaz
d3c0852495
Outline the steps for the second example
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:30:16 -04:00
Vladimir Diaz
bccba83f96
Add introductory text, rename headings, change title
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:15:11 -04:00
Vladimir Diaz
db7b9bd403
Include steps being follows and revise text in 'Replace a top-level key'
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 13:47:23 -04:00
Vladimir Diaz
58a00d6b8b
Add missing command to create key_x and key_x2
Add blank lines between commands to help readability

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 13:33:19 -04:00
Vladimir Diaz
dceb6bcc9b
Rename the keys and metadata for role X and Y
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 13:22:31 -04:00
Vladimir Diaz
46a624f897
Revise 'clean' section, modify a couple headings, and minor tweaks to text
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 11:21:35 -04:00
Vladimir Diaz
b8bec7be7d
Relocate the --sign section, add line breaks, and minor revision to text
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 10:40:40 -04:00
Vladimir Diaz
473a0b0c12
Add a couple line breaks to help break apart the main text
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 17:21:07 -04:00
Vladimir Diaz
1c3d1ee302
Revise QUICKSTART.md to capture more of what happens in the background
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 17:07:33 -04:00
Vladimir Diaz
1133bb4ce4
Revise instructions in QUICKSTART.md to remove unnecessary info
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 13:26:38 -04:00
Vladimir Diaz
3f82734504
Revise instructions in CLI.md to remove typo and unnecessary info
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 13:25:50 -04:00
Vladimir Diaz
cb4b95137f
Add installation instructions to QUICKSTART.md for required dependencies
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-25 11:53:59 -04:00
Vladimir Diaz
f16784c67f
Add installation instructions to CLI.md for required dependencies
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-25 11:53:29 -04:00
Vladimir Diaz
6ae7eb42ce
Revise text to cover new password behavior of securesystemslib
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 15:02:19 -04:00
Vladimir Diaz
fbc02d3034
Use a working example in the overview section
Some users will actually attempt to execute the example listed in the overview section.  Use a working example that doesn't raise an error.

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 11:19:59 -04:00
Vladimir Diaz
965e121148
Update text covering the client update
* The client script is now named 'client.py' and the user is no longer required to manually copy the basic_client.py to the CWD
* A log file is not saved to the CWD, by default
* The client.py script doesn't download all target files available on the repo.

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 11:07:16 -04:00
Vladimir Diaz
8873b4aca9
Add latest release (v0.11.1) and link to previous releases
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-20 11:04:21 -04:00
Vladimir Diaz
48e0ecca5d
Add entry in CHANGELOG.md for v0.11.1
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-19 17:17:33 -04:00
Sebastien Awwad
c3393db29b
DOC: Typo fix in tutorial
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-06-15 14:33:42 -04:00
Vladimir Diaz
85b4a4f1a8
Check off task for silve badge and add tasks to list
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-13 13:35:38 -04:00
Vladimir Diaz
d7feacbff5
Verify --no_release with --sign, edit comment in repo.py and document change in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-07 11:03:20 -04:00
Vladimir Diaz
81cc8e3fe7
Verify --no_release option and document/revise CLI sections for --delegate and --revoke
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-07 10:39:24 -04:00
Vladimir Diaz
d45ff75efe
Verify --no_release with --remove and document the behavior in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-07 09:33:10 -04:00
Vladimir Diaz
de9eb7f5ac
Document --no_release in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-07 09:20:21 -04:00
Vladimir Diaz
be4e31c969
Update installation instructions to mention extra dependencies
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-04 14:52:05 -04:00
Vladimir Diaz
6031669984
Edit CLI.md to note that Ed25519 keys are generated by default
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-18 15:17:08 -04:00
Vladimir Diaz
b6f6c56006
Fix link to AGL page that mentions Uptane
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-04 13:41:30 -04:00
Vladimir Diaz
78985158b7
Edit ROADMAP.md to add v0.11.0 and a couple tasks that were completed
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-30 15:42:59 -04:00
Vladimir Diaz
bf5030e2ba
Add v0.11.0 entry in CHANGELOG.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-30 15:08:02 -04:00
Vladimir Diaz
3718dff354
Add missing org to AUTHORS.txt
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-12 15:00:44 -04:00
Vladimir Diaz
7d0ccd3ddb
Update AUTHORS.txt
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-12 14:19:05 -04:00
Vladimir Diaz
3d03f30b96
Wrap example of consistent filename in single quotes
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 16:53:32 -04:00
Vladimir Diaz
0525b652da
Link to CLI_EXAMPLES from CLI.md and QUICKSTART.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 16:48:34 -04:00
Vladimir Diaz
a678226691
Replace keystore -> tufkeystore, and /foo -> foo
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 16:45:32 -04:00
Vladimir Diaz
3dbccb56af
List each step in CLI_EXAMPLES on its own line
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 16:07:08 -04:00
Vladimir Diaz
416c0d75cc
Add a more complicated repo example with the CLI
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 15:19:04 -04:00
Vladimir Diaz
c302bf6c36
Add sentence to previous note
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 15:12:33 -04:00
Vladimir Diaz
df008b139e
Add NOTE to CLI.md about naming convention for top-level keys
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 15:09:14 -04:00
Vladimir Diaz
506d8db6cd
Revise/expand text in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-10 14:50:40 -04:00
Vladimir Diaz
53dadea04d
Merge branch 'develop' into repo_client_examples_with_cli 2018-04-09 10:29:05 -04:00
Vladimir Diaz
28e59c5fec
Add CLI_EXAMPLES.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-06 17:24:56 -04:00
Vladimir Diaz
7af4573a3f
Revise QUICKSTART.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-06 17:24:15 -04:00
Justin Cappos
53426da394
Update ADOPTERS.md 2018-04-06 15:22:30 -04:00
Vladimir Diaz
2ca5df896a
Swap two adopters so that the list is in alphabetical order
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-04 14:15:34 -04:00
Vladimir Diaz
00e8db93f1
Add links in ADOPTERS.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-04 14:04:37 -04:00
Vladimir Diaz
3e1352b6bf
Add missing adopters
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-04 10:51:25 -04:00
Vladimir Diaz
378433c60c
Document change to --sign in CLI.md
A blank --sign is no longer allowed

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-02 13:58:27 -04:00
Vladimir Diaz
6920105301
Document change to --consistent_snapshot in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-02 13:57:01 -04:00
Vladimir Diaz
abd51355d9
Document in CLI.md the support for multiple keys with --sign
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-30 17:01:49 -04:00
Vladimir Diaz
50ce58a492
Document in CLI.md the ability to sign top-level roles
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-30 14:53:16 -04:00
Vladimir Diaz
0592df5126
Link to resources that contain our maintainer's PGP keys
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-23 15:55:55 -04:00
Vladimir Diaz
90b99250e9
Document --distrust option in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-23 14:14:03 -04:00
Vladimir Diaz
15f0b72ab3
Document --trust option in CLI.md
Also make slight revisions to rest of text

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-19 17:02:29 -04:00
Vladimir Diaz
e6dcb27efc
Merge pull request #642 from vladimir-v-diaz/cli_add_option_delegated_roles
CLI: Allow --add to work with delegated roles
2018-03-16 10:48:28 -04:00
Vladimir Diaz
37872f7957
Document password changes in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-16 10:34:21 -04:00
Alan J Castonguay
c5dd5531a6
Update TUTORIAL.md
Reinstate link to ATTACKS.md, which demonstrates how the code
protects against the attacks outlined in SECURITY.md.
2018-03-13 12:21:00 -04:00
Alan J Castonguay
09c703d5b6
Update TUTORIAL.md
Correct links to modules and documentation.
Broken links appear to be mostly fallout from moving
documentation into the docs/ directory, as relative paths
to python source modules were broken.
2018-03-11 16:16:04 -04:00
Vladimir Diaz
e61f6f36b9
Edit CLI.md to include text for --remove option
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-08 11:34:18 -05:00
Vladimir Diaz
2d3a419364
Revise CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-05 16:41:02 -05:00
Vladimir Diaz
940a5861f7
Merge pull request #635 from vladimir-v-diaz/use_glob_pattern_example
Use glob pattern example in documentation for delegate() and repo.py --delegate
2018-03-05 15:46:34 -05:00
Vladimir Diaz
461c3e4a6f
Update CLI.md to remove note
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-02 16:15:22 -05:00
Vladimir Diaz
4b1fea27d1
Use glob pattern example in documentation for delegate()
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-01 16:08:35 -05:00
Vladimir Diaz
8a03fc4b30
Document --revoke in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-13 14:33:07 -05:00
Vladimir Diaz
b802801402
Document --delegate in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-09 17:21:05 -05:00
Vladimir Diaz
7c102341ef
Revise text of CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-09 14:13:46 -05:00
Vladimir Diaz
a3841546d0
Link to CLI.md from getting started and readme docs
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-06 17:00:24 -05:00
Vladimir Diaz
63ead6404e
Add text to --key section of CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-06 14:50:07 -05:00
Vladimir Diaz
9ac97cf06f
Document usage of --key in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-06 14:40:16 -05:00
Vladimir Diaz
c3b05a8e05
Document --sign option in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-05 17:20:31 -05:00
Vladimir Diaz
98ffc5b515
Move license files to root directory
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-05 10:27:04 -05:00
Vladimir Diaz
dfa0b343b0
Document '--add </path/to/dir> --recursive' in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-02 15:37:56 -05:00
Vladimir Diaz
59b66b45c0
Document --path command-line option in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-01 15:00:26 -05:00
Vladimir Diaz
19ba692e08
Edit ROADMAP to add pre-release 0.10.2
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-31 18:09:53 -05:00
Vladimir Diaz
9e87b8e33f
Add 0.10.2 changes to CHANGELOG.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-31 17:34:23 -05:00
Vladimir Diaz
d051e2b962
Update TUTORIAL.md following modified behavior to securesystemslib functions
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-31 16:12:18 -05:00
Vladimir Diaz
1b4c276ad0
Add more info to --verbose section of CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-30 16:11:35 -05:00
Vladimir Diaz
877ac2aa15
Add section to CLI.md that covers the --verbose option
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-30 16:01:40 -05:00
Vladimir Diaz
153afb52ee
Fix links to TUTORIAL.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-30 15:47:51 -05:00
Vladimir Diaz
91c6b97ddd
Revise a couple of subtitles in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-30 15:47:23 -05:00
Vladimir Diaz
e876ef6fdb
Revise CLI.md to document --pw behavior
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-30 15:18:52 -05:00
Vladimir Diaz
52dd46a628
Revise CLI.md to list forthcoming options
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-30 13:52:52 -05:00
Vladimir Diaz
b3104f6616
List the --pw argument in CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-30 12:20:59 -05:00